Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python os module

#the os module provides an operating system interface from Python
import os
#prints the name of the operating system
print(os.name)
#prints the absolute path for the module
print(os.getcwd())
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #python #os #module
ADD COMMENT
Topic
Name
6+7 =