我读过我提供的document,但不明白如何使用shedskin,我没有使用python的经验。我有Python2.7,我测试它似乎在命令中工作,或者如果我只是双击.py文件,它会产生.pyc文件。我在shedskin\shedskin-0.9.1\shedskin\tests中运行测试,单击run.py它会生成一些.cpp和makefile,但是我不能理解如何在我的.py文件上运行它?
发布于 2013-03-27 07:08:51
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_plushttps://stackoverflow.com/questions/10346919
复制相似问题