Sure, you should be able to use raw_input() just like you would in a standard 
Python terminal application.

foo = raw_input('Please type something witty: ')

-Nathan



From: coreydrake 
Sent: Monday, February 13, 2012 4:18 PM
To: [email protected] 
Subject: [Nuke-python] Re: Opening an import file dialog while in terminalmode

Okay, thanks. How about simply accepting input from the user. I'm trying to use 
nuke.getInput("prompt") but when I build it into the python script, the console 
fails. However getInput works fine when I type it manually using nuke -t


--------------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to