
Preparation Using Python
18 December, 2022
4
4
0
Contributors
Installing Python and Editor (VSCode)
- Prepare the PC / Laptop, in this tutorial i use Windows 10 for installation process
- Download python installation

- Then we download editor application for edit the python code.
- Download VSCode installation

- Choose your operating system
- Now, open the python installation at Download folder in your device
- Check install laucher for all users (recommended), this is for python laucher in all users of the device
- Check Add Python {Version} to PATH, this is for we can use python from command prompt or terminal
- Click Install Now, wait until finish
- Then, open the VSCode installation at Download folder in your device
- Check Add "Open with Code" action in Windows Explorer file context menu, this is for add action when you right click a file that can open with VSCode
- Check Add "Open with Code" action in Windows Explorer directory context menu, this is for add action when you right click a folder that can open with VSCode
- Check Register Code as an editor for supported file types, this is for register VSCode to be default editor for supported file types
- Check Add to PATH (required shell restart), this is useful when you use terminal or shell to open VSCode at current directory
- Click Next, wait until finish
downloads> code .
- This will open VSCode at downloads directory
Setup VSCode for python development
- open VSCode, use terminal or open with icon in Dekstop if exist
- Go to extension you can click the icon in left panel

- Search for python

- Install python extension, i have already install the extension so the install button not appear
First Code
- Open VSCode at desired directory using terminal or you can right click at the directory and choose "open with code"
{desired directory}> code .
this will open at desired directory

- Type name of file and give extension
.py
, ex: "file1.py" - Type in "file1.py"
print("Hello Python")
- Run the code with
Ctrl + F5
Languages
Python
Markdown
Text Editor
Neovim
python
tutorial
beginner