cover-img

Preparation Using Python

18 December, 2022

4

4

0

Contributors

Installing Python and Editor (VSCode)

  1. Prepare the PC / Laptop, in this tutorial i use Windows 10 for installation process
  2. Download python installation
img
  1. Then we download editor application for edit the python code.
  2. Download VSCode installation
img
  1. Choose your operating system
  2. Now, open the python installation at Download folder in your device
  3. Check install laucher for all users (recommended), this is for python laucher in all users of the device
  4. Check Add Python {Version} to PATH, this is for we can use python from command prompt or terminal
  5. Click Install Now, wait until finish
  6. Then, open the VSCode installation at Download folder in your device
  7. 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
  8. 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
  9. Check Register Code as an editor for supported file types, this is for register VSCode to be default editor for supported file types
  10. Check Add to PATH (required shell restart), this is useful when you use terminal or shell to open VSCode at current directory
  11. Click Next, wait until finish
  12. downloads> code .
  13. This will open VSCode at downloads directory

Setup VSCode for python development

  1. open VSCode, use terminal or open with icon in Dekstop if exist
  2. Go to extension you can click the icon in left panel
img
  1. Search for python
img
  1. Install python extension, i have already install the extension so the install button not appear

First Code

  1. Open VSCode at desired directory using terminal or you can right click at the directory and choose "open with code"
  2. {desired directory}> code . this will open at desired directory
img
  1. Type name of file and give extension .py, ex: "file1.py"
  2. Type in "file1.py" print("Hello Python")
  3. Run the code with Ctrl + F5
Languages
Python

Python

Markdown

Markdown

Text Editor
Neovim

Neovim

python

tutorial

beginner

4

4

0

python

tutorial

beginner

More Articles

Showwcase is a professional tech network with over 0 users from over 150 countries. We assist tech professionals in showcasing their unique skills through dedicated profiles and connect them with top global companies for career opportunities.

© Copyright 2025. Showcase Creators Inc. All rights reserved.