Wednesday 27 November 2013

How to make Clock in Python 3.3.2

Hello Guys!! Today i will show you how to make Clock in Python 3.3.2 using classes.
So let's Begin:

1.The following is the screenshot of Class Time which shows the Modules and Data Members used in the program.



2.The following is the screenshot of Method of Class Time which is commented Line by Line for easy Understanding! The second last line is made as a comment by me(because it is only valid in COMMAND PROMPT, which is used to clear the output screen.).It should only be removed as a comment if you are running the program in Command Promt(not IDLE).



3. Following ScreenShot is the Main Program where Class is imported and Used.


Hope You Enjoyed the program!! New Ideas from the Readers are welcomed!!

No comments:

Post a Comment