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.
如果语句在 python 函数中,那么Pythonprint将在哪里print从嵌入式 Python 配置中的 C\C++ 调用?
print
在 python 中,即使在嵌入式应用程序中,该print语句也会写入(这是标准输出),您应该在启动应用程序的控制台中看到您的打印。sys.stdout
sys.stdout