Would it be possible to show an example?
E.g.
my_module.py
my_variable = "Hello"
main_script.py
import my_module
my_module.my_variable = "World"
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/7b37dd20-7c21-4ed7-9416-dc204537b415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
hello,
i am calling a module which creates a variable, i dont need to return this variable to the main script once the module is done its job. But does this mean the next time the module is called that variable created before is removed from memory?
thanks,
Sam
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
thanks guys,
Sam
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ef9b0e05-f8dc-40ce-837d-97110667a6a3%40googlegroups.com.