How to Open Python Command Line in Python


In this example, we will learn how to open the command line in Python.

Source Code

C:UsersYour Name>python

Output:

C:Usersuser>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Advertisement