writing requirements file in python code example Example: how to have requirement file in python for libs pip3 freeze > requirements.txt