- Learn Programming in Python with Cody Jackson
- Cody Jackson
- 199字
- 2021-06-10 19:06:05
Working with Python
Python can be programmed through an interactive command line (the interpreter), but anything you code won't be saved. Once you close the session it all goes away. To save your program, it's easiest to just type it in a text file and save it (be sure to use the .py extension, that is, foo.py).
To use the interpreter, simply type python at the command prompt (*nix and Mac) or click the Python application icon (Windows and Mac). If you're using Windows and installed the Python .msi file, you should be able to also type python at the command prompt, or find the launch icon in the Start menu.
Though they may look the same, the main difference between the Python interpreter and the system command prompt is that the command prompt is part of the operating system while the interpreter is part of Python. The command prompt can be used for other tasks besides messing with Python; the interpreter can only be used for Python.
- ReSharper Essentials
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- Cocos2d-x游戲開發:手把手教你Lua語言的編程方法
- JavaScript+jQuery開發實戰
- PostgreSQL技術內幕:事務處理深度探索
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優化計算
- The Data Visualization Workshop
- NGINX Cookbook
- Python深度學習原理、算法與案例
- Emgu CV Essentials
- Processing創意編程指南
- Python趣味編程與精彩實例
- Android編程權威指南(第4版)
- Web前端測試與集成:Jasmine/Selenium/Protractor/Jenkins的最佳實踐
- Python Penetration Testing Essentials