Re: Python 2.7.3 tempfile.py, ln34, from random import Random as _Random

2013-03-25 Thread dbv
I have a number of .py source files and one source file has an "import random" and another has "import werkzeug". The project works perfectly in the Python interpreter. Problem appears when using PyInstaller. How do get out of jail? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.7.3 tempfile.py, ln34, from random import Random as _Random

2013-03-25 Thread Dave Angel
On 03/25/2013 08:29 AM, dbv wrote: In Python 2.7.3, at ln34 the source file tempfile.py states: from random import Random as _Random But, Random is a Class. Have you just tried the following: import random print dir(random.random) print random.__file__ I suspect you have another r

Re: Python 2.7.3 tempfile.py, ln34, from random import Random as _Random

2013-03-25 Thread Peter Otten
dbv wrote: > In Python 2.7.3, at ln34 the source file tempfile.py states: > > from random import Random as _Random > > But, Random is a Class. This is not a problem. You can import arbitrary objects from a module. > The project imports werkzeug and using PyInstaller, the Traceback is: > > T