readlines(hint=-1) Read and return a list of lines from the stream. hint can be specified to control the number of
os.pathconf_names Dictionary mapping names accepted by pathconf() and fpathconf() to the integer values
os.close(fd) Close file descriptor fd.
curses.can_change_color() Return True or False, depending on whether the programmer can change the
os.urandom(n) Return a string of n random bytes suitable for cryptographic use. This
class ctypes.c_ssize_t Represents the C ssize_t datatype.
os.get_terminal_size(fd=STDOUT_FILENO) Return the size of the terminal window as (columns, lines), tuple of type
window.mvwin(new_y, new_x) Move the window so its upper-left corner is at (new_y, new_x).
os.getsid(pid) Call the system call getsid(). See the Unix manual for the semantics.
os.getenv(key, default=None) Return the value of the environment variable key if it exists, or default if
Page 4 of 67