Python Basics8(Threading)

import threading.*;
class Thread1(threading.thread) :
 def run(self) :
   for i in range(10) :
    print("thread1"+str(i));
    time.sleep(2);
t1=Thread1();
t1.start();

Comments

Popular posts from this blog

Swayamvar Program In Python

VALDATION IN JAVASCRIPT