R. David Murray added the comment:
You have a 'copy.py' module in your python path, as is evidenced by the
filename in your traceback, which tarfile is importing instead of the real copy
module, and your copy.py is therefore trying to use shutil before it is
completely imported, thus the
Changes by luke wood dj_...@live.com:
--
components: Library (Lib)
files: dropbox dropper.py
nosy: dj_law
priority: normal
severity: normal
status: open
title: Module: shutil will not import when writen in the text editor but will
in the python shell
type: behavior
versions: Python 3.3
New submission from R. David Murray:
It works fine for me. Are you on windows by any chance? I suspect you should
take this to python-list for help, but you could paste the traceback you are
getting if you still think it is a bug in Python.
--
nosy: +r.david.murray
resolution: -
luke wood added the comment:
ok i dont really know what python list is. i googled it but it just came up
with the documentation.
Traceback (most recent call last):
File C:\Users\luke\Documents\Python Code\dropbox dropper.py, line 1, in
module
import shutil
File