Subbed. I wish I had found this 3 years ago when I was first getting started. Hopefully someone newer will stumble across your work and find your work helpful.
@the_code_guy5 ай бұрын
Thanks for the kind words, the support and for watching!
@fiedeldooАй бұрын
Great video. I like that you didnt cut out the mistake. This shows that making not everything perfect at the first glance is normal. The inly thing i am missing ist the explanation what the __init__.py is for. You said you would recommend adding an extra file for the function, but why? That would be interesting. Thank you.
@the_code_guyАй бұрын
Glad you like it. The mere presence of __init__.py tells python that the folder is a package. When you import the package any functions in __init__.py will be executed and made avaialble to your code. You may not want to use all thew functionality of a package and so putting them in sub files lets you import just what you need, which is fater. Hope this helps and Thanks for watching!
@Robert2565 ай бұрын
I am one of these new-to-python viewers. Most of this made sense to me. What environment are you programming in? The one I was introduced to doesn't have the autocomplete feature nor the highlighting of similar arguments, etc...
@the_code_guy5 ай бұрын
I am using pycharm Community in these videos. For me Pycharm is by far the best IDE i've ever used. Thanks for watching!
@Robert2565 ай бұрын
Thank you, I will check it out!@@the_code_guy
@MuhanadAbulHusn3 ай бұрын
The way you explained it is really awesome 👌
@the_code_guy3 ай бұрын
Glad you liked it. Thanks for watching!
@souravbarua3991Ай бұрын
Very helpful. Thank you for this.
@the_code_guyАй бұрын
Gald it helped. Thanks for watching!
@guocity3 ай бұрын
How to share package with other python files in OS level?
@the_code_guy3 ай бұрын
You would have to install it as a python external packge into python or your venv . There are several ways to do it. Host your own pip server or do a local pip install. Pycharm makes it prety easy if you just want to do it locally. www.jetbrains.com/help/pycharm/creating-and-running-setup-py.html If you want to install in a new venv pip install -e This is a pretty advanced subject. I can add to my future video list if you would like me to cover. Thanks for watching!
@MuhanadAbulHusn3 ай бұрын
It would be useful indeed. Personally, I upload my packages to Github and clone it from there
@vvkthegreatest4 ай бұрын
Very useful.nthanks
@the_code_guy4 ай бұрын
Glad you found it useful. Thanks for the support!
@somethingdarkinside4 ай бұрын
Your voice sounds familiar, hmmm
@the_code_guy4 ай бұрын
I also make content on a certain action RPG or something else?
@somethingdarkinside4 ай бұрын
@@the_code_guy that might be it.
@the_code_guy4 ай бұрын
Thanks for coming over. Hope you find it useful!
@dab_u718518 күн бұрын
42 😂
@the_code_guy16 күн бұрын
It shows up all over the place. For good reason... It is the answer to life, the universe and everythinhg.