The goals this document is show how install Python and configure Vs Code.
- Python: https://www.python.org/
- Vs Code: https://code.visualstudio.com/
1 - Install Python
2 - Install VSCode
3 - Extensions VSCode Configuration
4 - Malediction of the fisrt Code
1 - Download Python: https://www.python.org/
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!
1 - Download Vs Code: https://code.visualstudio.com/
2 - After download, double click in the executable and very simple.
- Accept terms:
- Select options indicate for arrow:
- Now, click in Next, Next... Wait finish process.
https://code.visualstudio.com/docs/setup/windows
1 - Open VsCode in Menu bar select option: "View" after: Extensions
2 - it will open Extensions optins in left side so, in seach bar select itens:
-
Python (Microsoft) and autoDocstring:VSCode Python Docstring Generator
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.
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":
2 - In the spacecode type: print("Hello World!!")
, After, click execute botton and ckeck below.
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.
https://github.com/WanderBernardo/Python_Fundamentals