Artificial Intelligence Blogs Posts
cancel
Showing results for 
Search instead for 
Did you mean: 
Trupti81
Explorer
411
Introduction:
 
Python is a general purpose and easy to read high level programming language. Python is used in many areas, including web development, automation, artificial intelligence, and, most importantly, data science it is also skillful at cleaning, transforming, and analyzing data. Python is the frequently used syntax and libraries make it an easy-to-use programming language that is typically used in AI modeling by a programming community when a person gets into the programming world.
 
Installation of Python Environment.
Visual Studio Code Code Editor : its a code editor to write and execute Python code in the most efficient way, you will require one. VS Code is a lightweight, free and popular Python-friendly editor.
 
  1. Install VS code on its official site and update it to the latest version. http://code.visualstudio.com/download
  2. Press Win + R, then type in %AppData, press Enter. This opens a directory in which Python related settings can be.
  3. Click on System Properties Environment Variables Path. Add the following route . Ex C:\Users\<user>\AppData\Local\Programs\Python\Python312\Scripts\ , This makes Python commands, such as python and pip, work in command prompt.
  4. Develop a specific folder on your laptop to which you will save all Python files. In VS Code, open this folder by File Open Folder.
 
Following VS Code extensions are recommended.
  1. GitHub Copilot and GitHub Copilot Chat. : Assists you in writing code at a higher rate through AI suggestions.
    Trupti81_0-1777481471078.png

     

  2. Python & Python Debugger Extension: It gives syntax, debugging features and code execution.
  3. Trupti81_0-1777480694823.png

     

  4. Rainbow CSV Extension: Eases the life of CSV (data) files, color-coding columns.
  5. Trupti81_0-1777481331753.png
  6.  
  7. VSCode PDF Viewer: This will enable you to open PDF files and view them within VS Code.
Trupti81_0-1777481409645.png

 

Git installation
Go to git-scm/download/win and downlod ( Mac)

Trupti81_0-1777481859156.png

 

Check git version 

Trupti81_1-1777481918129.png

Go to Github.com and signup

Trupti81_0-1777482014496.png

Go to account->settings-Developer settings ->generate Pat token

Trupti81_0-1777482143570.png

 

Trupti81_0-1777482294969.pngTrupti81_1-1777482307655.png

Token generated

Trupti81_2-1777482330161.png

Create a new repository

Trupti81_0-1777482429834.png

 

Trupti81_0-1777482601635.png

 

Step to clone the Git repository on local desktop

Execute following common in your terminal  "git clone https://github.com/{GitUsername}/{repository name}"


Trupti81_0-1777484861746.png

Step to Start development in Vscode:

Visual Studio -> Openfolder-> repository folder on desktop 

Trupti81_0-1777485029272.png

Go to repository -> create folder "Python Programs" -> Create your first Python file with extension .py and execute

Trupti81_1-1777485300591.png

 

Enjoy!

 

Summary
 
Python is a dynamic and easy to use programming language which is suited to both beginners and experts.  It needs to be configured by above the steps.