Difference between revisions of "Os (Python library)"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
  
Usage:
+
===Usage===
 
  <code>[[import]] os</code>
 
  <code>[[import]] os</code>
  
  
Command execution:
+
===Command execution===
 
  [[os.system]]("your_code ")
 
  [[os.system]]("your_code ")
  
 
   [[os.system]]("[[uptime]]")
 
   [[os.system]]("[[uptime]]")
  
[[File]] management:
+
===[[File]] management===
 
  [[os.close]]([[fd]])
 
  [[os.close]]([[fd]])
  

Revision as of 13:30, 13 October 2021

Advertising: