How execute at least two python files at once when imported?

Spencer Du spencerdu at hotmail.co.uk
Wed Nov 6 04:51:25 EST 2019


On Tuesday, 5 November 2019 19:44:46 UTC+1, Rhodri James  wrote:
> On 05/11/2019 18:33, Spencer Du wrote:
> > I want to execute at least two python files at once when imported but
> > I dont know how to do this. Currently I can only import each file one
> > after another but what i want is each file to be imported at the same
> > time.
> 
> That is a very odd requirement.  Why would you want to do this?  What 
> exactly does "at the same time" mean here?
> 
> -- 
> Rhodri James *-* Kynesim Ltd

These are modules/files which are independent of each other and have no dependencies with one another. Because of this I want to run modules all at once.


More information about the Python-list mailing list