Tags: python automating projects python projects python project python project structure python writing a project python beginners project python advanced project python Python
Project-based tutorials to become a BETTER Python developer:
- Python Sports Website - https://www.youtube.com/watch?v=-CT28e2Dl24
- Python Online Bot: - https://www.youtube.com/watch?v=6gxhcvrf2Jk
- Python Marketing Website - https://www.youtube.com/playlist?list=PLOkVupluCIjuPtTkhO6jmA76uQR994Wvi
#Python #PythonProjects #PythonBeginners #PythonProjectsForBeginners
In this video, you will understand where you should locate your code snippets and why. We will do this by developing a minimal project in two different structures.
☕ Buy me a coffee: https://www.buymeacoffee.com/jimsc
Connect with me with:
- Instagram: https://www.instagram.com/jimshapedcoding
- E-mail: jimshapedcoding@gmail.com
- Twitter : https://twitter.com/jimshapedcoding
- Discord : https://discord.com/invite/aMgcPD9
👍 Subscribe for more Python tutorials like this:
https://www.youtube.com/channel/UCU8d7rcShA7MGuDyYH1aWGg?sub_confirmation=1
🔥 Comment below on other topics you want to see tutorials next on my Channel.
-----------------------------------------------
My website:
🔥 http://www.jimshapedcoding.com
🎥 My YouTube Gear 🎥
Camera (Canon EOS 250D) : https://amzn.to/314euVC
Microphone (Rode NT-Mini) : https://amzn.to/3bDqEer
Headphones (JBL LIVE 500BT) : https://amzn.to/3e73MDS
Tripod (Neewer Portable Tripod) : https://amzn.to/2OXleC6
Desklight(AUKEY Cordless Lamp): https://amzn.to/2QaYT4A
Keyboard ( Razer Blackwidow Green Switch ) : https://amzn.to/3bExDnu
Mouse ( Razer LanceHead ) : https://amzn.to/3if0JuV
Lights ( Neewer 2-Pack Dimmable ): https://amzn.to/3oFN1DP
Links I recommend about structuring a project:
https://docs.python-guide.org/writing/structure/
https://realpython.com/python-application-layouts/
https://stackoverflow.com/questions/193161/what-is-the-best-project-structure-for-a-python-application
Link to GitHub of the structures:
https://github.com/jimdevops19/project-structures
Timeline for the video:
00:00 - 15:59 - Structure example for small projects
16:00 - 37:50 - Structure example for larger projects / Packaging with __init__.py
or
Question
This is an excellent video. Very well explained. Thank you!
Great explanation! One question: if i import a class from a module which is in the same folder as the target module (like constants and helpers) why should I still refer to a folder (package) like prime.helpers and can't use helpers directly?
1 isn't prime so ur code has a bug ;)
Thanks for the tutorial btw, you brighted my day when you said that there isn't a clear standard, bcs that gives me freedom to come up with my own preference.
The early suggestions are perfect for getting started, I'll edit when I get to the advanced projects' ones lol.
Edit: quite useful, just still didn't found what im looking for, imports are so messy
Thank you very much for your video ❤
For me as a beginner it was extremely useful as I had already learnt most of what native Python has to offer but I was never sure what the correct or rather said better way to structure a project would be 🤓
Sir, this was INCREDIBLY USEFUL. This deserves more views.
THANK YOU SO MUCH