Re: Code critique xmlrpclib

2009-02-03 Thread flagg
On Feb 3, 7:32 am, Nick Craig-Wood wrote: > flagg wrote: > >  This xmlrpc server is designed to parse dns zone files and then > >  perform various actions on said files. \ > >  It uses dnspython, and xmlrpclib > >   I'd like to know what some of the more exp

Code critique xmlrpclib

2009-02-02 Thread flagg
This xmlrpc server is designed to parse dns zone files and then perform various actions on said files. \ It uses dnspython, and xmlrpclib I'd like to know what some of the more experienced python users think. Where I could improve code, make it more efficient, whatever. All suggestions are welcome

Re: SimpleXMLRPCServer question

2009-02-01 Thread flagg
On Feb 1, 12:38 am, "Hendrik van Rooyen" wrote: >  "flagg" wrote: > >Let me see if i can elaborate on the requirements.  I have 20+ > >different zone files.  I want the xmlrpc server to be able to > >determine what zone file to open by looking at the inc

Re: SimpleXMLRPCServer question

2009-01-31 Thread flagg
On Jan 30, 8:12 pm, rdmur...@bitdance.com wrote: > Quoth flagg : > > > I am working on a very basic xmlrpc server, which will expose certain > > functions for administering BIND zone files.  The big problem I am > > having is parsing the incoming xmlrpc request.  Basicall

SimpleXMLRPCServer question

2009-01-30 Thread flagg
I am working on a very basic xmlrpc server, which will expose certain functions for administering BIND zone files. The big problem I am having is parsing the incoming xmlrpc request. Basically part of the xmlrpc request will help deterime which zone file is edited.I have been looking at the d

Re: Beginner: Data type conversion question

2009-01-16 Thread flagg
On Jan 15, 11:43 pm, Marc 'BlackJack' Rintsch wrote: > On Thu, 15 Jan 2009 21:09:43 -0800, flagg wrote: > > def checkSerial(): > >     """ > >     Checks the current 'date' portion of the serial number and checks > >     the c

Re: Beginner: Data type conversion question

2009-01-16 Thread flagg
On Jan 15, 11:35 pm, Terry Reedy wrote: > flagg wrote: > > I am still fairly new to python and programming in general.  My > > question is regardingdataconversion, I am working on a script that > > will edit dns zone files, one of the functions i wrote handles > >

Re: Beginner: Data type conversion question

2009-01-15 Thread flagg
On Jan 15, 9:16 pm, Chris Rebert wrote: > On Thu, Jan 15, 2009 at 9:09 PM, flagg wrote: > > I am still fairly new to python and programming in general.  My > > question is regarding data conversion, I am working on a script that > > will edit dns zone files, one of the func

Beginner: Data type conversion question

2009-01-15 Thread flagg
I am still fairly new to python and programming in general. My question is regarding data conversion, I am working on a script that will edit dns zone files, one of the functions i wrote handles updating the serial number. Our zone files use the date as the first part of the serial and a two digit