These exersice files are to be used in conjuction with the course "Python for Javascript Developers" on LinkedIn Learning
- Visit python.org and download Python for your operating system.
- Visit nodejs.org and download NodeJS for your operating system.
- Create a virtual environmet with the following command:
python3 -m venv venv
- Activate the vertual environment:
- Linux and Mac
source venv/bin/activate
- Windows
venv\Scripts\activate
⚠️ If you encounter an error using Windows PowerShell, try opening another shell with the "Run as Administrator" option. - Install the required packages
pip install -r requirements.txt
-
Navigate to the course directory
-
Activate the vertual environment:
- Linux and Mac
source venv/bin/activate
- Windows
venv\Scripts\activate
⚠️ Make sure that you have set up your environment according to the instructions above
- Javascript
node CH_02_01.js
- Python
python CH_02_01.py