UCB CS61A solutions: Discussion, Lab, Homework, Project
- Math
- Math 51 (formerly 1A)
- Or pick one of the two:
- Advice
-
- watch textbook relevant chapter before start videos
-
- watch videos before start lab & discussion, homework, project, exam etc.
-
- Methods for runing Locally:
- Open lab/homework folder with cmd, input "python ok --local"
- Runing lab/homework using python CLI
-
Command Line (CMD/Powershell)
- Python CLI (Playground for happy coding)
Double "Enter" to quite current def function block
- Python CLI (Playground for happy coding)
-
Code Editor(Apply for solutions: lab, hw etc.):
- VS Code
FYI
- Basic Command:
- code . # Open current folder
- code [filename].[fileType] # It's will create and open the file in current directory if not exist, while exist will open it in editor directly
- 示例:
- code index.html # Opens (or creates) the file in the current VS Code window.
- code -n script.py # Opens the file in a new window (useful if you have another project open).
- code -r style.css # Forces the file to open in the last active window.
- code file1.js file2.js # Opens/creates multiple files at once.
- code src/utils/helper.js # Creating Files in Subdirectories
- Advanced Command:
- Ctrl + Shift + P # Open Command Palette
- Ctrl + ` # Open Terminal
- VS Code
FYI
-
IDE(Apply for project):
- Pycharm