What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-27 14:55:31
python install 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 -
Python 2022-03-23 01:35:08
install python windows powershell
You could download the setup you want to install and then install it automatically without using the setup's UI: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest -Uri "https://www.python.org/ftp/pyth... Add solution -
Python 2022-03-09 14:45:13
selenium finding elements
from selenium import webdriver chrome_driver_path = 'C:\Development\chromedriver.exe' driver = webdriver.Chrome(executable_path=chrome_driver_path) driver.get('https://www.python.org') name = driver.find_element_by_name('q') print(name.get_attribute('p... Add solution -
Python 2022-02-28 10:35:11
python tornado install
# install tornado (basic, if path is not set yet) py -m pip install tornado # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install tornado # or pip3 install tornado --upgrade # if "connection e... Add solution -
Python 2022-02-11 16:40:07
sudo apt-get install python3.5
UPDATE Thanks to Don Kirkby who highlight that there is a new recommended PPA. The updated one is ppa:deadsnakes/ppa, so the complete command is the following: sudo add-apt-repository ppa:deadsnakes/ppa If you are using Ubuntu, you can install it adding... Add solution -
Python 2022-01-31 23:55:06
open chrome with python stack overflow
import webbrowser url = 'http://docs.python.org/' # MacOS chrome_path = 'open -a /Applications/Google\ Chrome.app %s' # Windows # chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s' # Linux # chrome_path = '/usr/bin/google-c... Add solution -
Shell/Bash 2022-01-31 23:20:49
github pypi workflow
I had a fair amount of trouble trying to figure this out. Here's a link to the tutorial which helped me figure this out: https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ When following tha... Add solution