If you mean python 3, then yes…
xxx@xxx:~$ python3 --version
Python 3.2.3
And I got the script from one of your links somewhere, it had a preview form for testing glsl shaders on the web… the link took me to the repo, so i’m relatively sure I have the right version of the script, unless my spidey sense is way off. (Probably)…
Here’s a test of converting … scanline.cg
xxx@xxx:~$ ./cg2glsl.py ./shaders/scanline.cg ./xmlshaders/scanline.glsl
(67) : fatal error C9999: InitHAL failed
Vertex compilation failed ...
Another situation where I have absolutely no idea what’s going on, lol… Thanks again.