Command prompt
How do I program in Python - Command Prompt¶
1. Normal mode (Script Mode)¶
- Add path of Anaconda to system environment variable first
- D:\Anaconda\condabin (purpose: let system recognize conda)
- D:\Anaconda (purpose: set python in Anaconda as default python)
2. Interactive mode (interacting directly with the interpreter)¶
- Open Command Prompt - python
- After the info about the version cursor transform to >>>
- Start writing your code
- Press Enter to get the result