global variables

M

M.N.A.Smadi

hi;
i have a project with multiple files in it. I need to have a varaible
that will contain a value that will be modified in one file, and when
coming back to the same file it should retain the same value. The way
am doing it right now, python is complaining about the variable being
non-global

any clue?

thanks
m.smadi
 
H

Harlin Seritt

You most likely need to construct your script using OOP. Can give you
give an example of code you're using when you get this error? This
helps a lot.

Regards,

Harlin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,222
Messages
2,571,138
Members
47,755
Latest member
Grazynkaa

Latest Threads

Top