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
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
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