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