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

os.sched_getparam(pid) Return the scheduling parameters as a sched_param instance for the process with PID pid

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

os.setgroups(groups) Set the list of supplemental group ids associated with the current process to groups. groups

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

curses.panel.bottom_panel() Returns the bottom panel in the panel stack.

2025-01-10 15:47:30
io.BufferedReader.peek()
  • References/Python/Python/Operating System

peek([size]) Return bytes from the stream without advancing the position. At most one single read on the raw stream is done

2025-01-10 15:47:30
io.RawIOBase.write()
  • References/Python/Python/Operating System

write(b) Write the given bytes-like object, b, to the underlying raw stream

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

restype Assign a ctypes type to specify the result type of the foreign function. Use None for void

2025-01-10 15:47:30
io.IOBase.writable()
  • References/Python/Python/Operating System

writable() Return True if the stream supports writing. If False, write() and truncate()

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

window.addnstr(str, n[, attr]) window.addnstr(y, x, str, n[, attr]) Paint at most n characters of the string

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

os.rename(src, dst, *, src_dir_fd=None, dst_dir_fd=None) Rename the file or directory src to dst. If dst

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

os.open(path, flags, mode=0o777, *, dir_fd=None) Open the file path and set various flags according to flags

2025-01-10 15:47:30