import res = "17:16:49 up 3:29, 3 users, load average: 0.00, 0.02, 0.05"print(re.split(r"[ ,]+", s)[2])
Standard input is empty
3:29
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!