: Time : Buildin Module PYTHON TUTORIALS
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PYTHON TUTORIALS
»
Buildin Module
»
Time
»
304.1 .
sleep() method of time module example
Hits: 948
304.2 .
Time Operations
Hits: 965
304.3 .
You can print the time values using the strftime() method.
Hits: 898
304.4 .
Creating a New Time
Hits: 972
304.5 .
Random time
Hits: 948
304.6 .
time.sleep(sec) forces the current process to sleep for the number of seconds specified by the floating-point number secs
Hits: 977
304.7 .
time.clock() returns the current CPU time as a floating-point number that can be used for various timing functions
Hits: 952
304.8 .
time.ctime(secs) returns the time, specified by secs since the UTC, as a formatted, printable string.
Hits: 901
304.9 .
time.localtime(secs) returns the time in the form of (year, month, day, hour, minute, second, day of week, day of year, daylight savings).
Hits: 865
304.10 .
time.time() returns the current system time
Hits: 941
304.11 .
time.asctime
Hits: 1013
PYTHON TUTORIALS
Buildin Module
»
Time
Command line
Signal
Copy
Stat
Datetime
Struct
Environment
Subprocess
Fileinput
Sys
Heapq
Syslog
Inter2
Time
Math
Unit test
Os
Webbrowser
Platform
Win32api
Random
Buildin Function
Buildin Module
CGI Web
Class
Collections
Data Type
Database
Dictionary
File
Function
Introduction
List
Network
Operator
Regular Expressions
Statement
String
Thread
Tkinker
Tuple
Windows
WxPython
XML