108-autoupdate.py
来自「this code is used for edit on os of s60」· Python 代码 · 共 12 行
PY
12 行
import urllibCODE = "mytest.py"URL = "http://www.myownserver.com/pycode/"code = urllib.urlopen(URL + CODE).read()f = file(u"E:\\Python\\" + CODE, "w")f.write(code)f.close()print "File %s updated succesfully!" % CODE
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?