Jump to content
Sign in to follow this  

Pass variables from a .py script to Python code

Recommended Posts

In Houdini, I have one node with a button that runs a lengthy Python script (a .py file on disk). I have another Python node with Python code inside it. This Python code needs to use 2 Python lists created by the .py script on disk. I could use a text file to write and pass these lists, but I was wondering if there's a better way to "save" and pass variables within the hou environment itself.

Edited by guache

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this