2: Python Versions(Command line Python scripting)
来源:互联网 发布:瑞士 知乎 编辑:程序博客网 时间:2024/05/16 19:54
2: Python Versions
There are actually two versions of Python on this machine. We ran the last script using the defaultpython
executable, which is Python version 2
. We'll instead want to use Python 3
, which we can access with the python3
executable.
Instructions
- Type
python3 script.py
to run the filescript.py
using python 3.
/home/dq$ python3 script.py
Welcome to a Python script
0 0
- 2: Python Versions(Command line Python scripting)
- 1: Command Line Python(Command line Python scripting)
- 3: Installing Packages(Command line Python scripting )
- 4: Virtual Environments(Command line Python scripting )
- 9: Command Line Arguments(Command line Python scripting)
- 5: Python 3 Virtualenv(Command line Python scripting )
- 6: Activating A Virtualenv( Command line Python scripting )
- 7: Checking The Installed Packages(Command line Python scripting)
- 8: Importing A File(Command line Python scripting)
- 10: Deactivating A Virtualenv(Command line Python scripting )
- 1: Command Line Python(Challenge: Working with the Command Line)
- Python - Parser for command line options - optparse
- Python - Parser for command line options - argparse
- Python Intro - Parse Command Line Parameters
- python转义字符串for shell command line
- Linux Command Line and Shell Scripting Bible
- Python Scripting for ArcGIS
- 使用Python的Command Line操作Excel的Macro
- sublimeText python一些配置
- java.lang.CharSequence cannot be resolved
- (转)maven_pom详解
- 1: Command Line Python(Command line Python scripting)
- android studio编码格式编译运行异常:Error:(1, 1) 错误: 非法字符: '\ufeff';
- 2: Python Versions(Command line Python scripting)
- ubuntu 国内源
- 在Qt 5.7 下配置OpenCV 开发环境
- 3: Installing Packages(Command line Python scripting )
- 4: Virtual Environments(Command line Python scripting )
- public, private, protected访问修饰符
- Leetcode 58 之反向迭代器的使用
- 5: Python 3 Virtualenv(Command line Python scripting )
- muduo网络库源码分析-定时器