What is the most accurate timestamp in Python3?
Associated question: would it make sense to write a little timestamp program in C and invoke it from Python, or perhaps use C++'s std::chrono::high_resolution_clock? Thx, Keith :^)
What is the most accurate timestamp in Python3?
Associated question: would it make sense to write a little timestamp program in C and invoke it from Python, or perhaps use C++'s std::chrono::high_resolution_clock? Thx, Keith :^)
Copyright © 2021 Jogjafile Inc.
python's
datetimepackage has bothdatetimeandtimeclasses, which are accurate to microseconds. A small demonstration:Hope this helps, Happy Coding!