← 返回命令列表

Linux command

python3.4 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Run Python 3.4 script

python3.4 [script.py]

Interactive mode

python3.4

Execute command

python3.4 -c "[print('hello')]"

Run module

python3.4 -m [module]

说明

python3.4 is the Python 3.4 interpreter. Released in 2014, Python 3.4 introduced asyncio, enum, pathlib, and other features. Now superseded by newer Python 3 versions.

参数

-c _command_
Execute command.
-m _module_
Run library module.
-i
Interactive after script.
-u
Unbuffered I/O.
-O
Optimize bytecode.
-B
Don't write bytecode.
-v
Verbose imports.
-V
Print version.

FAQ

What is the python3.4 command used for?

python3.4 is the Python 3.4 interpreter. Released in 2014, Python 3.4 introduced asyncio, enum, pathlib, and other features. Now superseded by newer Python 3 versions.

How do I run a basic python3.4 example?

Run `python3.4 [script.py]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c _command_ do in python3.4?

Execute command.