What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-14 18:34:13
how should i learn python
===== Links for reading ==== #Tutorial https://www.w3schools.com/python/ https://www.codeavengers.com/ https://www.learnpython.org/ https://www.python.org/ https://www.programiz.com/ https://docs.python.org/3/tutorial/ https://codescracker.com/python/in... Add solution -
Other 2021-11-14 10:51:09
Give at least three examples that show different features of string slices. Describe the feature illustrated by each example. Invent your own examples. Do not copy them for the textbook or any other source.
print('Example 1: Substrings and every i-th character') string = 'Describe the feature illustrated by each example.' strA = string[0:9] strB = string[9::2] strC = string[10::2] listD = [x + y for x, y in zip(strB, strC)] string2 = strA + ''.join(lis... Add solution -
Python 2021-11-12 11:25:16
python falcon
# install falcon (basic, if path is not set yet) py -m pip install falcon # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install falcon # or pip3 install falcon --upgrade # if "connection error... Add solution -
Python 2021-11-11 12:40:30
python hug
# install hug (basic, if path is not set yet) py -m pip install hug # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install hug # or pip3 install hug --upgrade # if "connection error: [SSL: CERT... Add solution -
Java 2021-11-09 18:28:18
selenium java
from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() driver.get("http://www.python.org") assert "Python" in driver.title elem = driver.find_element_by_name("q") elem.cle... Add solution -
Python 2021-11-08 05:42:20
python falcon install
# install falcon (basic, if path is not set yet) py -m pip install falcon # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install falcon # or pip3 install falcon --upgrade # if "connection error... Add solution -
Python 2021-11-05 21:00:24
panda python
# install pandas (basic, if path is not set yet) py -m pip install pandas # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install pandas # if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] ... Add solution -
Python 2021-11-05 10:21:04
open a web page using selenium python
from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome('./chromedriver') driver.get("https://www.python.org") print(driver.title) search_bar = driver.find_element_by_name("q") search_b... Add solution