For the past few months, apart from the data issue, I am involved in merging multiple pdfs to create a book of reading for the university. Refer to my post: Pdf merging. I am using two different libraries to complete this project: pypdf and reportlab Here is a very simple example of using reportlab library …
Category Archive: Python
Permanent link to this article: http://lindaocta.com/?p=114
Mar
18
workflow issue….
Today I sat down whole day working on the generating selected reading book. I completed merging pdf files function and successfully generate the book. Since the beginning of this additional plugin, I faced a lot of data issues that given to me. Part of these are the workflow as the validity of the data are …
Permanent link to this article: http://lindaocta.com/?p=82
Feb
17
Pdf merging
I hv been spending past few weeks in trying to merging different PDFs into one book to provide a complete reading books for student. With quite a few available python library, this task sound easy. I worked with reportlab, it has a powerful builtin functions, but I do not need these as all I need …
Permanent link to this article: http://lindaocta.com/?p=75
Jan
21
Converting Transparent GIF to PNG by using pyPIL
To modify GIF89a files in PIL (Python Imaging Library) is a bit tricky. Unlike GIF87a, GIF89a supported animation as well as transparent background, however, PIL only support “read” mode of GIF89a. Thus, when there is a need to modify GIF89a file, all the information (e.g. alpha channel) will not be maintained as PIL will save …
Permanent link to this article: http://lindaocta.com/?p=66
Dec
13
Python ElementTree
Elementtree provides a nice XML document handling in python. I found elementtree is useful to handle my xhtml document. I can easily insert a new element in whichever part of the xhtml document. When I generate html file for LaTeX through tex4ht (my previous blog), the html file is not xhtml format. Since I want …
Permanent link to this article: http://lindaocta.com/?p=33
Nov
22
Eclipse 3.2 and 3.3 Update Site for Pydev, Maven and Subsclipse
Whenever I install eclipse, I always wasted my time searching for the update site. These are dependencies needed to install PyDev and Subsclipe in Eclipse (I assume that you know how to add the remote site and install those Eclipse packages): Mylar (Do not need anymore this since it’s com with pydev now) Mylar is …
Permanent link to this article: http://lindaocta.com/?p=27
