What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-31 01:30:57
python quick tutorial
What is python? python is an easy-to-learn, future-proof programming language. It is particularly characterized by a large community and many libraries. You can download python here: https://www.python.org/downloads/ You can find the most python libar... Add solution -
Python 2022-01-30 23:22:56
what are discord bots
#go to -- https://python.org #Download and install python #go to CMD and install -- pip install discord import discord from discord.ext import commands Token_1 = input("put your bot token here :") Prefix_1 = input("put the prefix for your... Add solution -
Python 2022-01-24 21:35:27
find elements in selenium
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 -
Other 2022-01-22 19:36:19
web scraping print all p and h2 tags
import requests from bs4 import BeautifulSoup url = 'https://www.python.org/' reqs = requests.get(url) soup = BeautifulSoup(reqs.text, 'lxml') print("List of all the h1, h2, h3 :") for heading in soup.find_all(["h1", "h2", &q... Add solution -
Python 2021-11-20 21:49:14
Python Tkinter timer animation
#!/usr/bin/env python3 # Display UTC. # started with https://docs.python.org/3.4/library/tkinter.html#module-tkinter import tkinter as tk import time def current_iso8601(): """Get current date and time in ISO8601""" ... Add solution -
Python 2021-11-18 02:21:12
python 3 download
Step 1: Download Python newest version from https://www.python.org/downloads/ Step 2:Install Python Step 3:Download Pycharm Community free version Step 4:Install and open Pycharm Step 5:Write print("Hello New World") //Hurray you are about ... Add solution -
Shell/Bash 2021-11-16 07:29:14
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org'
sudo pip install --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org --upgrade --proxy=127.0.0.1:3128 jupyterthemes Add solution
Best helpers
Ranking is empty