Python Beginner: How to list nuke.env ? Or startup folder?

Hi everybody-
I’ve been going hard at Nuke and Python for the last week- and I’ve had a couple of problems I can’t seem to solve.

1. – How would you go about listing all of the nuke.env variables? Simply

"print nuke.env()"

or

"for i in nuke.env() print i"

doesn’t work-

and I can’t seem to figure out how to list the contents of some dictionaries in Nuke.

2. – My second question is: where do you place your "init.py" or "menu.py" files for starters?
On my windows XP machine it is in "Documents and settings\<user>\.nuke\ " which is no problem.
However I’ve looked at multiple other machines that are identical- and their .nuke folder doesn’t exist, (except- perhaps C:\.nuke\ which doesn’t work either)
So do customize multiple Nuke workstations- is it possible to find a path within Nuke to that user’s .nuke folder containing init.py and menu.py?

Thanks for your time!

No Responses to “Python Beginner: How to list nuke.env ? Or startup folder?”

Post a Comment