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.
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.
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!
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...
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!
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.
Thanks for the kind words, the support and for watching!
Very helpful. Thank you for this.
Gald it helped. Thanks for watching!
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.
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!
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...
I am using pycharm Community in these videos. For me Pycharm is by far the best IDE i've ever used. Thanks for watching!
Thank you, I will check it out!@@the_code_guy
The way you explained it is really awesome 👌
Glad you liked it. Thanks for watching!
How to share package with other python files in OS level?
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!
It would be useful indeed. Personally, I upload my packages to Github and clone it from there
Very useful.nthanks
Glad you found it useful. Thanks for the support!
Your voice sounds familiar, hmmm
I also make content on a certain action RPG or something else?
@@the_code_guy that might be it.
Thanks for coming over. Hope you find it useful!
42 😂
It shows up all over the place. For good reason... It is the answer to life, the universe and everythinhg.