Fixing this thing will make my happy (or very sad if you'd like this).
Problem is described here:
http://stackoverflow.com/a/6416333/239247
Summary:
1. chdir()
2. dirname(__file__)
3. FAIL
Proposal:
from __future__ import abs__file__
?
--
anatoly t.
On Mon, Dec 30, 2013 at 10:39 AM, anatoly techtonik <techtonik(a)gmail.com> wrote:
>> download('http://www.libsdl.org/release/SDL2-2.0.1-win32-'+uname()[4])+'.zip')
>
> Nothing personal, but that code is awful.
You're right, it's buggy because I didn't test it. Superfluous close
parenthesis there. But my point is that the architecture is right
there in the name, so you can save yourself the trouble and just use
what comes from uname directly.
ChrisA
With the more general use of python for access to database
information, numpy and scipy analysis, and web posting, it seems that
there should be more and better means of reporting from python. Some of
the existing tools are too low-level for general use (such as Reportlab).
As far as I can tell, there are no tools that approach the high-level
functionality
of Proc Report, as used in SAS. Pagination with headers and footers,
and column-spanning headers are some specific tool limitations. I
…
[View More]believe that there would be even more usage of python in science and
industry if there were better tools for reporting.
~Thomas
[View Less]