Created
October 5, 2022 19:18
-
-
Save SpotlightForBugs/fbdc39a62417eaf09d528e3ba4d62093 to your computer and use it in GitHub Desktop.
Update the requirements.txt file of a python project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this file reads the file csv_tools.py and updates the requirements.txt file with the packages used in the file using the pipreqs module | |
import os | |
os.system("python -m pipreqs.pipreqs "+(os.getcwd())+" --force") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment