python传文件和编译
0)传文件
python -m SimpleHTTPServer
wget 192.168.1.2:8000/Python-2.7.tgz
wget https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz
1)改代码
vi Objects/intobject.c +442
PyObject* str=PyString_FromString("i am in jch print");
PyObject_Print(str,stdout,0);
printf("t\n");
2)编译运行
./configure --prefix=/tmp;make;make install;/tmp/bin/python -c "print 100"
make install;/tmp/bin/python -c "print 100"