In this video I am going to show How to Create, Save, Run a Python .py file. This video will also give the answer to the question which is , How do I run a Python program on a terminal or without any IDE/ Editor?.
We an write Python scripts in text files with the suffix .py. First you need to save python codes in hello.py file? The scripts can be read by the interpreter in several ways:
Examples:
you can directly double click on you .py (e.g. hello.py) file and it will open in the terminal.
$ python hello.py
# This will simply execute the script and return to the terminal afterwards
$ python -i hello.py
# The -i flag keeps the interpreter open after the script is finished running
$ python
execfile(‘hello.py’)
#PythonTutorialforBeginners #ProgrammingKnowledge #LearnPython #PythonCourse
——————-Online Courses to learn—————————-
Blockchain Course – http://bit.ly/2Mmzcv0
Big Data Hadoop Course – http://bit.ly/2MV97PL
Java – https://bit.ly/2H6wqXk
C++ – https://bit.ly/2q8VWl1
AngularJS – https://bit.ly/2qebsLu
Python – https://bit.ly/2Eq0VSt
C- https://bit.ly/2HfZ6L8
Android – https://bit.ly/2qaRSAS
Linux – https://bit.ly/2IwOuqz
AWS Certified Solutions Architect – https://bit.ly/2JrGoAF
Modern React with Redux – https://bit.ly/2H6wDtA
MySQL – https://bit.ly/2qcF63Z
———————-Follow———————————————
My Website – http://www.codebind.com
My Blog – https://goo.gl/Nd2pFn
My Facebook Page – https://goo.gl/eLp2cQ
Google+ – https://goo.gl/lvC5FX
Twitter – https://twitter.com/ProgrammingKnow
Pinterest – https://goo.gl/kCInUp
Text Case Converter – https://goo.gl/pVpcwL
————————-Stuff I use to make videos ——————-
Stuff I use to make videos
Windows notebook – http://amzn.to/2zcXPyF
Apple MacBook Pro – http://amzn.to/2BTJBZ7
Ubuntu notebook – https://amzn.to/2GE4giY
Desktop – http://amzn.to/2zct252
Microphone – http://amzn.to/2zcYbW1
notebook mouse – http://amzn.to/2BVs4Q3
——————Facebook Links —————————————-
http://fb.me/ProgrammingKnowledgeLearning/
http://fb.me/AndroidTutorialsForBeginners
http://fb.me/Programmingknowledge
http://fb.me/CppProgrammingLanguage
http://fb.me/JavaTutorialsAndCode
http://fb.me/SQLiteTutorial
http://fb.me/UbuntuLinuxTutorials
http://fb.me/EasyOnlineConverter