On Mon, Jun 23, 2014 at 12:00 PM, Dang Quang Vinh <
dqvi...@gmail.com>
wrote:
> Hello
>
> I built from source (Python 2.7, Windows 8 64 bits)
That makes sense. I'm not sure how Windows assigns handlers, but
whatever it does only gets done in the Windows installer. I think you
should be able to run the scripts with the pythonw executable
(C:\Python27\pythonw.exe, by default), but I haven't actually tried
that.
On Mon, Jun 23, 2014 at 12:06 PM, Dang Quang Vinh <
dqvi...@gmail.com>
wrote:
> Hello
>
> Actually I am trying to find a solution to make annotation and
> highlight text in PDF files, then I came up with your solution.
>
> Could you please tell me is it possible to add comments and highlight
> text in PDF files by using your library?
Yes, sort of. The prsam and prsam-tk scripts are designed for getting
annotations off of Sony ereaders. They don't provide any way to create
those annotations. (But if you have an ereader, you can make them
there and then import them.) As part of this, the prsannots package
has a Python module called pdfannotation.py that can add annotations to
a PDF file. You can use this to add annotations to PDF files in your
own scripts. There's a short sample of its use at the bottom of
pdfannotation.py.
Robert