Difference between revisions of "Os.system"
Jump to navigation
Jump to search
(Redirected page to Os) Tag: New redirect |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | # | + | {{lc}} |
+ | #!/usr/bin/env python3 | ||
+ | import os | ||
+ | |||
+ | [[os.]]system("echo 'Hello World'") | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[provisioner "local-exec"]]</code> | ||
+ | * [[subprocess.run]] | ||
+ | |||
+ | == See also == | ||
+ | * {{Python}} | ||
+ | |||
+ | [[Category:Programming]] |
Latest revision as of 10:32, 8 November 2024
#!/usr/bin/env python3 import os os.system("echo 'Hello World'")
Related[edit]
See also[edit]
- Python, PIP, GIL, Flask, Django, Marshmallow,
def
, logging, Pandas, Numpy, AWS Chalice,import
,from
,tuple
,list
, Python exceptions,virtualenv
,.append
,pytz
,TZ
,print
,python3 -c
,os
, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs
, Black (Python), Python list structure, Mypy,variables
, Casting,try:
, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help
, Data Classes, raise
Advertising: