20-python-projects's Introduction
20-python-projects's People
Forkers
ojaragodwin fzcj linxz2k lenceai advivedi9 maxcodextc flexxxman gendellu darkcrime1 yididiel7 ntsakisimlati matinsveismans themoeedkhan gsiahaan hugomarc5 araguaci capwebsolutions nizarabdulla gitmem2 chan5050 ambriel2016 pgcolin wyh-tch rexsunil1 sunil7634 macmullensantiago ibrahimmalgwi marcin-pawlowski hamdanhussein crustybarnacle fitriribbit anu-bioinfo nojeebdonguru asadbekbro1600 crimsonkarma44 avpxm8 mjc-mia ezeamaka2 yssf132 taltaf913 klapcsik ganeshramcg james-muguro arjuns7 thaenalpha dionisbaez boby900 hvproano armanddev akpad3tsi ifyanyit wanta-zulfikri alonsoemiliano amles0 ayinde4love ifnyz pavanpagarwadekar phancoi-fox liansheng gloryverse jessezeph eelshop1 satyaprakash3636 khurramjaved1141 horrors73 deep9191 marciobarrosbr kajal-0001 acjjava2020 chiranjeevjain naina0812 patricpoba primmuss fanfeilong mahendra9535 nzysoft pranavthoppe https-github-com-nzysoft harunadev nsayara aimldstejas martin4dbest kizinto ritik-890 preston176 pierce188992 mandrecavalcanti amazonv singhsatvik chamalferdy oderofrancis khabeko nesrinebenrefifa vivek549 japho-the-dev stanleysv 0xleahgarcia emmaclive24 jprassolo thinktest20-python-projects's Issues
you have not mentioned proper material
haarcascade_frontalface_default.xml is missing for the python face detector that is among the 20-python projects.
Disappointing
unable to import module email.message, error showing email is not a package
when I am running the code of email.sender file its showing that email.message is not the module and code not working.
from email.message import EmailMessage
ModuleNotFoundError: No module named 'email.message'; 'email' is not a package
Your suggestions will be highly appreciated.
Suggestions
leapyearchecker.py -> https://stackoverflow.com/a/11622584/11986604
random password generator.py -> This line of code can replace string
and you just change the values to use whatever codes you want.
alphabet = list(map(chr, range(33, 123)))
import random
alphabet = list(map(chr, range(33, 123)))
def generate_password():
password_len = int(input("Enter password length:"))
random.shuffle(alphabet)
password = []
for x in range(password_len):
password.append(random.choice(alphabet))
random.shuffle(password)
password = "".join(password)
print(password)
generate_password()
site connectivity checker.py
import urllib.request as urlib
def site_checker(url):
print("Checking connectivity ")
response = None
try:
response = urlib.urlopen(url)
print("Connected to", url, "successfully")
print("The response code was: ", response.getcode())
except Exception as ex:
print(ex)
finally:
if response is not None:
response.close()
input_url = input("Enter the url you wish to check connectivity: ")
site_checker(input_url)
This will make sure to give an error code if one pops up. Also, it's important to close connections when we are done.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.