LoginSignup
0
0

More than 5 years have passed since last update.

Pythonの覚え書

Posted at

Python2系⇔3系の自動変換コマンド

2to3 -w 〇〇.py

ライブラリの内部実装をみる

import inspect
print(inspect.getsource(調べたい関数))
  • 単に引数を調べたり、簡単な説明を読んだりしたいときは
help(調べたい関数)
0
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0