Skip to content

WanderBernardo/Python_InstallVsCodeConfiguration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Python: Install and Configuration VsCode

The goals this document is show how install Python and configure Vs Code.

Tools used

Documents

Resume:

1 - Install Python

2 - Install VSCode

3 - Extensions VSCode Configuration

4 - Malediction of the fisrt Code

Install Ptyhon

1 - Download Python: https://www.python.org/

image

2 - After download, double click in the executable and very simple.

  • Select options first: "Use admin privileges when installing py.exe" and "Add python.exe to PATH". After: Install Now. Wait finish install!

image

Install VsCode

1 - Download Vs Code: https://code.visualstudio.com/

image

2 - After download, double click in the executable and very simple.

  • Accept terms:

image

  • Select options indicate for arrow:

image

  • Now, click in Next, Next... Wait finish process.

https://code.visualstudio.com/docs/setup/windows

Configuration VsCode to execute Python

1 - Open VsCode in Menu bar select option: "View" after: Extensions

image

2 - it will open Extensions optins in left side so, in seach bar select itens:

  • Python (Microsoft) and autoDocstring:VSCode Python Docstring Generator

    image

    autoDocstring:VSCode Python Docstring Generator: is a library that helps automate the creation of docstrings in Python. Basically, it automatically generates these descriptions for you, based on the signature of your functions or methods. This means that, instead of wasting time trying to remember all the details, autoDocstring does it quickly and efficiently.

  • IntelliCode - Pay attention, because it has others options with same icon. Need install version "Visual Studio IntelliCode"

    It is an extension that uses artificial intelligence and the context of your code to create, and offers autocompletes referring to the code you are writing and accelerating the development of your project.

    image

Malediction of fisrt Code

There is a legend you need to make first code, independent of programming language with print ("Hello World!")

If your first code it's not it. You will be accursed and you don't go to learn programmation language. In the case, PYTHON!

So, Let's start.

1 - Open "New Files":

image

2 - In the spacecode type: print("Hello World!!"), After, click execute botton and ckeck below.

image

When create file "Python", remember It save with extension .py. Example filename: "FirstCode.py". And it needs to be saving before step 02. Like this, VSCode knows that programming language.

Next Step:

https://github.com/WanderBernardo/Python_Fundamentals

About

The goals this document is show how install Python and configure Vs Code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages