Rookie python

When running in a virtualenv don’t forget to source bin/activate Install packages using pip e.g. pip install beautifulsoup4 Create a REQUIREMENTS file using pip freeze and load using pip install -r REQUIREMENTS Creating a module you need __init__.py in the directory in order to import successfully otherwise you’ll get AttributeError: ‘module’ object has no attribute […]