or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
CS200 VSCode and Python Setup Guide
Installing VSCode
In this class, we will be using Visual Studio Code (VSCode) as our primary code editing app for Python. Please follow the instructions on this official website for how to set up the software on your computer. Next, we will set up the IDE (Integrated Development Environment, i.e. code editing app) for our purposes.
Post questions on EdStem (you can post publicly regarding the setup questions) if you have any troubles or questions setting up the software! We’re happy to help.
You may use a different IDE if you wish, but note that our staff will only support / help with VSCode.
Downloading Python
This course will be using Python version 3.7.x-3.9.x (inclusive). You can check which version of Python you have installed by running
python3 --version
in your terminal / command prompt. If you do not have Python 3 installed, you can follow the instructions on this website to download the correct version for your device (please do not install versions outside of those specified previously as they will not work with the stencil code provided).If you need to change the default version of Python on VSCode please follow the following steps:
Above: Please select a Python version between 3.7.x-3.9.x (inclusive)
Download the VSCode Python Extension
In addition to downloading the software, please download the Python extension on VSCode as well. Follow the steps below to download the extension:
Once you have that extension installed, you should be set to code in VSCode! When writing in Python, remember to have your file end in .py (
example.py
).Please let us know if you find any mistakes, inconsistencies, or confusing language in this or any other CS200 document by filling out the anonymous feedback form! (you do have to sign in but we don't see it)