extract requirements.txt python code example Example: how to get requirements .txt pip freeze > requirements.txt