io.IOBase.readlines()
  • References/Python/Python/Operating System

readlines(hint=-1) Read and return a list of lines from the stream. hint can be specified to control the number of

2025-01-10 15:47:30
os.pathconf_names
  • References/Python/Python/Operating System

os.pathconf_names Dictionary mapping names accepted by pathconf() and fpathconf() to the integer values

2025-01-10 15:47:30
os.close()
  • References/Python/Python/Operating System

os.close(fd) Close file descriptor fd.

2025-01-10 15:47:30
curses.can_change_color()
  • References/Python/Python/Operating System

curses.can_change_color() Return True or False, depending on whether the programmer can change the

2025-01-10 15:47:30
os.urandom()
  • References/Python/Python/Operating System

os.urandom(n) Return a string of n random bytes suitable for cryptographic use. This

2025-01-10 15:47:30
ctypes.c_ssize_t
  • References/Python/Python/Operating System

class ctypes.c_ssize_t Represents the C ssize_t datatype.

2025-01-10 15:47:30
os.get_terminal_size()
  • References/Python/Python/Operating System

os.get_terminal_size(fd=STDOUT_FILENO) Return the size of the terminal window as (columns, lines), tuple of type

2025-01-10 15:47:30
curses.window.mvwin()
  • References/Python/Python/Operating System

window.mvwin(new_y, new_x) Move the window so its upper-left corner is at (new_y, new_x).

2025-01-10 15:47:30
os.getsid()
  • References/Python/Python/Operating System

os.getsid(pid) Call the system call getsid(). See the Unix manual for the semantics.

2025-01-10 15:47:30
os.getenv()
  • References/Python/Python/Operating System

os.getenv(key, default=None) Return the value of the environment variable key if it exists, or default if

2025-01-10 15:47:30