# navigate to root folder# install venvpython3-mvenvvenvaddvenvin .gitigoresourcevenv/bin/activatetouchrequirements.txt# add libraries in requiment.txt# For setup as module we need setuptools as package to be added in requirements.txt# install all the required libraries from requirements.txt filepipinstall-rrequirements.txt#touch setup.py add this lines in setup.pyfromsetuptoolsimportsetup, find_packagessetup(
name='python_learning',
version='0.1',
packages=find_packages(),
)
## make sure you have added __init_.py in all the folder which you want as module## make the module for the setup toolspipinstall-e .
#now you can import directly all the module# to run a filepython-mLearning.arrays_dictionaries.string_word_count## pass the module path name