[code.view]

[top] / python / PyMOTW / tarfile / tarfile_getnames.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2009 Doug Hellmann All rights reserved.
     #
     """
     """
     
     __version__ = "$Id$"
     #end_pymotw_header
     
     import tarfile
     
     t = tarfile.open('example.tar', 'r')
     print t.getnames()
     

[top] / python / PyMOTW / tarfile / tarfile_getnames.py

contact | logmethods.com