Difference between revisions of "Os (Python library)"

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

Revision as of 13:31, 13 October 2021

Advertising: