- 1

What is the diffrence between os&sys module?

what is os module and sys module with example

14th Dec 2017, 3:55 PM
lokesh reddy
lokesh reddy - avatar
3 Answers
+ 3
I suggest you use the internet. Both are very complex modules themselves so I don't have much expertise on these matters
14th Dec 2017, 4:02 PM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar
+ 3
"""Python? The nice thing about Python is you can query the language for its own documentation: """ import os, sys # comment out one of these if Time Limit Exceeded print(os.__doc__) print("*"*38+"\n") # separator print(sys.__doc__) # OS routines for NT or POSIX depending on what system we're on... # sys...provides access to some objects used or maintained by the interpreter and to functions that interact strongly with the interpreter.
14th Dec 2017, 4:51 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
Different modules with different functions really. There is no definite difference.
14th Dec 2017, 4:04 PM
Zandifier
Zandifier - avatar