简体   繁体   中英

how do i give commands in python terminal

I have opened anaconda prompt in python terminal using,

os.system('cmd /k C:\\Users\\schet\\anaconda3\\Scripts\\activate.bat C:\\Users\\schet\\anaconda3 ')

which opens this in the terminal

(base) (venv) C:\Users\schet\PycharmProjects\pythonProject1\venv>

how do I give command input into the terminal?

If I understood your question correctly, then now that you can see the Anaconda prompt, you just need to type the word Python and you'll be ready to type in and execute Python commands.

Source: https://docs.anaconda.com/anaconda/user-guide/getting-started/#start-python

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM