1 |
2009-09-20 20:46:17 Nirbheek Chauhan napisaĆ(a): |
2 |
> On Sun, Sep 20, 2009 at 11:57 PM, Arfrever Frehtes Taifersar Arahesis |
3 |
> <Arfrever@g.o> wrote: |
4 |
> > There is a difference between Python scripts and Python modules. |
5 |
> > |
6 |
> |
7 |
> Yes, I'm well aware of the difference between them. |
8 |
> |
9 |
> [snip] |
10 |
> > Python modules shouldn't have shebang. Python modules are intended to |
11 |
> > be imported from Python scripts or other Python modules. Any shebang |
12 |
> > in a Python module is ignored, when this module is imported using 'import' |
13 |
> > statement. |
14 |
> > |
15 |
> |
16 |
> You forget that the search path for both installs is different, and |
17 |
> hence modules installed for python-3 cannot be found/used by scripts |
18 |
> using python-2; which results in the dependency hell; which was the |
19 |
> basis for my whole argument. |
20 |
|
21 |
When both Python 2 and Python 3 are installed, then Python modules, which |
22 |
support both Python 2 and Python 3, are automatically installed for both |
23 |
Python 2 and Python 3. |
24 |
|
25 |
-- |
26 |
Arfrever Frehtes Taifersar Arahesis |