def delete_file(fn): # "unlink" gets renamed to "remove" in micropython, # so support both if hasattr(os, 'unlink'): os.unlink(fn) else: os.remove(fn) # HTTP headers helpers Example #4Source File: tagmain.py From developer-badge-2018-apps with Apache License 2.0 5 votes def run...
# 需要导入模块: import uos [as 别名]# 或者: from uos importremove[as 别名]defdelete_file(fn):# "unlink" gets renamed to "remove" in micropython,# so support bothifhasattr(os,'unlink'): os.unlink(fn)else: os.remove(fn)# HTTP headers helpers 开发者ID:belyalov,项目名称:tinyweb,代码...
# source tools/ci.sh && ci_esp32_build command: | 2 changes: 1 addition & 1 deletion 2 lib/lv_bindings Submodule lv_bindings updated 1 files +2 −2 .github/workflows/unix_port.yml 0 comments on commit d3f379d Please sign in to comment. Footer...
# source tools/ci.sh && ci_esp32_build command: | 2 changes: 1 addition & 1 deletion 2 lib/lv_bindings Submodule lv_bindings updated 1 files +2 −2 .github/workflows/unix_port.yml 0 comments on commit d3f379d Please sign in to comment. Footer...