Skip to content

exile0627/CS170-Fall2023-hw-coding

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 170 Fall 2023 Coding Notebooks

Coding Jupyter Notebooks for Fall 2023 Iteration of CS 170

Instructions for initial local setup

  1. Install Anaconda following the instructions here.
  2. Open up your terminal.
  3. Create a conda environment (with python 3.8):
conda create -n cs170 python=3.8
  1. Activate the environment:
conda activate cs170
  1. Install pip:
conda install pip
  1. Install jupyter:
conda install jupyter
  1. Clone this repository somewhere in your device:
git clone https://github.com/Berkeley-CS170/cs170-fa23-coding
  1. Once you're done, deactivate the conda environment to return to your default environment:
conda deactivate
  1. Yay you're done with local setup!

Instructions for completing each coding homework

  1. Make sure that you've completed the initial local setup above.
  2. Open up your terminal
  3. cd into your specific coding homework directory, e.g.:
cd <wherever your homework lives>/cs170-fa23-coding/hw01
  1. Activate the cs170 conda environment you created during initial local setup:
conda activate cs170
  1. Install all python package requirements for that homework:
pip install -r requirements.txt

If there isn't a requirements.txt file in the coding homework directory, you can skip this step.

  1. Start up a local jupyter lab server by running
jupyter lab
  1. Navigate to the jupyter lab for the assignment and complete it! Good luck :D
  2. Yay you finished your coding homework for the week! Once you're done, submit your completed .ipynb file to Gradescope, and if you want, deactivate the conda environment to return to your default environment:
conda deactivate

About

CS170 Fall 2023 Coding Notebooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 57.0%
  • Python 43.0%