Revision 373366643538 () - Diff

Link to this snippet: https://friendpaste.com/6HdGj0drzgqFqGhO6qDnyW
Embed:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(facturier)17:35 rage@amstel ~/dev_emencia/dev_packages/facturier% python
Python 2.5.2 (r252:60911, Jul 17 2008, 12:45:25)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Image
>>> from PIL import Image
>>> Image
<module 'PIL.Image' from '/home/rage/dev_emencia/dev_packages/facturier/lib/python2.5/site-packages/PIL-1.1.6-py2.5-linux-i686.egg/PIL/Image.pyc'>
>>>
(facturier)17:36 rage@amstel ~/dev_emencia/dev_packages/facturier% deactivate
17:36 rage@amstel ~/dev_emencia/dev_packages/facturier% python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> Image
<module 'Image' from '/usr/lib/python2.5/site-packages/PIL/Image.pyc'>
>>> from PIL import Image as Image2
>>> Image2
<module 'PIL.Image' from '/usr/lib/python2.5/site-packages/PIL/Image.pyc'>
>>>