Difference between revisions of "Os (Python library)"
Jump to navigation
Jump to search
m (Welcome moved page Os to Os (Python library)) |
|||
Line 18: | Line 18: | ||
import os | import os | ||
− | os.system("echo 'Hello World'") | + | [[os.system]]("echo 'Hello World'") |
== See also == | == See also == |
Revision as of 14:40, 8 October 2021
import os
Command execution:
os.system(" your_code ")
File management:
os.close(fd)
Example
#!/usr/bin/env python import os os.system("echo 'Hello World'")
See also
- 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: