- Hands-On Data Science and Python Machine Learning
- Frank Kane
- 105字
- 2021-07-15 17:15:05
Running Python scripts in command prompt
I can actually run the script in a command prompt. If I go to Tools, I can go to Canopy Command Prompt, and that will open up a command window that has all the necessary environment variables already in place for running Python. I can just type python test.py and run the script, and out comes my result:

So in the real world, you'd probably do something like that. It might be on a Crontab or something like that, who knows? But running a real script in production is just that simple. You can now close the command prompt.
推薦閱讀
- Instant Testing with CasperJS
- Java EE 6 企業(yè)級應(yīng)用開發(fā)教程
- MySQL 8從入門到精通(視頻教學(xué)版)
- PostgreSQL for Data Architects
- Android Studio Essentials
- Python Geospatial Development(Second Edition)
- 網(wǎng)絡(luò)爬蟲原理與實(shí)踐:基于C#語言
- 網(wǎng)站構(gòu)建技術(shù)
- SQL經(jīng)典實(shí)例(第2版)
- C語言程序設(shè)計(jì)上機(jī)指導(dǎo)與習(xí)題解答(第2版)
- 低代碼平臺開發(fā)實(shí)踐:基于React
- C++寶典
- Mockito Essentials
- HTML5移動前端開發(fā)基礎(chǔ)與實(shí)戰(zhàn)(微課版)
- C++17 By Example