On Fri, 1 Oct 2010 21:00:02 +0200
Sébastien Barthélemy wrote:
> Hi,
>
> Arnaud, Christian, thank you for your help.
>
> I'll use abspath, it's shorter.
>
> Any idea why it's sometimes absolute, sometimes not?
AFAICT, that's because sys.path contains some absolute paths and some
relative ones.
Hi,
Arnaud, Christian, thank you for your help.
I'll use abspath, it's shorter.
Any idea why it's sometimes absolute, sometimes not?
--
http://mail.python.org/mailman/listinfo/python-list
Sébastien Barthélemy writes:
> Hello,
Hi!
> I use a data file that lies on disk in the same directory that the
> module which makes use of it.
>
> The data file is checked in the repository and gets installed by
> the distutils ``package_data`` directive, so it is in place both
> during develop
Am 01.10.2010 13:00, schrieb Sébastien Barthélemy:
> Hello,
>
> I use a data file that lies on disk in the same directory that the
> module which makes use of it.
>
> The data file is checked in the repository and gets installed by
> the distutils ``package_data`` directive, so it is in place bot
Hello,
I use a data file that lies on disk in the same directory that the
module which makes use of it.
The data file is checked in the repository and gets installed by
the distutils ``package_data`` directive, so it is in place both
during development and after and install.
In my program, I nee