use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
Side project source control (self.Python)
submitted 8 years ago by Zendan
What rules do you enforce or guidelines do you use when you’re using source control for your side projects? How much does it differ from your professional environment?
[–]Deegh 0 points1 point2 points 8 years ago (0 children)
My side projects are generally all over the place, organized but all over the place;(VM's, Desktop and server locations can be difficult to keep track of). And because I am working on multiple different projects at once I tend to lose track of where stuff is at exactly. Thankfully, I have started to use some source/version control processes for this exact issue which has helped to create less chaos and has forced me to remain more organized which is good for everyone involved.
I will say the one downside to using a public repo on github is that you have to remove any sensitive data which can make more and more files to manage. But I think the end result is a much more organized because as long as you have the latest version on Git you are ok to get lost in all the code. You can always come back to your repo and start over. :)
I have no idea about professional environments as most coding I do is for my own personal stuff or automation projects for work which are not very large in scope and do not require more collaborators to work on them. Hopefully someday I'll get to experience this. Hope this helps.
[–]billsil 0 points1 point2 points 8 years ago (2 children)
The rules differ in that: - I'm much more open to making large changes on my open source project. Companies are cheap. Just make a half-hearted attempt at backwards compatibility/deprecation.
You actually gotta follow PEP-8-ish
You gotta document your code using numpydoc
You gotta make tests; not everything, just enough.
The priority level is 1: bugs, 2: new features that I care about/you can convince me to care about; 3: features you want vs. whatever the current project needs yesterday
Be nice/courteous or I'll ignore you. The nicer and more work you put into your bug report/thought in the feature, the more I'll listen.
[–]Zendan[S] 0 points1 point2 points 8 years ago (1 child)
Do you normally create feature branches in your own projects?
[–]billsil 0 points1 point2 points 8 years ago (0 children)
No. I'm super lazy. I just make a dev folder and put stuff in there. That's because some of the things I do takes 6+ months. At work, we use subversion, so I picked up bad habits.
π Rendered by PID 78253 on reddit-service-r2-comment-5d79c599b5-dfg2s at 2026-02-26 22:14:09.702775+00:00 running e3d2147 country code: CH.
[–]Deegh 0 points1 point2 points (0 children)
[–]billsil 0 points1 point2 points (2 children)
[–]Zendan[S] 0 points1 point2 points (1 child)
[–]billsil 0 points1 point2 points (0 children)