Introduction to python3-sys module

高洛峰
Release: 2017-03-26 18:26:23
Original
2315 people have browsed it

Python3-sys module introduction, friends in need can refer to it

# Auther: Aaron Fan
import sys

print(sys.path ) #Print environmentVariables
print(sys.argv) #Print the script name and all parameters of the script
print(sys.argv[2]) #Print the second number followed by the script parameters

The above is the detailed content of Introduction to python3-sys module. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!