mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
* fix W391 * E262 * E703 * W293 * some E * E231 * some more E * E225 * more E * E252 * no tabs * more tabs * E701 * uds.py * almost all of them * only e265 left * not sure why this is triggering on commented out code * ignore esptool
14 lines
290 B
Python
Executable File
14 lines
290 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
import datetime
|
|
|
|
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), ".."))
|
|
from panda import Panda # noqa: E402
|
|
|
|
if __name__ == "__main__":
|
|
p = Panda()
|
|
|
|
p.set_datetime(datetime.datetime.now())
|
|
print(p.get_datetime())
|