Re: [Tutor] Help required

2009-09-26 Thread waqas ahmad
Hi, First of all thanks a lot for your reply. "search.findall" is not working. here is my complete small program. def getAcl(request, pg): pged = PageEditor(request, pg) pagetext = pged.get_raw_body() search=re.compile("^#acl InternationalGroup.*\n", re.M).search(pagetext) i

Re: [Tutor] need help with conditionals

2009-09-26 Thread kevin parks
On Sep 26, 2009, at 11:42 PM, Alan Gauld wrote: "Kent Johnson" wrote It appears to be http://openbookproject.net/thinkCSpy/ch04.html So it is, Thats a shame CSpy is one of my favourite "competitors" :-) Pity it's apparently encouraging the use of eval like this with no caveat. But to

Re: [Tutor] need help with conditionals

2009-09-26 Thread Kent Johnson
On Sat, Sep 26, 2009 at 3:59 AM, Alan Gauld wrote: > What are you using for a tutorial? It appears to be http://openbookproject.net/thinkCSpy/ch04.html Kent ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://m

Re: [Tutor] python win32 drive mapping help

2009-09-26 Thread Alan Gauld
"Vineet Kothari" wrote I want to map c:/temp folder of A to C & c:/temp folder of B to C as well do some copying of data and then delete the mapping. I tried using the code given for mapping: import win32net win32net.NetUseAdd(None,1,{'remote':r'\\server\share','local':'K:','password':'XXX'

Re: [Tutor] need help with conditionals

2009-09-26 Thread Alan Gauld
"Kent Johnson" wrote It appears to be http://openbookproject.net/thinkCSpy/ch04.html So it is, Thats a shame CSpy is one of my favourite "competitors" :-) Pity it's apparently encouraging the use of eval like this with no caveat. But to the OP, keep with it, its not a bad tutorial, shame

Re: [Tutor] [Reply]need help with conditionals

2009-09-26 Thread Alan Gauld
"Corey Richardson" wrote is a good Tut on conditionals. Boolean is near the top. http://www.freenetpages.co.uk/hp/alan.gauld/tutbranch.htm Note that this site will die soon and has not been updated for about 2 years. Please use the new url: http://www.alan-g.me.uk/ Note that it currently r

Re: [Tutor] need help with conditionals

2009-09-26 Thread Alan Gauld
wrote been really frustrating me. Here's a copy of the problem, and sorry if its really long but its the end question about the logically equivalent expressions I'm stuck on. Anyways, heres a copy of the problem First send us the real code you have used not a copy of your homework. And se