Determining python installation prefix

David Arnold arnold at dstc.edu.au
Mon Oct 4 22:51:47 EDT 1999


-->"Dave" == Dave Cole <djc at itga.com.au> writes:

  Dave> Is there a nice way to ask the Python interpreter where it was
  Dave> installed?

try sys.prefix and sys.exec_prefix (matching the autoconf params of
similar names)



d






More information about the Python-list mailing list