官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 澄江县| 樟树市| 乳山市| 邮箱| 石泉县| 同心县| 彭山县| 西乌珠穆沁旗| 凯里市| 绵竹市| 岢岚县| 镇雄县| 大荔县| 山阴县| 保靖县| 黔东| 喀喇| 鸡西市| 奉贤区| 邯郸市| 遵化市| 陇南市| 越西县| 上犹县| 吉木萨尔县| 临泽县| 泌阳县| 隆化县| 南宁市| 安康市| 中西区| 宁波市| 吉安县| 遂平县| 磐石市| 高唐县| 北流市| 房产| 遂川县| 鹿泉市| 台湾省|