Hi. I just want 1-2-3 instances pop up in new terminal windows when i run this code.
Each folder would be watched in different terminals started at the very moment.
Now it's done by thee different scipts started one after each. Id like the editing in one place, and have the ability to configure the refresh time on each folder like this at the end of the script:
I think threading would be nice to do this, since I would like to start the daemon on each folder a exactly the same time.
Each folder would be watched in different terminals started at the very moment.
Now it's done by thee different scipts started one after each. Id like the editing in one place, and have the ability to configure the refresh time on each folder like this at the end of the script:
sc1 = Sc('first') sc1.checkfornewwav(r'C:\testing\sc1', 10) sc2 = Sc('second') sc2.checkfornewwav(r'C:\testing\sc2', 12) sc3 = Sc('third') sc3.checkfornewwav(r'C:\testing\sc3', 15)The first parameter is the folder to be watched, the second is the refresh time.
I think threading would be nice to do this, since I would like to start the daemon on each folder a exactly the same time.