FILE [FILE ...] Transcribe DNA into RNA positional arguments: FILE Input DNA file optional arguments: -h, --help show this help message and exit -o DIR, --out_dir DIR Output directory (default: out) rna.pyでは、 位置引数として FILE オプション引数として --help と--out_dirが定義されている デフォルトの名前はout
f.close() を呼び出してファイルを閉じてください。 >>> with open(workfile) as f: >>> read_data = f.read() >>> # We can check that the file has been automatically closed. >>> f.closed False