This repository contains a collection of useful Tutorials and Technical Know-hows for a variety of problems that I encountered along the way with coding. I mostly wrote this to myself, although I would be more than happy if something in this repo could make someone's life easier.
- Setting up a virtual machine on Google-Cloud-Platform (GCP) for Reinforcement Learning (RL) experiments with Python, specifically with the Gym and Atari libraries.
- Creating a requirements.txt file (the equivalent of
pip freeze > requirements.txt
) for a non-virtual-environment python project by parsing the project source code and reading out all the imported packages which are not python standard library packages or not self created packages. The scipt creates the requirements.txt file in the given path. API: run in terminal with the next command
python3 create_requirements_from_src.py <full-path-to-project-source-folder>