Re: [Tutor] While learning Py: To IDE or not to IDE?

2012-05-21 Thread delegbede
Broek Sender: tutor-bounces+delegbede=dudupay@python.org Date: Mon, 21 May 2012 18:17:01 To: boB Stepp Cc: Subject: Re: [Tutor] While learning Py: To IDE or not to IDE? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] extracting lines between patterns.

2012-05-14 Thread delegbede
Give an example. Let's see what you've tried and then it becomes clear what help is needed. Regards. Sent from my BlackBerry wireless device from MTN -Original Message- From: Bala subramanian Sender: tutor-bounces+delegbede=dudupay@python.org Date: Mon, 14 May 2012 09

Re: [Tutor] python arthematics

2012-03-22 Thread delegbede
BlackBerry wireless device from MTN -Original Message- From: Sukhpreet Sdhu Sender: tutor-bounces+delegbede=dudupay@python.org Date: Fri, 23 Mar 2012 06:14:41 To: tutor@python.org Reply-To: Sukhpreet Sdhu Subject: [Tutor] python arthematics

Re: [Tutor] finding a polymer of letters in a string

2012-01-19 Thread delegbede
do a line by line explanation and we could get some people in here to help you get python codes to achieve what you just explained. Regards. Sent from my BlackBerry wireless device from MTN -Original Message- From: Hs Hs Sender: tutor-bounces+delegbede=dudupay@python.org Date: T

Re: [Tutor] Making a function run every second.

2011-11-29 Thread delegbede
rever and print Hi after every 1 second when you run the program. What exactly are you trying to achieve. Sent from my BlackBerry wireless device from MTN -Original Message- From: "Mic" Sender: tutor-bounces+delegbede=dudupay@python.org Date: Tue, 29 Nov 2011 15:54:59 To:

Re: [Tutor] Variables (with lists??)

2011-11-22 Thread delegbede
er['zip'] = raw_input(‘Customer Zip Code: ‘) You can also look at what others would say. While searching google, search, creating python dictionary. HTH. Regards. Sent from my BlackBerry wireless device from MTN -Original Message- From: Chris Kavanagh Sender: tutor-bounces+

Re: [Tutor] Guess my number game

2011-11-19 Thread delegbede
MTN -Original Message- From: myles broomes Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sat, 19 Nov 2011 12:53:40 To: Subject: [Tutor] Guess my number game I am currently learning Python from the 'Python Programming for the Absolute Beginner' book. At the e

Re: [Tutor] please help - stuck for hours

2011-11-17 Thread delegbede
n int type right away before doing the multiplication. Hope this helps. Cheers. Sent from my BlackBerry wireless device from MTN -Original Message- From: ADRIAN KELLY Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 17 Nov 2011 21:19:45 To: Subject: [Tutor] please

Re: [Tutor] local variable referenced before assignment

2011-11-17 Thread delegbede
Post the error stack. Sent from my BlackBerry wireless device from MTN -Original Message- From: ADRIAN KELLY Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 17 Nov 2011 18:47:07 To: Subject: [Tutor] local variable referenced before assignment

Re: [Tutor] Hello again. Still the same problem, different question.

2011-11-11 Thread delegbede
Can you kindly mail the author? That might be a better way to have this resolved. Its interesting you are sticking with python v3. Cheers. Sent from my BlackBerry wireless device from MTN -Original Message- From: Nathaniel Trujillo Sender: tutor-bounces+delegbede=dudupay

Re: [Tutor] Okay, this time I tried doing a little research but no luck in solving this one.

2011-11-10 Thread delegbede
om my BlackBerry wireless device from MTN -Original Message- From: Nathaniel Trujillo Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 10 Nov 2011 19:41:54 To: Subject: [Tutor] Okay, this time I tried doing a little research but no luck in solving thi

Re: [Tutor] how to remove the coming duplication

