简体   繁体   English

Vpython使用Spyder:如何防止浏览器选项卡打开?

[英]Vpython using Spyder : how to prevent browser tab from opening?

I am using vpython library in spyder. 我在spyder中使用vpython库。 After importing the library when I call simple function like print('x') or carry out any assignment operation and execute the program, immediately a browser tab named localhost and port address opens up and I get the output in console {if I used print function}. 导入库后,当我调用诸如print('x')之类的简单函数或执行任何赋值操作并执行程序后,立即打开名为localhost和端口地址的浏览器选项卡,并在控制台中获得输出{如果我使用print功能}。

I would like to know if there is any option to prevent the tab from opening and is it possible to make the tab open only when it is required. 我想知道是否有阻止选项卡打开的选项,并且仅在需要时才可以打开选项卡。

PS : I am using windows 10, chrome as browser, python 3.5 and spyder 3.1.4. PS:我使用的是Windows 10,Chrome浏览器,python 3.5和spyder 3.1.4。

There is work in progress to prevent the opening of a browser tab when there are no 3D objects or graph to display. 当没有要显示的3D对象或图形时,正在进行一些工作以防止打开浏览器选项卡。 I don't know when this will be released. 我不知道什么时候发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM