Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # encoding: utf-8
  3. #
  4. # Copyright (c) 2010 Doug Hellmann. All rights reserved.
  5. #
  6. """All configuration variables.
  7. """
  8. #end_pymotw_header
  9.  
  10. import sysconfig
  11.  
  12. print 'User base directory:', sysconfig.get_config_var('userbase')
  13. print 'Unknown variable :', sysconfig.get_config_var('NoSuchVariable')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement