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.
我阅读了提供的文档,但不明白如何使用 shedskin,我对 python 没有经验。我有 python 2.7,我测试它似乎可以在 cmd 中工作,或者如果我只是双击 .py 文件,它会生成 .pyc 文件。我通过单击 run.py 在 shedskin\shedskin-0.9.1\shedskin\tests 中运行测试它会生成一些 .cpp 和 makefile,但我不明白如何在我的 .py 文件上运行它?
mkdir helloworld cd helloworld echo -e "import sys\nprint 'hello '+sys.argv[1]" > helloworld.py python helloworld.py this_is_python shedskin helloworld make ./helloworld this_is_c_plus_plus