RobotHardware-UESTC/Hardware/UPbot-Tools/pypibot/__init__.py

18 lines
335 B
Python
Raw Permalink Normal View History

2024-01-23 15:09:47 +08:00
#!/usr/bin/python
# -*- coding: utf-8 -*-
import pypibot.assistant
import pypibot.log as Logger
import pypibot.err
log=Logger.log
import sys
def createNamedLog(name):
return Logger.NamedLog(name)
class Object():
pass
isDebug="-d" in sys.argv
import platform
isWindows=False
if platform.system()=='Windows':
isWindows=True