在Canopy中同时运行脚本 [英] Run scripts simultaniously in Canopy

查看:125
本文介绍了在Canopy中同时运行脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是对这是一个已有4年历史的问题的更新请求了.

This is an update request on this 4 year old question.

我已经使用Canopy多年了,但缺点是我无法在另一个项目运行时调试其他项目.我经常运行大约一个小时的代码,因此能够在运行另一个项目的同时运行一个项目是理想的选择.简而言之,我想使用与IDE集成的多个内核.也许多达我拥有四个核心的三个.

I have been using Canopy for many years but one draw back is that I can't debug a different project while another is running. I often run code that takes about an hour so it would be ideal to be able to run one project while working on another. In short, I would like to use multiple kernels integrated with the IDE. Perhaps as many as three as I have four cores.

Canopy是我的默认设置,是Windows计算机上的唯一python.我正在使用Canopy 2.1.3和python 3.5

Canopy is my default an only python on my windows machine. I am using Canopy 2.1.3 with python 3.5

推荐答案

用例很明确,但尚未实现,尽管越来越接近. (Canopy 2.1可以在多个不同的环境中使用,但不能同时使用.)我确实希望在2018年可以使用多个同时运行的内核.同时,解决方法与以前相同-在Canopy GUI中开发和测试您的代码,但可以使用qtconsole或ipython或plain python在Canopy命令提示符中长时间运行生产.

The use-case is clear, but is not yet implemented, though it is getting closer. (Canopy 2.1 can work with multiple different environments, but not yet simultaneously.) I do expect multiple simultaneous running kernels to be available in 2018. Meanwhile, the workaround is the same as before -- develop and test your code in the Canopy GUI, but run your long production runs in Canopy Command Prompts using qtconsole or ipython or plain python.

Canopy的当前版本为2.1.6

The current version of Canopy is 2.1.6

FWIW:作为一项功能请求,我不确定这是否真的是一个SO问题.

FWIW: as a feature request, I'm not sure that this is really an SO-question.

这篇关于在Canopy中同时运行脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