Hi,
 
I'm trying to create a tar file of the contents of the current directory
 
right now there is only one file "text.xml" in the current dir,  I'm using"." 
current dir as source
but that gives syntax error

any help would be greatly appreciated
--Brian
 
 
#!/usr/bin/python
import string
import os
import sys
import time
import errno
import shutil
import tarfile
 

tar = tarfile.open(.,"test.tar.gz", "w:gz)

<mailto:[EMAIL PROTECTED]> 
 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to