Could anyone:
write a very short example of a Python package created in PyCharm (under Windows)
then import it into a script/module
and finally run it from PyCharm Terminal?
Could anyone:
write a very short example of a Python package created in PyCharm (under Windows)
then import it into a script/module
and finally run it from PyCharm Terminal?
pycharm imports module from the root folder (e.g. src/module) with folders being seperated by dots import src.module
pycharm will run any code by selecting the file and doing ctrl
+ shift
+ f10
modules in python are folders with a __init__.py
which imports all methods/classes/variable into them