Python 3.6.5 ドキュメント 検索
Results of 71 - 80 of about 249 for FOR (0.123 sec.)
- 26.7. 2to3 - Python 2 から 3 への自動コード変換 — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
示します: def greet ( name ): print "Hello, {0} !" . format ( name ) print "What's your name?" name = raw_i...
ります: def greet ( name ): print ( "Hello, {0} !" . format ( name )) print ( "What's your name?" ) name =...
lso doesn't require the module to be valid Python. For example, doctest like examples in a reST document...
his option. The -v option enables output of more information on the translation process. Since some print...
- https://man.plustar.jp/python/library/2to3.html - [similar]
- 21.12. http.client --- HTTP プロトコルクライアント — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
text() select the system's trusted CA certificates for you. The check_hostname parameter is also deprecat...
'Not Found' を示します。 See HTTP ステータスコード for a list of HTTP status codes that are available in...
a string, it is encoded as ISO-8859-1, the default for HTTP. If it is a bytes-like object, the bytes are...
dy is None , the Content-Length header is set to 0 for methods that expect a body ( PUT , POST , and PATC...
- https://man.plustar.jp/python/library/http.client.html - [similar]
- 28.3. venv --- 仮想環境の作成 — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
her than copies, when symlinks are not the default for the platform. --copies Try to use copies rather th...
an symlinks, even when symlinks are the default for the platform. --clear Delete the contents of the e...
nvironment directory if it already exists, before environment creation. --upgrade Upgrade the envir...
If a callable is not specified, default progress information is output to sys.stderr. """ def __init__ (...
- https://man.plustar.jp/python/library/venv.html - [similar]
- 20.5. xml.etree.ElementTree --- ElementTree XML API — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
b {} さらにイテレート可能な子ノードも持ちます: >>> for child in root : ... print ( child . tag , child ....
>)] >>> parser . feed ( ' more text</mytag>' ) >>> for event , elem in parser . read_events (): ... print...
ートするいくつかの役立つメソッドを持っています: >>> for neighbor in root . iter ( 'neighbor' ): ... print...
す。 Element.get() は要素の属性にアクセスします: >>> for country in root . findall ( 'country' ): ... rank...
- https://man.plustar.jp/python/library/xml.etree.elementtree.html - [similar]
- 8. エラーと例外 — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
on ): pass class C ( B ): pass class D ( C ): pass for cls in [ B , C , D ]: try : raise cls () except D...
except OSError as err : print ( "OS error: {0} " . format ( err )) except ValueError : print ( "Could not...
コードを書くのに役立ちます。例えば次のようにします: for arg in sys . argv [ 1 :]: try : f = open ( arg , '...
インスタンス化されます: raise ValueError # shorthand for 'raise ValueError()' 例外が発生したかどうかを判定し...
- https://man.plustar.jp/python/tutorial/errors.html - [similar]
- 10. 標準ライブラリミニツアー — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
ッグしやすい文字列メソッドの方がお勧めです: >>> 'tea for too' . replace ( 'too' , 'two' ) 'tea for two' 10....
sno.navy.mil/cgi-bin/timer.pl' ) as response : ... for line in response : ... line = line . decode ( 'utf...
xt. ... if 'EST' in line or 'EDT' in line : # look for Eastern Time ... print ( line ) <BR>Nov. 25, 09:43...
しています。 >>> # dates are easily constructed and formatted >>> from datetime import date >>> now = date...
- https://man.plustar.jp/python/tutorial/stdlib.html - [similar]
- 1. コマンドラインと環境 — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python のセットアッ
...
here' 'benchmarked code here' python -mtimeit -h # for details 参考 runpy.run_module() Python コードで直接...
be: Python 3.6.0b2+ When given twice, print more information about the build, like: Python 3.6.0b2+ (3.6:...
l on the value of __debug__ . Augment the filename for compiled ( bytecode ) files by adding .opt-1 befor...
and also discard docstrings. Augment the filename for compiled ( bytecode ) files by adding .opt-2 befor...
- https://man.plustar.jp/python/using/cmdline.html - [similar]
- What's New In Python 3.0 — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
呼び出される map() です; この場合確実な変換は普通に for ループを使うことです (そもそもリストを作ること自体...
runcating behavior. (The latter syntax has existed for years, at least since Python 2.2.) 整数の上限がなく...
をセットします。 Dictionary comprehensions: {k: v for k, v in stuff} means the same thing as dict(stuff)...
い。セットの内包表記もサポートされました。例えば {x for x in stuff} は set(stuff) と同じ意味ですが、より柔...
- https://man.plustar.jp/python/whatsnew/3.0.html - [similar]
- What's New In Python 3.1 — Python 3.6.5 ドキュメント 5060
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
PEP 378: 1000区切りのための書式指定子 ¶ 組み込みの format() 関数と str.format() メソッドが使うミニ言語に、...
善してひとさまにとって読みやすいものに出来ます: >>> format ( 1234567 , ',d' ) '1,234,567' >>> format ( 123...
4567.89 , ',.2f' ) '1,234,567.89' >>> format ( 12345.6 + 8901234.12 j , ',f' ) '12,345.60000...
0+8,901,234.120000j' >>> format ( Decimal ( '1234567.89' ), ',f' ) '1,234,567.8...
- https://man.plustar.jp/python/whatsnew/3.1.html - [similar]
- Unicode HOWTO — Python 3.6.5 ドキュメント 4990
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Unic
...
文字コードの歴史 ¶ 1968年に American Standard Code for Information Interchange が標準化されました。これは...
e' のような独自のスタイルのつづりを必要とするなど) For a while people just wrote programs that didn't dis...
いくつかは国際標準化機構 (International Organization for Standardization) によって定義された本物の標準になり...
いるエンコーディングの1つです。UTF は "Unicode Transformation Format" を表していて、'8' は 8-bit 整数がエン...
- https://man.plustar.jp/python/howto/unicode.html - [similar]