⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testmodulefqname.py

📁 Python Development Environment (Python IDE plugin for Eclipse). Features editor, code completion, re
💻 PY
字号:
import httplib as foo
from httplib import HTTP as bar
from httplib import HTTP_PORT as port

class a(bar):
    pass

class b(foo.HTTPConnection):
    pass

print port
       
##c
'''
<config>
  <resolveNames>
    <string>bar</string>
    <string>foo.HTTPConnection</string>
    <string>port</string>
  </resolveNames>
</config>
'''
       
##r
# bar -> httplib.HTTP
# foo.HTTPConnection -> httplib.HTTPConnection
# port -> httplib.HTTP_PORT
# Imported regular modules (Alias, Realname)
# foo httplib
# AliasToIdentifier (Module, Realname, Alias)
# httplib HTTP bar
# httplib HTTP_PORT port

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -