📅  最后修改于: 2022-03-11 14:46:57.726000             🧑  作者: Mango
# How To Generate The Requirements Of Your Python Project Based On Your Imports
# Step1: first install one module-->
pip install pipreqs
#Step2: after installing above module. goto project directory
#where every you code and import files existed then run the below command.
pipreqs --force
#step3: after running above command it will generate requirements.txt file
#it having only module which you are imported corrent code only.