Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Tech Support

Name: Anonymous 2014-02-26 14:49

I'm trying to build a Python program on hurrdurr Windows 7. I have both 2.7 and 3.3 installed, and I have these in my PATH:
>C:\Python27\;C:\Python27\Scripts\

but I'm still getting this:
>[Error 2] The system cannot find the file specified
>[cmd:  [u'python', u'-u', u'C:\\Users\\user\\Documents\\program\\program.py']]
>[dir:  C:\Users\user\Documents\program]
>[path: C:\Program Files\Java\jdk1.7.0_21\bin;C:\opencv\build\common\tbb\intel64\vc10\;C:\opencv\build\x64\vc10\bin\;C:\Windows/system32;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Java\jdk1.7.0_21\bin;C:\opencv\build\common\tbb\intel64\vc10\;C:\opencv\build\x64\vc10\bin\;C:\Windows/system32;]
>[Finished]

I fucking hate windows for programming, I don't have time to switch my development environment right now though.

Name: Anonymous 2014-02-26 15:43

>>7
Write a python emulator in Ruby, then hardcode the python segments in. Replace the code in the python segment with the code that gets executed by the interpreter. Then compile the result into your custom bytecode the preserves names and types and such. Use a genetic algorithm (with execution speed vs size as the fitness function) to find the absolute (read: relative) smallest version of that code. Finally, decompile the optimized bytecode back into Ruby and refactor it. If your GA wasn't complete shit, the emulator is now completely gone and replaced with a Ruby implementation of the python version that will run at near-native speeds.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List