Re: [Tutor] [OT] Python Study Group

2010-01-30 Thread Eri Mendz
You have no choice Wesley, after all this is your book haha. I have joined in since i have your book 2nd edition. I even have your livelessons CD, i thought i get it as well to complement the thick 2nd ed. book. Looking forward to meet you all soon. -- Best Regards Jonathan Swift - "May you li

Re: [Tutor] Local vs global

2009-11-08 Thread Eri Mendz
On Sat, Nov 7, 2009 at 3:26 PM, Dave Angel wrote: > Alan Gauld wrote: >> > Alan - Excellent comments, as usual. > > bibimidi - I would point out that after you remove the 'global choose' line > as Alan said, you should rename the global variable you're using to store > the return value.  They're a

Re: [Tutor] Compute data usage from log

2009-10-27 Thread Eri Mendz
On Tue, Oct 27, 2009 at 7:24 PM, Dave Angel wrote: > (For some reason you keep top-posting.  Add your comments to the end, or > inline if appropriate) > Hi Dave, Noted the top posting thing thanks for reminding :-) > > In an earlier example, you already had a for loop on the log_file so the >

[Tutor] Seek advise to code Re: Fw: Please submit to tutor list: dictionary update prob

2005-01-24 Thread Eri Mendz
Kent Johnson tds.net> writes: [snip] > You still aren't doing anything with newdic. The absence of 'newdic' in the > code > after 'read.close()' should be a clue > > I think you want to overwrite the saved dict, but with the new dict instead > of > with a filename string... Hi Kent, Firs

[Tutor] Re: Fw: Please submit to tutor list: dictionary update prob

2005-01-20 Thread Eri Mendz
Kent Johnson tds.net> writes: > > Jacob S. wrote: > >> sorry to send this to you but if you may, kindly send to tutor list as im > >> no longer subscribed. my problem is in the update dict portion: it just > >> doesnt update regardless how many contacts i add. kindly advise where > >> my mistak

Re: [Tutor] O.T.

2004-12-29 Thread Eri Mendz
joining in this ASL thread. i'm my kids dad, father of 2, an expat workin in saudi arabia. a newbie trying to learn python to see how far i could go... know a bit of shell scripting, tried Perl but never went far. i like Python's clear syntax, so close to basic english. but of course there'

[Tutor] OT: Flow chart

2004-12-19 Thread Eri Mendz
nyone pointing me to the right direction is appreciated. -- regards, erimendz -- regards, eri mendz ___ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Address book sort of

2004-12-05 Thread Eri Mendz
ven't tested this though... Standard disclaimer - There's probably an easier way to do it, and a more elegant way. Which someone will post shortly. Cheers, Liam Clarke On Mon, 6 Dec 2004 07:55:11 +0300 (Arab Standard Time), Eri Mendz <[EMAIL PROTECTED]> wrote: On Sun, 5 Dec 2004, Jacob

Re: [Tutor] Address book sort of

2004-12-05 Thread Eri Mendz
email address2 Just for my learning experience :-). Thanks! -- Regards, Eri Mendz from __future__ import division tel = {} try: file = open('Telephone.cfg', 'r') except: file = open('Telephone.cfg','w') file.close() file = open('Telephone.cfg

[Tutor] Address book sort of (fwd)

2004-12-04 Thread Eri Mendz
-- Regards, Eri Mendz -- Forwarded message -- Date: Sat, 4 Dec 2004 15:53:36 +0300 (Arab Standard Time) Subject: Address book sort of Dear Tutor, I like to know what is the proper procedure (is algorithmn the right term?) in creating data in a program, write it to file, close the

[Tutor] OT: test

2004-12-04 Thread Eri Mendz
sorry it seems like my email address is mangled in my earlier post. resending new message with address in sig. -- Using PC-Pine 4.61 email: erimendz_at_bluebottle.com reply to: erimendz_at_fastmail.fm ___ Tutor maillist - [EMAIL PROTECTED] http://mail.p

[Tutor] Address book sort of

2004-12-04 Thread Eri Mendz
tions(): print ''' Options: [1] - Print content of list [2] - Add name to list [3] - Delete name from list [4] - Change name in list [5] - Save list to file [P] - Print this menu [Q] - Quit ''' -- Regards, Er