What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-01 03:42:06
github python project
How to install Python package from GitHub? I want to use a new feature of httpie. This feature is in the github repo https://github.com/jkbr/httpie but not in the release on the python package index https://pypi.python.org/pypi/httpie How can I install ... Add solution -
Python 2021-09-30 17:42:04
python bottle install
# install bottle (basic, if path is not set yet) py -m pip install bottle # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install bottle # or pip3 install bottle --upgrade # if "connection error... Add solution -
Python 2021-09-30 13:08:04
macos youtube-dl unable to get local issuer certificate _ssl.c:1131
# If you're using macOS go to # Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) # > double click on "Install Certificates.command" file. :D # If you installed python using homebrew, run the ... Add solution -
Python 2021-09-29 19:45:04
hide password in python
#https://docs.python.org/3/library/base64.html >>> import base64 >>> print(base64.b64encode("password".encode("utf-8"))) cGFzc3dvcmQ= >>> print(base64.b64decode("cGFzc3dvcmQ=").decode("utf-8&... Add solution -
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
Best helpers
Ranking is empty