• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import sys, os
2
3# run pwuid_build first, then make sure the shared object is on sys.path
4from _pwuid_cffi import ffi, lib
5
6
7print ffi.string(lib.getpwuid(0).pw_name)
8