I am trying to parse a Python nested list that is the result of the
getOutlines() function of module PyPFD2 using pyparsing module. This is the
result I get. what in the world are 'expandtabs' and why is that making a
difference to my parse attempt?
Python Code
7
import PPDF2,pyparsing
from pyp
On Sunday, February 4, 2018 at 4:26:24 PM UTC-6, Stanley Denman wrote:
> I am trying to parse a Python nested list that is the result of the
> getOutlines() function of module PyPFD2 using pyparsing module. This is the
> result I get. what in the world are 'expandtabs' and w
On Sunday, February 4, 2018 at 5:06:26 PM UTC-6, Steven D'Aprano wrote:
> On Sun, 04 Feb 2018 14:26:10 -0800, Stanley Denman wrote:
>
> > I am trying to parse a Python nested list that is the result of the
> > getOutlines() function of module PyPFD2 using pyparsing module
On Sunday, February 4, 2018 at 5:32:51 PM UTC-6, Stanley Denman wrote:
> On Sunday, February 4, 2018 at 4:26:24 PM UTC-6, Stanley Denman wrote:
> > I am trying to parse a Python nested list that is the result of the
> > getOutlines() function of module PyPFD2 using pyparsing modu
I am new to Python. I am trying to extract text from the bookmarks in a PDF
file that would provide the data for a Word template merge. I have gotten down
to a string of text pulled out of the list object that I got from using PyPDF2
module. I am stuck on now to get the data out of the string t
On Friday, February 9, 2018 at 1:08:27 AM UTC-6, dieter wrote:
> Stanley Denman writes:
>
> > I am new to Python. I am trying to extract text from the bookmarks in a PDF
> > file that would provide the data for a Word template merge. I have gotten
> > down to a string o
On Friday, February 9, 2018 at 12:20:29 AM UTC-6, Lawrence D’Oliveiro wrote:
> On Friday, February 9, 2018 at 6:04:48 PM UTC+13, Stanley Denman wrote:
> > {'/Title': '1F: Progress Notes Src.: MILANI, JOHN C Tmt. Dt.:
> > 05/12/2014 - 05/28/2014 (9 pages)
I am trying to performance a regex on a "string" of text that python isinstance
is telling me is a dictionary. When I run the code I get the following error:
{'/Title': '1F: Progress Notes Src.: MILANI, JOHN C Tmt. Dt.: 05/12/2014 -
05/28/2014 (9 pages)', '/Page': IndirectObject(465, 0), '/
On Tuesday, February 13, 2018 at 9:41:14 AM UTC-6, Mark Lawrence wrote:
> On 13/02/18 13:11, Stanley Denman wrote:
> > I am trying to performance a regex on a "string" of text that python
> > isinstance is telling me is a dictionary. When I run the code I get