Is there a way, within the context of a Python interpreter, to set the clock (i.e. to synchronize it with the time provided by time.windows.com), such that:
any function querying the current time within the environment of that interpreter instance (i.e. datetime.now()), will show the newly-set time
the system's time settings outside of the interpreter environment are not affected (i.e. there is no change to the hardware clock)
Basically, the idea is to trick everything within the interpreter instance to believe that the current time is something other than the time to which the system on which the interpreter is running, is set (unless the newly-specified time happens to coincide with the system clock). Assuming it's possible, any suggestions on how to do this?