-
Categories
- 3D Printing (4)
- Programming (44)
- C# (18)
- Command Scripts (2)
- Digital Image Processing (9)
- Halcon (1)
- Inno (8)
- Natural Language Processing (1)
- Oracle (1)
- PHP (4)
- Python (2)
- Projects (8)
- CNC Mill (4)
- PiWars2017 (4)
- Uncategorized (4)
-
Archives
-
Tagcloud
c++ cnc colour contours coutours create cvDrawContours cvFindContours cvFloodFill cvSplit dominant point edge flood fill generate image processing image progessing Inno insert Installer iterate folders linux m3u playlist machine vision marlin marlinfw milling networking open cv opencv operating system oracle piwars piwars2017 pixel python raspberry pi rgb robot sql threshold to_date Version Number wifi windows command script wlan0 -
Meta
Archive for the Category: Python
Convert time in seconds to HH:MM:SS
## Convert time in seconds to hours:minutes:seconds # @param sec Time in seconds # @return The time in hh:mm:ss format def SecToTime(Sec): H = int(Sec / 3600) M = int(Sec / 60 – H * 60) S = int(Sec – (H * 3600 + M * 60)) if len(str(H)) == 1: time = “0” + […]