What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-27 23:19:02
install flask
# install flask (basic, if path is not set yet) py -m pip install flask # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install flask # if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] cer... Add solution -
Python 2021-09-27 21:38:04
python help
help() # If this is your first time using Python, you should definitely check out # the tutorial on the Internet at https://docs.python.org/3.8/tutorial/. # Enter the name of any module, keyword, or topic to get help on writing # Python programs and usin... Add solution -
Python 2021-09-25 02:22:03
selenium webdriver python
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-09-20 16:03:05
python unbound variable
>>> foo = None >>> def bar(): ... global foo ... if False: ... foo = 'spam' ... print foo ... >>> bar() None # Python needs to know in the beginning of the function if you plan on using the local or the # g... Add solution -
Python 2021-09-19 07:39:03
unicode() python 3
# https://docs.python.org/3/howto/unicode.html # Be sure to add U+ before the code # 0061 - LATIN SMALL LETTER A # 0062 - LATIN SMALL LETTER B # 0063 - LATIN SMALL LETTER B # 007B LEFT CURLY BRACKET # 2167 ROMAN NUMERAL EIGHT # 2168 ROMAN NUMERAL NINE ... Add solution