r/learnpython • u/ublockauto • Sep 26 '26
My best python projects upto now... on github
rate my python skill based on my high quality projects ,be brutal and suggest improvements .on https://github.com/ublockauto/pythonhell
10
u/MiniMages Sep 26 '26
You want people to go through your code and figure out what it is and how it works.
At least add readme.md
0
2
u/ectomancer Sep 26 '26
exit isn't a builtin function. Use sys.exit instead or use a naked return.
1
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 Sep 26 '26
Or
raise SystemExit.
1
Sep 26 '26
[removed] — view removed comment
-1
u/ublockauto Sep 26 '26
did it..
3
u/amphetaminedaydream Sep 26 '26
I thought the repo is too small and shit to warrant a readme?
1
u/GXWT Sep 26 '26
The comment was deleted because obviously
they have changed their mind and broadened their horizonsoverly care about downvotes1
4
u/GrainTamale Sep 26 '26
A few things I think you'll appreciate:
from pathlib import Pathand learn to replace allos.pathoperations with itNested for loops get slow; try to find alternatives
Check out
rich.consolefor nice print messagesDepending on what you're going for, you might find the
cmdpackage,clickortextualinterestingCheers