2011-11-09 Thread delegbede
BlackBerry wireless device from MTN -Original Message- From: lina Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 10 Nov 2011 15:20:49 To: tutor Subject: Re: [Tutor] how to remove the coming duplication b = [] b=b.append(a[i]) for i in range(len(a)) if a[i] != b[-1

Re: [Tutor] how to remove the coming duplication

2011-11-09 Thread delegbede
Try this >>> a=['2', '5', '7', '5', '5'] >>> d=list(set(a)) >>> d ['2','5','7'] Is there any reason why your numbers are in quotes??? Hope this helps. Sent from my BlackBer

Re: [Tutor] problem with using set

2011-10-13 Thread delegbede
+1 Ramit. Sent from my BlackBerry wireless device from MTN -Original Message- From: "Prasad, Ramit" Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 13 Oct 2011 11:09:24 To: tutor@python.org Subject: Re: [Tutor] problem with using set Approach:- >>>

Re: [Tutor] problem with using set

2011-10-13 Thread delegbede
What exactly do you intend to get as an output? Sent from my BlackBerry wireless device from MTN -Original Message- From: Praveen Singh Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 13 Oct 2011 10:44:53 To: Subject: [Tutor] problem with using set

Re: [Tutor] Python coding help

2011-10-09 Thread delegbede
Try a byte of a python or alan gauld site on learning python. Welcome to python. Sent from my BlackBerry wireless device from MTN -Original Message- From: Aisha Ali Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sat, 8 Oct 2011 17:40:38 To: tutor@python.org Reply-To

[Tutor] START-UP PROJECT

2011-10-08 Thread delegbede
Hi all, I have been coding python for a while but I just can't get to rate myself. I have been part of few projects that are python based and did a pretty good job with other team mates. I however want to step up my game and make python my core competence; the challenge I have is what projec

Re: [Tutor] quick data structures question

2011-09-20 Thread delegbede
As a follow up Fred, you have to install the xlrd package to use it. It helps you interact with an excel file even if you don't have excel installed on your pc. Sent from my BlackBerry wireless device from MTN -Original Message- From: Fred G Sender: tutor-bounces+delegbede=du

Re: [Tutor] quick data structures question

2011-09-20 Thread delegbede
d G Sender: tutor-bounces+delegbede=dudupay@python.org Date: Tue, 20 Sep 2011 23:28:43 To: Subject: [Tutor] quick data structures question ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mail

Re: [Tutor] Coin Flipping Program

2011-08-21 Thread delegbede
ecked Alan Gauld's website? He dealt with python 3. Sorry Mate. Sent from my BlackBerry wireless device from MTN -Original Message- From: Joel Preston Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sun, 21 Aug 2011 12:14:37 To: Subject: [Tutor] Coin Flippi

Re: [Tutor] Beginner troubleshooting py2exe

2011-06-27 Thread delegbede
point you in the direction to go. Regards. Sent from my BlackBerry wireless device from MTN -Original Message- From: Esther Showalter Sender: tutor-bounces+delegbede=dudupay@python.org Date: Mon, 27 Jun 2011 18:27:10 To: Subject: [Tutor] Beginner troubleshooting py2exe

Re: [Tutor] nitinchandra rubbish on list

2011-06-19 Thread delegbede
t you can't even unsubscribe. While I understand how annoying that is, may I appeal you don't withdraw your contributions to this list as a result of that. Thank you. Sent from my BlackBerry wireless device from MTN -Original Message- From: Válas Péter Sender: tutor-bounces+de

Re: [Tutor] Creating a dictionary

2011-05-27 Thread delegbede
Nice observation Spawgi. Sent from my BlackBerry wireless device from MTN -Original Message- From: spa...@gmail.com Sender: tutor-bounces+delegbede=dudupay@python.org Date: Fri, 27 May 2011 20:01:24 To: Válas Péter Cc: Subject: Re: [Tutor] Creating a dictionary

Re: [Tutor] Creating a dictionary

2011-05-27 Thread delegbede
The first instance is more keystrokes while the second saves u that. Sent from my BlackBerry wireless device from MTN -Original Message- From: Válas Péter Sender: tutor-bounces+delegbede=dudupay@python.org Date: Fri, 27 May 2011 16:19:08 To: Cc: Subject: Re: [Tutor] Creating a

Re: [Tutor] PI

2011-05-26 Thread delegbede
: David Merrick Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 26 May 2011 16:21:01 To: Subject: [Tutor] PI ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo

Re: [Tutor] textbook question

2011-02-27 Thread delegbede
es nothing. Having this in mind and what Michael has sent earlier, give it a shot. All the best. Sent from my BlackBerry wireless device from MTN -Original Message- From: michael scott Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sun, 27 Feb 2011 22:34:38 To: Subject:

Re: [Tutor] Having Troubles with For Loops

2011-02-19 Thread delegbede
Berry wireless device from MTN -Original Message- From: Corey Richardson Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sat, 19 Feb 2011 13:22:25 To: Subject: Re: [Tutor] Having Troubles with For Loops On 02/19/2011 01:06 PM, jyatesster wrote: > I am refreshing my memory of

Re: [Tutor] Python and Tuples

2011-01-30 Thread delegbede
Thanks Karim. That's a way to go. Cheers. Sent from my BlackBerry wireless device from MTN -Original Message- From: Karim Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sun, 30 Jan 2011 10:50:31 To: Becky Mcquilling; python mail list Subject: Re: [Tutor] Pytho

Re: [Tutor] Python and Tuples

2011-01-30 Thread delegbede
Nice Steve, No one does it better. Weldone. Sent from my BlackBerry wireless device from MTN -Original Message- From: Steven D'Aprano Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sun, 30 Jan 2011 20:47:08 To: Subject: Re: [Tutor] Python and Tuples Becky Mcqui

[Tutor] Print Help

2010-12-29 Thread delegbede
I want to loop over a list and then print out a one statement that carries all the items in the list e.g def checking(responses): ''' Converts strings that look like A2C3D89AA90 into {'A':'2', 'C':'3', 'D':'89', 'AA':'90'}''' responses=dict(re.findall(r'([A-Z]{1,2})(

[Tutor] REGEX EXPLANATION

2010-12-21 Thread delegbede
I have been reading regex in order to work around an assignment. Could anyone explain to me in plain english what the following regex expression translate to. (r'PSC(?P\d{6})(DC|VR)(\d{2})(RC|GA)(\d{3})(!?([A-Z\d]{1,})@?(.*))?', re.I) (r'PSC(?P\d{6})VR(?P\d{2})RC(?P\d{3})(?P[ABCDEFGHJKMNPQRS

Re: [Tutor] Tutor Digest, Vol 81, Issue 90

2010-11-27 Thread delegbede
virus. Regards. Sent from my BlackBerry wireless device from MTN -Original Message- From: Wangolo Joel Sender: tutor-bounces+delegbede=dudupay@python.org Date: Sat, 27 Nov 2010 08:55:10 To: Subject: Re: [Tutor] Tutor Digest, Vol 81, Issue 90

Re: [Tutor] JOB AD PROJECT

2010-11-20 Thread delegbede
Hi People, I am afraid only Alan has said something to me. Is it that solution would never come or u guys are waiting to gimme the best? Please help. Sent from my BlackBerry wireless device from MTN -Original Message- From: "Alan Gauld" Sender: tutor-bounces+delegbe

[Tutor] JOB AD PROJECT

2010-11-19 Thread delegbede
Hi, I have done some extensive reading on python. i want to design a classifieds site for jobs. The service is meant to send people who register an sms with available jobs that fit their criteria/cv. But the main idea is that people come and register for quick jobs(like www.freelancer.com) and

Re: [Tutor] Tutor Digest, Vol 81, Issue 35

2010-11-12 Thread delegbede
device from MTN -Original Message- From: Wangolo Joel Sender: tutor-bounces+delegbede=dudupay@python.org Date: Fri, 12 Nov 2010 14:45:21 To: Subject: Re: [Tutor] Tutor Digest, Vol 81, Issue 35 ___ Tutor maillist - Tutor@python.org To unsubs

Re: [Tutor] if statement

2010-11-02 Thread delegbede
It is not always enough to send just the error. What construct do you have after the if line? Make your sample detailed to get useful responses. Regards. Sent from my BlackBerry wireless device from MTN -Original Message- From: Glen Clark Sender: tutor-bounces+delegbede=dudupay

Re: [Tutor] Zip Command

2010-10-14 Thread delegbede
I have the Winzip so I can actually view zip folders. What I want is for my backups to be wrapped in such folder. Thanks Walter Sent from my BlackBerry wireless device from MTN -Original Message- From: Walter Prins Date: Thu, 14 Oct 2010 09:29:30 To: Cc: tutor Subject: Re: [Tutor] Zip

Re: [Tutor] Zip Command

2010-10-14 Thread delegbede
seperate directory on my PC and I want the backup wrapped in a zip folder. Thanks. Sent from my BlackBerry wireless device from MTN -Original Message- From: "Alan Gauld" Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 14 Oct 2010 08:14:40 To: Subject: Re: [

[Tutor] Zip Command

2010-10-13 Thread delegbede
Hi all, Does window os have a zip command for python like linux and unix. If yes, please what is it. If no, please what does it use to create a zip folder. I am working on an example in byte of python but the zip command is from linux but I use windows. Thank you. Sent from my BlackBerry wireless

Re: [Tutor] cgi help

2010-10-06 Thread delegbede
Got it fixed. Thanks y'all. Regards, --Original Message-- From: Dave Angel To: Dipo Elegbede Cc: tutor Subject: Re: [Tutor] cgi help Sent: Oct 6, 2010 12:30 On 2:59 PM, Dipo Elegbede wrote: > here is the code: > > http://pastebin.com/K2Fxq6ac > > kindly help me figure out my mistake. > >

Re: [Tutor] CGI HELP

2010-10-06 Thread delegbede
Yes, so I did a pastebin and resent to the group. Thanks. Sent from my BlackBerry wireless device from MTN -Original Message- From: Joel Goldstick Sender: tutor-bounces+delegbede=dudupay@python.org Date: Wed, 6 Oct 2010 05:54:03 To: tutor Subject: Re: [Tutor] CGI HELP

Re: [Tutor] Coin Toss Problems

2010-10-01 Thread delegbede
From: Colleen Glaeser Sender: tutor-bounces+delegbede=dudupay@python.org Date: Fri, 1 Oct 2010 02:49:33 To: Subject: [Tutor] Coin Toss Problems ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.pytho

Re: [Tutor] Printing prime numbers

2010-09-30 Thread delegbede
Ok. I will do that as soon As I get back to my workstation. Sent from my BlackBerry wireless device from MTN -Original Message- From: Shashwat Anand Date: Thu, 30 Sep 2010 19:11:33 To: Cc: Subject: Re: [Tutor] Printing prime numbers On Thu, Sep 30, 2010 at 5:27 PM, wrote: > Hi all,

[Tutor] Printing prime numbers

2010-09-30 Thread delegbede
Hi all, I am trying to write a function that prints out which number is prime in range (1,500) The function would check thru and the print out something like 1 is prime 2 is prime 3 is prime 4 is not 5 is prime Please help me. Thank you. Sent from my BlackBerry wireless device from MTN __