os.system(command) executes a system function as if it were in a subshell : Sys : Buildin Module PYTHON TUTORIALS
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PYTHON TUTORIALS
»
Buildin Module
»
Sys
»
os.system(command) executes a system function as if it were in a subshell
import
os
os.system
(
"dir"
)
Related Scripts with Example Source Code in same category :
The list of search path can be found in the path variable in the sys module
stdin of the sys module is a file object
sys module has the stdout and stderr attributes that point to files used for standard output and standard error output.
Using sys.modules
Redirecting Output
Redirecting Error Information
Printing to stderr
sys.exit() and SystemExit
sys.exitfunc()
Append path to system path
Leave a Comment / Note
Name (required)
email (will not be published) (required)
Website
Vérification
Refresh
Enter code
Verification is used to prevent unwanted posts (spam). .
PYTHON TUTORIALS
Buildin Module
»
Sys
Command line
Signal
Copy
Stat
Datetime
Struct
Environment
Subprocess
Fileinput
Sys
Heapq
Syslog
Inter2
Time
Math
Unit test
Os
Webbrowser
Platform
Win32api
Random
Buildin Function
Buildin Module
CGI Web
Class
Collections
Data Type
Database
Dictionary
File
Function
Introduction
List
Network
Operator
Regular Expressions
Statement
String
Thread
Tkinker
Tuple
Windows
WxPython
XML