最終更新:2020-04-13 (月) 09:47:41 (123d)  

Python/モジュール
Top / Python / モジュール

関数や変数やオブジェクトの定義を書いたファイル

インデックス

モジュールのインストール

読み込みとか

__name__

  • 自身が実行開始したファイルの場合、__main__が入る

モジュールの種類

.py?Pythonのソースコードのテキストファイル
.pyc?Pythonバイトコード
.pydPythonDLL
.soLinuxの共有ライブラリ
.dll?WindowsDLL

ツール

よく使うもの

モジュール一覧

help("modules")

  • Python/AutoComplete?
  • Python/AutoCompleteWindow?
  • Python/AutoExpand?
  • Python/BaseHTTPServer?
  • Python/Bastion?
  • Python/Bindings?
  • Python/CGIHTTPServer?
  • Python/CallTipWindow?
  • Python/CallTips?
  • Python/Canvas?
  • Python/ClassBrowser?
  • Python/CodeContext?
  • Python/ColorDelegator?
  • Python/ConfigParser?
  • Python/Cookie?
  • Python/Debugger?
  • Python/Delegator?
  • Python/Dialog?
  • Python/DocXMLRPCServer?
  • Python/EditorWindow?
  • Python/FileDialog?
  • Python/FileList?
  • Python/FixTk?
  • Python/FormatParagraph?
  • Python/GrepDialog?
  • Python/HTMLParser?
  • Python/HyperParser?
  • Python/IOBinding?
  • Python/IdleHistory?
  • Python/MimeWriter?
  • Python/MultiCall?
  • Python/MultiStatusBar?
  • Python/ObjectBrowser?
  • Python/OutputWindow?
  • Python/ParenMatch?
  • Python/PathBrowser?
  • Python/Percolator?
  • Python/PyParse?
  • Python/PyShell?
  • Python/Queue?
  • Python/RemoteDebugger?
  • Python/RemoteObjectBrowser?
  • Python/ReplaceDialog?
  • Python/RstripExtension?
  • Python/ScriptBinding?
  • Python/ScrolledList?
  • Python/ScrolledText?
  • Python/SearchDialog?
  • Python/SearchDialogBase?
  • Python/SearchEngine?
  • Python/SimpleDialog?
  • Python/SimpleHTTPServer?
  • Python/SimpleXMLRPCServer?
  • Python/SocketServer?
  • Python/StackViewer?
  • Python/StringIO?
  • Python/Tix?
  • Python/Tkconstants?
  • Python/Tkdnd?
  • Python/Tkinter?
  • Python/ToolTip?
  • Python/TreeWidget?
  • Python/UndoDelegator?
  • Python/UserDict?
  • Python/UserList?
  • Python/UserString?
  • Python/WidgetRedirector?
  • Python/WindowList?
  • Python/ZoomHeight?
  • Python/_LWPCookieJar?
  • Python/_MozillaCookieJar?
  • Python/__builtin__
  • Python/__future__?
  • Python/_abcoll?
  • Python/_ast?
  • Python/_bisect?
  • Python/_bsddb?
  • Python/_codecs?
  • Python/_codecs_cn?
  • Python/_codecs_hk?
  • Python/_codecs_iso2022?
  • Python/_codecs_jp?
  • Python/_codecs_kr?
  • Python/_codecs_tw?
  • Python/_collections?
  • Python/_csv?
  • Python/_ctypes?
  • Python/_ctypes_test?
  • Python/_elementtree?
  • Python/_functools?
  • Python/_hashlib?
  • Python/_heapq?
  • Python/_hotshot?
  • Python/_io?
  • Python/_json?
  • Python/_locale?
  • Python/_lsprof?
  • Python/_md5?
  • Python/_msi?
  • Python/_multibytecodec?
  • Python/_multiprocessing?
  • Python/_pyio?
  • Python/_random?
  • Python/_sha?
  • Python/_sha256?
  • Python/_sha512?
  • Python/_socket?
  • Python/_sqlite3?
  • Python/_sre?
  • Python/_ssl?
  • Python/_strptime?
  • Python/_struct?
  • Python/_subprocess?
  • Python/_symtable?
  • Python/_testcapi?
  • Python/_threading_local?
  • Python/_tkinter?
  • Python/_warnings?
  • Python/_weakref?
  • Python/_weakrefset?
  • Python/_winreg?
  • Python/abc?
  • Python/aboutDialog?
  • Python/aifc?
  • Python/antigravity?
  • Python/anydbm
  • Python/argparse?
  • Python/array?
  • Python/ast?
  • Python/asynchat?
  • Python/asyncore?
  • Python/atexit?
  • Python/audiodev?
  • Python/audioop?
  • Python/base64?
  • Python/bdb?
  • Python/binascii?
  • Python/binhex?
  • Python/bisect?
  • Python/bsddb?
  • Python/bz2?
  • Python/cPickle?
  • Python/cProfile?
  • Python/cStringIO?
  • Python/calendar?
  • Python/cgi?
  • Python/cgitb?
  • Python/chunk?
  • Python/cmath?
  • Python/cmd?
  • Python/code?
  • Python/codecs?
  • Python/codeop?
  • Python/collections
  • Python/colorsys?
  • Python/commands?
  • Python/compileall?
  • Python/compiler?
  • Python/configDialog?
  • Python/configHandler?
  • Python/configHelpSourceEdit?
  • Python/configSectionNameDia?
  • Python/contextlib?
  • Python/cookielib?
  • Python/copy
  • Python/copy_reg?
  • Python/csv
  • Python/ctypes
  • Python/curses?
  • Python/datetime
  • Python/dbhash?
  • Python/decimal?
  • Python/difflib
  • Python/dircache?
  • Python/dis?
  • Python/distutils?
  • Python/doctest?
  • Python/dumbdbm?
  • Python/dummy_thread?
  • Python/dummy_threading?
  • Python/dynOptionMenuWidget?
  • Python/email?
  • Python/encodings?
  • Python/errno?
  • Python/exceptions?
  • Python/filecmp
  • Python/fileinput
  • Python/fnmatch?
  • Python/formatter?
  • Python/fpformat?
  • Python/fractions?
  • Python/ftplib?
  • Python/functools?
  • Python/future_builtins?
  • Python/gc?
  • Python/genericpath?
  • Python/getopt?
  • Python/getpass
  • Python/gettext?
  • Python/glob?
  • Python/gzip?
  • Python/hashlib?
  • Python/heapq?
  • Python/hmac?
  • Python/hotshot?
  • Python/htmlentitydefs?
  • Python/htmllib?
  • Python/httplib?
  • Python/idle?
  • Python/idlelib?
  • Python/idlever?
  • Python/ihooks?
  • Python/imageop?
  • Python/imaplib?
  • Python/imghdr?
  • Python/imp?
  • Python/importlib?
  • Python/imputil?
  • Python/inspect
  • Python/io
  • Python/itertools?
  • Python/json
  • Python/keybindingDialog?
  • Python/keyword?
  • Python/lib2to3?
  • Python/linecache?
  • Python/locale?
  • Python/logging
  • Python/macosxSupport?
  • Python/macpath?
  • Python/macurl2path?
  • Python/mailbox?
  • Python/mailcap?
  • Python/markupbase?
  • Python/marshal?
  • Python/math
  • Python/md5?
  • Python/mhlib?
  • Python/mimetools?
  • Python/mimetypes?
  • Python/mimify?
  • Python/mmap?
  • Python/modulefinder?
  • Python/msilib?
  • Python/msvcrt?
  • Python/multifile?
  • Python/multiprocessing
  • Python/mutex?
  • Python/netrc?
  • Python/new?
  • Python/nntplib?
  • Python/nt?
  • Python/ntpath?
  • Python/nturl2path?
  • Python/numbers?
  • Python/opcode?
  • Python/logoperator?
  • Python/optparse?
  • Python/os
  • Python/os2emxpath?
  • Python/parser?
  • Python/pdb?
  • Python/pickle
  • Python/pickletools?
  • Python/pipes?
  • Python/pkgutil?
  • Python/platform?
  • Python/plistlib?
  • Python/popen2?
  • Python/poplib?
  • Python/posixfile?
  • Python/posixpath?
  • Python/pprint
  • Python/profile?
  • Python/pstats?
  • Python/pty?
  • Python/py_compile?
  • Python/pyclbr?
  • Python/pydoc?
  • Python/pydoc_data?
  • Python/pyexpat?
  • Python/quopri?
  • Python/random
  • Python/re
  • Python/repr?
  • [[Python/]]
  • Python/rexec?
  • Python/rfc822?
  • Python/rlcompleter?
  • Python/robotparser?
  • Python/rpc?
  • Python/run?
  • Python/runpy?
  • Python/sched?
  • Python/select?
  • Python/sets?
  • Python/sgmllib?
  • Python/sha?
  • Python/shelve
  • Python/shlex?
  • Python/shutil?
  • Python/signal?
  • Python/site
  • Python/smtpd?
  • Python/smtplib?
  • Python/sndhdr?
  • Python/socket?
  • Python/sqlite3
  • Python/sre?
  • Python/sre_compile?
  • Python/sre_constants?
  • Python/sre_parse?
  • Python/ssl?
  • Python/stat?
  • Python/statvfs?
  • Python/string
  • Python/stringold?
  • Python/stringprep?
  • Python/strop?
  • Python/struct?
  • Python/subprocess?
  • Python/sunau?
  • Python/sunaudio?
  • Python/symbol?
  • Python/symtable?
  • Python/sys
  • Python/sysconfig?
  • Python/tabbedpages?
  • Python/tabnanny?
  • Python/tarfile?
  • Python/telnetlib?
  • Python/tempfile
  • Python/test?
  • Python/testcode?
  • Python/textView?
  • Python/textwrap?
  • Python/this?
  • Python/thread?
  • Python/threading
  • Python/time
  • Python/timeit
  • Python/tkColorChooser?
  • Python/tkCommonDialog?
  • Python/tkFileDialog?
  • Python/tkFont?
  • Python/tkMessageBox?
  • Python/tkSimpleDialog?
  • Python/toaiff?
  • Python/token?
  • Python/tokenize?
  • Python/trace?
  • Python/traceback?
  • Python/ttk?
  • Python/tty?
  • Python/turtle?
  • Python/types?
  • Python/unicodedata?
  • Python/unittest?
  • Python/urllib
  • Python/urllib2?
  • Python/urlparse?
  • Python/user?
  • Python/uu?
  • Python/uuid?
  • Python/warnings?
  • Python/wave?
  • Python/weakref?
  • Python/webbrowser
  • Python/whichdb?
  • Python/winsound?
  • Python/wsgiref?
  • Python/xdrlib?
  • Python/xml?
  • Python/xmllib?
  • Python/xmlrpclib?
  • Python/xxsubtype?
  • Python/zipfile?
  • Python/zipimport?
  • Python/zlib?

関連