在python模块中打开visual studio中的.cc文件

时间:2013-07-30 20:15:49

标签: python

我正在python中为软件编写代码。我想在我的软件中添加一个功能来打开.cc文件并进行编辑。我目前正在使用Ubuntu所以我知道我可以使用

Popen(['gedit', '/home/test/myfile.cc'], PIPE=stdout)
在我的python模块里面打开这个文件。但是如果用户在Window OS上使用我的软件并想在visual studio中打开.cc文件。有什么办法,我们可以在python模块中打开visual studio中的.cc文件。

0 个答案:

没有答案