Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 24 for execute (0.006 sec.)
- 12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 16263
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...onnection があれば、 Cursor オブジェクトを作りその execute() メソッドを呼んで SQL コマンドを実行することができ...ます: c = conn . cursor () # Create table c . execute ( '''CREATE TABLE stocks (date text, trans text, s...real, price real)''' ) # Insert a row of data c . execute ( "INSERT INTO stocks VALUES ('2006-01-05','BUY','...ろに埋めておきます。その上で、値のタプルをカーソルの execute() メソッドの第2引数として引き渡します。(他のデータ... - https://man.plustar.jp/python/library/sqlite3.html - [similar]
- What's New in Python 2.5 — Python 3.6.5 ドキュメント 8557
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...nection () with db_connection as cursor : cursor . execute ( 'insert into ...' ) cursor . execute ( 'delete f...onnection があれば、 Cursor オブジェクトを作りその execute() メソッドを呼んで SQL コマンドを実行することができ...ます: c = conn . cursor () # Create table c . execute ( '''create table stocks (date text, trans text, s...real, price real)''' ) # Insert a row of data c . execute ( """insert into stocks values ('2006-01-05','BUY'... - https://man.plustar.jp/python/whatsnew/2.5.html - [similar]
- 26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 8423
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ck . x = 3 >>> mock . x 3 mock.connection.cursor().execute("SELECT 1") のような複雑なケースでモックを使いたい.... connection . cursor . return_value >>> cursor . execute . return_value = [ 'foo' ] >>> mock . connection ....cursor () . execute ( "SELECT 1" ) ['foo'] >>> expected = call . conne...ction . cursor () . execute ( "SELECT 1" ) . call_list () >>> mock . mock_call... - https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
- 12.1. pickle --- Python オブジェクトの直列化 — Python 3.6.5 ドキュメント 8356
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...d record from the database and return it. cursor . execute ( "SELECT * FROM memos WHERE key=?" , ( str ( key_...( ":memory:" ) cursor = conn . cursor () cursor . execute ( "CREATE TABLE memos(key INTEGER PRIMARY KEY, tas...ght with a zebra' , ) for task in tasks : cursor . execute ( "INSERT INTO memos VALUES(NULL, ?)" , ( task ,))...# Fetch the records to be pickled. cursor . execute ( "SELECT * FROM memos" ) memos = [ MemoRecord ( k... - https://man.plustar.jp/python/library/pickle.html - [similar]
- 29.4. __main__ --- トップレベルのスクリプト環境 — Python 3.6.5 ドキュメント 8290
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...般的なイディオムです: if __name__ == "__main__" : # execute only if run as a script main () パッケージについて... - https://man.plustar.jp/python/library/__main__.html - [similar]
- Pythonモジュール索引 — Python 3.6.5 ドキュメント 8223
- ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » Pythonモジュール索引 _ | a | b |
...nous socket handling services. atexit Register and execute cleanup functions. audioop Manipulate raw audio da...in a directory tree. concurrent concurrent.futures Execute computations concurrently using threads or process... - https://man.plustar.jp/python/py-modindex.html - [similar]
- 26.8. test --- Python 用回帰テストパッケージ — Python 3.6.5 ドキュメント 8023
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...own() if necessary def setUp ( self ): ... code to execute in preparation for tests ... def tearDown ( self )...: ... code to execute to clean up after tests ... def test_feature_one (... - https://man.plustar.jp/python/library/test.html - [similar]
- 6. 式 (expression) — Python 3.6.5 ドキュメント 8023
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...ithin a try construct could result in a failure to execute pending finally clauses. In this case, it is the r...ject, thus allowing any pending finally clauses to execute. To take care of finalization, an event loop shoul...nerator-iterator and presumably calls aclose() and executes the coroutine. This finalizer may be registered b...) ¶ Returns an awaitable which when run starts to execute the asynchronous generator or resumes it at the la... - https://man.plustar.jp/python/reference/expressions.html - [similar]
- 10. API リファレンス — Python 3.6.5 ドキュメント 7956
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの
...する共有オブジェクトファイルのファイル名を返します。 execute ( func , args [ , msg=None , level=1 ] ) ¶ distuti...ls.util.execute() を実行します。このメソッドは、ロギング処理をし d...削除されます。語のリストが返ります。 distutils.util. execute ( func , args [ , msg=None , verbose=0 , dry_run=0... - https://man.plustar.jp/python/distutils/apiref.html - [similar]
- 19.1.3. email.generator: MIME 文書の生成 — Python 3.6.5 ドキュメント 7956
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...t the resulting filled-in string. To fill in fmt , execute fmt % part_info , where part_info is a dictionary... - https://man.plustar.jp/python/library/email.generator.html - [similar]
