It should read pyc files, though if you have a nuke 6.1 script which was python 2.5 and nuke 6.2 which uses python 2.6, then the pyc file is not compatible between versions.
-deke On Wed, Apr 13, 2011 at 16:53, Jordan Olson <[email protected]> wrote: > Thanks heaps- > I spoke a bit soon- turns out my issue is actually a .pyc file, nuke > is unable to read compiled python files? > > Cheers, > Jordan > > On Thu, Apr 14, 2011 at 11:46 AM, Nathan Rusch <[email protected]> > wrote: >> Nuke.exe -- "E:/path/to/script/open.py" "special string for python script >> goes here" >> >> -Nathan >> >> -----Original Message----- From: Jordan Olson >> Sent: Wednesday, April 13, 2011 4:20 PM >> To: Nuke Python discussion >> Subject: [Nuke-python] Nuke.exe -t script.py in GUI mode? >> >> Hi fellow TDs? >> I've got a really simple question- there's probably just a simple way >> I've forgotten, >> but if I want nuke to run a script after it finishes loading, but in GUI >> mode? >> >> e.g. nuke.exe -t "E:/path/to/script/open.py" "special string for >> python script goes here" >> >> This runs it in terminal mode. But I want it in GUI? >> Cheers, >> Jordan >> _______________________________________________ >> Nuke-python mailing list >> [email protected] >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> _______________________________________________ >> Nuke-python mailing list >> [email protected] >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> > _______________________________________________ > Nuke-python mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
