Sharp Tutorial
Technical Python Solution Dictionary

Python

Java

C

C++

HTML/CSS

Java Script

PHP

SQL

C Programs

  • how to install python and set path
  • GUI Calculator in python using tkinter
  • insert delete update select (crud) GUI using tkinter and mysql

FAQ Category

  • Java Script FAQ
  • Python FAQ
  • C/C++ FAQ

Python Based FAQ

Q 1 How to run python programs using command line

Python commands or python programs may be run using command line. If python is installed no need to install other software like pycharm etc.

Following Steps are needed to run python as command line

  1. Install Python (if not installed)
  2. Set the path (if python path is not set) [now you can create python programs on any locations.] 
  3. open python using cmd
  4. run the python command
  5. https://www.python.org/downloads/
 
  1. How to install python(https://www.sharptutorial.com/python-home/install-software/)
  2. How to set python path. 

To set path right click My Computer (This PC) —> properties–>Advanced System Settings

advanced system settings–>Environment Variable

Environment Variable–>path

path—>New  (set Python path where python installed as in following image)–>Ok–>ok

Now go to command prompt path where you want to create python programs                    eg: C:\Users\sharp\Desktop\python programs>                                                              C:\Users\Ad\Desktop\python programs>python    (Your python prompt is ready)  

Now save the python file on above path with extension .py eg test.py                                Run the python File as C:\Users\Ad\Desktop\python programs>python test.py

Enquiry about Course

Ask your Question

Click Here

Sharp (2) Tutorials

Video/ C Introduction

Watch video in full size

Video tutorial

Follow by Email
Facebook
Facebook
fb-share-icon
YouTube
Copyright © Sharp Tutorial
Build with WordPress
Wordpress Social Share Plugin powered by Ultimatelysocial
Sharp Tutorial