This repository is a boilerplate/template for classwork in CSCI 4521.
-
Install Python 3.12 or newer:
- Download and install Python from the official Python website.
- Ensure to check the option to 'Add Python to PATH' during installation. (Don't mess this up, man!)
-
Clone the Repository and Create a Virtual Environment:
-
Skipping the cloning step here; y'all got it.
-
Create a virtual environment:
python -m venv venv
-
-
Activate the Virtual Environment:
-
For Windows:
.\venv\Scripts\activate
-
For Linux/macOS:
source venv/bin/activate
Remember, you'll need to activate the virtual environment each time you open a new terminal session.
-
-
Install Dependencies:
pip install -r requirements.txt
This repository includes three folders you can use as templates for the class:
- Exercises: For in-class exercises.
- Homework: Contains a
.py
files since it assumes assignments won't require a Jupyter Notebook at least for the development part (we might need to convert to notebook to turn in). - Lectures: For provided lecture stuff.
Feel free to reorganize files or add a .ipynb
file to any folder you create as needed.
To start Jupyter Notebook, run:
jupyter notebook
File -> Save and Export Notebook as -> HTML
Then open the HTML file and right click -> Print -> Save as PDF
If you plan to push your code to GitHub, I recommended you fork this repository and then make it private (for obvious reasons).
If you don't care to push anything and plan on saving things locally, cloning the repository should be good enough.
These are recommended for the course and included when installing the dependencies using the steps above.
However, to if you're using VSCode it is beneficial to also get the VSCode extensions for both (simply search the names).
Side note: I also recommend using Prettier (Extension) as the code formatter