os.ctermid()
  • References/Python/Python/Operating System

os.ctermid() Return the filename corresponding to the controlling terminal of the process. Availability:

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

os.spawnlpe(mode, file, ..., env) os.spawnv(mode, path, args) os.spawnve(mode, path, args, env)

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

window.scrollok(flag) Control what happens when the cursor of a window is moved off the edge of the window or scrolling region

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

os.set_handle_inheritable(handle, inheritable) Set the “inheritable” flag of the specified handle.

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

curses.longname() Return a string containing the terminfo long name field describing the current terminal. The maximum length

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

curses.ascii.alt(c) Return the 8-bit character corresponding to the given ASCII character (the character bit value is bitwise-ored

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

curses.newwin(nlines, ncols) curses.newwin(nlines, ncols, begin_y, begin_x) Return a new window, whose left-upper

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

platform.processor() Returns the (real) processor name, e.g. 'amdk6'. An empty

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

lines Height of the terminal window in characters.

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

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

2025-01-10 15:47:30