> myBlurb = "My Favorite Cars -
> My favorite cars are available at " +
> myText + "
>
> What am I missing here?
Sorry about posting in python group. My XML coding was embedded in python
script. I will do better next time.
The problem was with placement of tags. The following worked:
myB
From: Pavol Lisy
On 2/7/17, Steven D'Aprano wrote:
> On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote:
[...]
>> But when I try to bold, it bombs. It does not seem to like either of
>> these (+ myText + "") (separately or together) appended on the
>> end.
>
> How are you trying to bold? If
ing this question in Microsoft's Office/Word Document
forums. Good luck!
accessnew...@gmail.com wrote, on February 06, 2017 5:00 PM Subject: Coding
issue with XML for word document
>
>
> I am constructing a sentence to insert into a word xml
> template. My code is below
>
> -
n261.z1
> Sent: Monday, February 06, 2017 9:52 AM
> To: python-list@python.org
> Subject: Re: Coding issue with XML for word document
>
>
> From: "Deborah Swanson"
>
> I don't see any Python in your code. The python.org list
> isn't generally familiar with Mi
On 2/7/17, Steven D'Aprano wrote:
> On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote:
[...]
>> But when I try to bold, it bombs. It does not seem to like either of
>> these (+ myText + "") (separately or together) appended on the
>> end.
>
> How are you trying to bold? If you're programming
fice/Word Document
forums. Good luck!
accessnew...@gmail.com wrote, on February 06, 2017 5:00 PM Subject: Coding
issue with XML for word document
>
>
> I am constructing a sentence to insert into a word xml
> template. My code is below
>
>
> #Create a li
17 9:52 AM
> To: python-list@python.org
> Subject: Re: Coding issue with XML for word document
>
>
> From: "Deborah Swanson"
>
> I don't see any Python in your code. The python.org list
> isn't generally familiar with Microsoft proprietary code,
accessnew...@gmail.com wrote, on February 06, 2017 5:00 PM Subject: Coding
issue with XML for word document
>
>
> I am constructing a sentence to insert into a word xml
> template. My code is below
>
>
> #Create a list
>
> if len(myLis
On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote:
> I am constructing a sentence to insert into a word xml template. My code
> is below
>
> #Create a list
> if len(myList) > 0:
> if len(myList) > 1:
What is myList? Where does it come from?
> testText = list_format(myList) + "
on February 06, 2017 5:00 PM
Subject: Coding issue with XML for word document
>
>
> I am constructing a sentence to insert into a word xml
> template. My code is below
>
>
> #Create a list
>
> if len(myList) > 0:
> if len(myLi
I am constructing a sentence to insert into a word xml template. My code is
below
#Create a list
if len(myList) > 0:
if len(myList) > 1:
testText = list_format(myList) + " dealers."
else:
myText = myList[0] + " dealer."
#Contruct sentence
#m
11 matches
Mail list logo