?? __init__.py
字號:
#!/usr/bin/env python #portable serial port access with python#this is a wrapper module for different platform implementations## (C)2001-2002 Chris Liechti <cliechti@gmx.net># this is distributed under a free software license, see license.txtimport sys, os, stringVERSION = string.split("$Revision: 1.1 $")[1] #extract CVS version#chose an implementation, depending on osif os.name == 'nt': #sys.platform == 'win32': from serialwin32 import *elif os.name == 'posix': from serialposix import *elif os.name == 'java': from serialjava import *else: raise "Sorry no implementation for your platform available."#no "mac" implementation. someone want's to write it? i have no access to a mac.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -