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"

‚Äč

On 11 October 2016 at 09:24, <s...@weacceptyou.com> wrote:

> 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_maya+unsubscr...@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.
>



-- 
*Marcus Ottosson*
konstrukt...@gmail.com

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOA2utVeeoiJukEfZUeqNodPOebhsDFq4M9qTqbK_Mb90A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to