View Single Post
Old 03-30-2008, 10:37 AM   #8
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Hi,

: "i downloaded python for windows and saved the ReportLab libraries for windows in the Dlls folder"

I suppose you mean python2.5 DLL directory, and not windows system directory.
This should be ok.

Also note that both Ian's program and mine are command line applications; so you should run them inside a terminal window (in windows: run => cmd.exe).
Then, go to the directory you have put the files in ("cd path_to_files") and type "python Calendar.py" to run Ian's program or "python c.py" to run mine.
Note you must have python interpreter in your PATH (python installation program for windows does it afaik).

Both programs creates .pdf files in current directory. Look for "Calendar.pdf" or "agenda-2008.pdf".

Please try it again and show us the error messages that appears in the terminal if it doesn't work.

Disclaimer: I don't use windows myself so perhaphs some of the above indications are not totally correct.


As Ian, I don't have much time to finish the program, but it is in my TODO list, someday...

Best regards,
Iņigo

PD: I've attached a slightly modified version. This accepts some parameters.
Run with "python iliad-agenda --help" for options.
Attached Files
File Type: zip iliad-agenda.py.zip (6.1 KB, 571 views)
Iņigo is offline   Reply With Quote