Python OS Module:
Python has a built-in os module with methods for interacting with the operating system, like creating files and directories, management of files and directories, input, output, environment variables, process management, etc.
The os module has the following set of methods and constants.
os.getcwd() -Returns the current working directory
os.listdir() -Returns a list of the names of the entries in a directory
os.mkdir() -Creates a directory (with a specified mode)
os.remove() -Removing a files
os.rmdir() -Removing a directory
Socket Programming in Python:
Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while the other socket reaches out to the other to form a connection. The server forms the listener socket while the client reaches out to the server.