Executing the above program gives the following output:
3 4 3 /dev/pty0
Python3 OS File/Directory Methods