psutil.boot_time() ... doesn't ?

Chris Angelico rosuav at gmail.com
Wed Nov 6 17:58:48 EST 2019


On Thu, Nov 7, 2019 at 9:55 AM Terry Reedy <tjreedy at udel.edu> wrote:
>
> On 11/6/2019 3:09 PM, R.Wieser wrote:
> > Dennis,
> >> Depends upon the OS...
> >
> > My apologies, its Linux (as on a Raspberry Pi).
>
> I don't know how much Linux is customized for RP, but last I knew,
> Python on RP is MicroPython, not CPython.  So I expect OS-related
> functions to not necessarily match Linux on a desktop.
>

Fair point, although in this case, I think the interpreter won't make
a difference - the psutil module is pure Python and depends on
underlying OS facilities.

ChrisA


More information about the Python-list mailing list