Project Setup

Setting Paths

Source the enter.sh file in your project’s root directory (let’s say /home/you/project is that directory),

$ source /home/you/project/enter.sh

Create (And Activate) A Virtual Environment For The Project

We create a virtual environment for this course in /home/you/python-course,

$ python -m venv /home/you/python-course

Activate that environment for your work on this project,

$ source /home/you/python-course/bin/activate

Install Requirements

Install the project’s requirements,

(python-course) $ python -m pip install -r /home/you/project/requirements.txt
... roedel ...

Dependencies

cluster_python Python Programming cluster_python_basics Python: The Language Fundamentals cluster_python_advanced Python: More Language Features cluster_python_advanced_oo Object Oriented Programming cluster_python_exercises Exercises cluster_python_exercises_sensors Sensors, And Data Acquisition (Exercise Series) python_basics_python_0130_syntax_etc Syntax etc. python_basics_python_0120_helloworld Hello World python_basics_python_0130_syntax_etc->python_basics_python_0120_helloworld python_basics_python_0110_blahblah Blahblah python_basics_python_0150_datatypes_overview_compound Compound Datatypes python_basics_python_0150_datatypes_overview Datatypes python_basics_python_0150_datatypes_overview_compound->python_basics_python_0150_datatypes_overview python_basics_python_0120_helloworld->python_basics_python_0110_blahblah python_basics_python_0140_variables Variables python_basics_python_0140_variables->python_basics_python_0130_syntax_etc python_basics_python_0150_datatypes_overview->python_basics_python_0140_variables python_advanced_oo_methods Methods python_advanced_oo_classes_and_dicts Classes And Dictionaries python_advanced_oo_methods->python_advanced_oo_classes_and_dicts python_advanced_oo_classes_and_dicts->python_basics_python_0150_datatypes_overview_compound python_exercises_sensors_project_setup Project Setup python_exercises_sensors_sensor_const Exercise: Basic “Sensor” python_exercises_sensors_project_setup->python_exercises_sensors_sensor_const python_exercises_sensors_sensor_const->python_advanced_oo_methods python_exercises_sensors_sensor_const->python_exercises_sensors_project_setup