hi.
i am writing a program in python and i need two things will be processed simultaneously but
because i have a lot of global variables i can n't do it with parallel python library.
i tried multiprocessing and Multithread too but nothing find yet.
can someone suggest me a good library that i can do parallel processing in it with my global variables.
thanks

Use a class and instance variables. You can call separate functions within the class using multiprocessing and they will all have access to the instance variables.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.