Setting Up Python with Anaconda and Running a First Program
Summary
This introductory lesson explains how to install and use Python through Anaconda. It describes Anaconda’s package and environment management features, including creating separate environments so projects can use different Python versions and dependencies. It also notes that adding Anaconda to the system path can change which Python installation runs by default, and that a base environment is created during setup.
The lesson then demonstrates checking the installation through Python’s interactive prompt, entering a simple print command, and saving a short script in a Python file for execution from the command line. A final exercise asks the reader to print a Chinese phrase. The material is an elementary setup guide rather than a trading or quantitative research method; it gives procedural examples but no discussion of analysis, testing, or strategy design.
Key ideas
- Anaconda can manage packages and isolate project environments with different Python versions.
- Adding Anaconda to the system path can make its Python installation the default.
- Python can be explored interactively through its command prompt.
- A script saved in a Python file can be run from the command line.
Tags
From a private course collection; the original is not published.