Tuesday, 12 June 2018

Python P2 Python Command line + exit Command


Python  P2   Python Command line + exit Command

Exit Syntax 
   exit Use to Stop Python Program

 exit()
 means When You use Command Line Python At that time use exit() from Command.

How to Start Command line Python :

  1. Open terminal / CMD
  2. type python
  3.  your Command Line Python Open :)

Now type any python on it

look like ......

$python
python>> [Your Command Here]


example :

$ python  
python>> print("hello MAC+tech")
hello MAC+tech
 python>>



1 comment:

  1. Nevertheless this is besides that an incredible share that marilyn and i certainly appreciated checking. It certainly is not day to day that i maintain the prospect to decide 1. Animated Logo Design

    ReplyDelete

Thank You!!!

create and activate a Python virtual environment on macOS and Windows

create and activate a Python virtual environment on macOS and Windows: Prerequisites: Python 3: Ensure you have Python 3 installed. You ca...