Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 ac# (win form) Visual Studio 项目,我现在在 Linux 上使用 mono 进行编译,并且我有一个 c++ 应用程序。我想在这两个应用程序之间传输一些数据,我有什么选择?
有几种方法可以做到这一点。他们之中有一些是:
取决于您需要什么,数据有多大,交换信息的频率等。
最有可能的是,您将使用套接字连接。
基本上,您需要的是IPC(进程间通信)。阅读更多关于它的信息,例如,在这里
操作系统:Windows 7;使用 Python GUI Shell 的 Python 2.7.3
我正在尝试通过 Python 阅读网站,并且有几位作者使用urllib和urllib2库。要将站点存储在变量中,我看到了一种类似的方法:
urllib
urllib2