I've been working on a way to parse an XML document and convert it into a
python dictionary. I want to maintain the hierarchy of the XML. Here is the
sample XML I have been working on:
Neil Gaiman
Glyn Dillon
Charles Vess
This is my first stab at this:
#!/usr/bin/env pyth
Le Fri, 13 Nov 2009 17:58:30 +,
Stephen Nelson-Smith s'exprima ainsi:
> I think I'm having a major understanding failure.
>
> So having discovered that my Unix sort breaks on the last day of the
> month, I've gone ahead and implemented a per log search, using heapq.
>
> I've tested it with
thanks a lot for the clarification Alan and all.
--
Regards,
bibs M.
Host/Kernel/OS "cc02695" running Linux 2.6.31-5.slh.4-sidux-686
[sidux 2009-02 Αιθήρ - kde-full - (200907141427) ]
www.sidux.com
Alan Gauld wrote:
"biboy mendz" wrote
chapter 8: hangman.py
expression is: print(l
On 11/12/2009 4:41 PM Yashwin Kanchan said...
Hi Guys
I am trying to create a simple test COM server , but am have trouble
assigning any property value to it through excel VBA.
Please point out where i am going wrong.
#COM server
class test(object):
_reg_clsid_ = "{B5901450-F9A1-4F76-8
I think I'm having a major understanding failure.
So having discovered that my Unix sort breaks on the last day of the
month, I've gone ahead and implemented a per log search, using heapq.
I've tested it with various data, and it produces a sorted logfile, per log.
So in essence this:
logs = [
"Hugo Arts" wrote
print letter, ' ',
You don't need the space, Python automatically inserts
a space instead of the newline when you use the comma.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/l2p/
___
Tutor maill
"biboy mendz" wrote
chapter 8: hangman.py
expression is: print(letter, end=' ')
it explained:
end keyword argument in print() call makes the print() function put a
space
character at the end of the string instead of a newline.
however when run it gives error: SyntaxError: invalid syntax.
List,
__repr__() is exactly what I was looking for :)
You guys rock! Thank you.
-Modulok-
On 11/12/09, Dave Angel wrote:
>
>
> Kent Johnson wrote:
>> On Thu, Nov 12, 2009 at 6:35 AM, Luke Paireepinart
>> wrote:
>>
>>> On Thu, Nov 12, 2009 at 5:29 AM, Jeff R. Allen wrote:
>>>
You are loo
On Fri, Nov 13, 2009 at 2:17 PM, biboy mendz wrote:
> http://inventwithpython.com
>
> chapter 8: hangman.py
>
> expression is: print(letter, end=' ')
>
> it explained:
> end keyword argument in print() call makes the print() function put a space
> character at the end of the string instead of a ne
http://inventwithpython.com
chapter 8: hangman.py
expression is: print(letter, end=' ')
it explained:
end keyword argument in print() call makes the print() function put a space
character at the end of the string instead of a newline.
however when run it gives error: SyntaxError: invalid synta
10 matches
Mail list logo