Hi,
I would like to have my email changed from delegb...@dudupay.com to
dipo.elegb...@dipoelegbede.com
I have not in a long time used this email and as such would like all
correspondences sent to the new email so that I can resume my participation
in the group.
I sincerely hope this would be giv
There is nothing called franeButton it should be frameButton. I guess its a
typo.
On 3 Nov 2011 05:52, "Chris Hare" wrote:
>
> I have the following code:
>
>def listUsers(self):
>self.frameBottom = Frame(self.base, bd=0, bg=backColor)
>self.frameBottom.gri
>>> definitions =
{'name':'dipo','food':'spaghetti','age':30,'location':'lagos'}
>>> definitions.keys()
['food', 'age', 'name', 'location']
>>> definitions.values()
['spaghetti', 30, 'dipo', 'lagos']
>>>
You can do this to get what you want.
Hope it helps.
On Tue, Oct 25, 2011 at 2:54 PM, wrote
What you did here is just re-assigning s.
Try slicing s and then assign a new value to the slice.
s[2] would return 'r' now try to to set s[2] to another value to understand
immutability.
Hope it helps.
On 24 Oct 2011 19:06, "Johan Martinez" wrote:
> Hi,
>
> I am struggling to understand Python
I am trying to access a url using the urllib2.urlopen() command.
It does well when i run from idle but as soon as i plug into my app; it
gives me this .
Is there anything I am doing wrong or a thing I should look at?
--
Elegbede Muhammed Oladipupo
OCA
+2348077682428
+2347042171716
www.dudupay.c
Hi All,
I want to write an application in python with which I can log into gtalk.
Kindly point me to any documentation with which I can move on.
Advices too would be of great help..
Thanks.
--
Elegbede Muhammed Oladipupo
OCA
+2348077682428
+2347042171716
www.dudupay.com
Mobile Banking Solutio
The counter is there so that it limits the iteration to only the first rows,
i actually left it there because i used it earlier to print out specific
rows.
On Thu, Mar 17, 2011 at 2:04 PM, Joel Goldstick wrote:
>
>
> On Thu, Mar 17, 2011 at 8:53 AM, Dipo Elegbede wrote:
>
>>
&
es:
writer.writerow([party])
counter += 1
fh.close()
Thanks for your responses as anticipated.
On Thu, Mar 17, 2011 at 1:00 PM, Tim Golden wrote:
> On 17/03/2011 11:56, Dipo Elegbede wrote:
>
>> i wrote a code for extracting information from a csv file into another
&g
i wrote a code for extracting information from a csv file into another csv
file.
it worked well but i have an immediate challenge i can't seem to fix.
the new file that is created has an row and then an empty row and then a row
all through the file. how can i make the empty rows not be part of the
i can mail free books on python 2. if you want.
starting out with python 3.XXX restricts the amount of help you can get and
also free resources.
most resources i have come across are python 2.XXX.
cheers.
On Thu, Feb 24, 2011 at 9:58 AM, Andre Engels wrote:
> On Thu, Feb 24, 2011 at 5:15 AM,
That line only expects int and say numbers generally.
If you want to print strings, use, raw_input in place of input.
Try that out and then let's have a feedback.
Sent from my BlackBerry wireless device from MTN
On Thu, Feb 24, 2011 at 9:53 AM, Nitin Pawar wrote:
> instead of input ... use raw_in
Hi peeps,
I am trying to write a code such that i can send an sms to a specific url
from my phone and get a reply back from the url.
I want the reply to be the content of the url I send to; what modules would
you advice.
I am testing with the url: http://www.dipoelegbede.com/msg.txt.
I have succee
Hello Everybody,
I am working on a little project centered on PyS60, developing applications
for symbian phones.
Before I start asking questions pertaining to that, I would like to first
clarify if it is appropriate to post such questions here.
If it is a yes, then, my subsequent mails would be
here is the code:
http://pastebin.com/K2Fxq6ac
kindly help me figure out my mistake.
It is supposed to return a table of environmental variables but it returns
only the header and a blank page.
thanks
--
Elegbede Muhammed Oladipupo
OCA
+2348077682428
+2347042171716
www.dudupay.com
Mobile Bank
Hi all,
I wrote this code as an example from a book:
#!c:\Python26\python.exe
# Program displaying CGI environment variables.
import os
import cgi
def printHeader(title):
print """Content-type: text/html
http://www.w3.org/1999/xhtml";>
%s
""" % title
rowNumber = 0
backgroundColour = "white
Kindly help me with the following tasks.
You may want to start with explanations for me and then pseudo-codes,
I should be able to take it from there.
They are exercises from deitel how to program for Python.
I have done a lot of thinking and its almost discouraging me. Please help.
Thanks.
4.4 A
I go with Alan.
If you however arrive at a choice book or books, send me a list of the
books, I will check if I have any of them. I have plenty books on
python now.
You may not need to send a personal mail, just send it here on the
forum and i would send you a download link.
I hope by that everyone
>From what I can understand, I think you are getting what you should
get. If you want the program to ask you for a number onput, i think
you should type something like:
x = raw_input('Enter a Number: ')
x is a variable that takes whatever value you type in.
This I feel should be the line if you are
You need to check the indentation properly.
In this case, elif has to be on the same indentation level with if. I
should think so.
If you're working straight from the python interactive console, like I
think you're doing, you need to manually do the indentation thing by
yourself.
First, I don't und
hi,
I am doing reading on django
what ook would you recommend for a beginner?
I have been trying to work with the documentations but get stock in between
and totally become lost.
this continous break is giving me too much headache to move on and i am
getting discouraged.
Please recommend a
I was trying to write a code that prints prime numbers between 1 and 20.
I have by myself seen that something is wrong with my code and also my
brain.
Could anyone be kind enough to tell me what to do
Where I am confused is how to test for other numbers without one and the
number itself. It
>
> Which is what it will do when python is started from that directory.
>
> I actually found the copies that were made by the code in the same
> directory but found out that they all had a .thumbnail ext which would not
> open and it is understandable.
>
> I have however chaged that part of the co
Hello All,
Kindly help me with the location for the files created by this codes.
I have already compiled the codes and it has no error.
I copied the code from the following url:
http://www.pythonware.com/library/pil/handbook/image.htm
This is supposed to create thumbnails of picture in the dire
Hello people,
I am working on an interface that is supposed to interact with a webcam and
capture pictures into a database and also fingerprint from a fingerprint
hardware.
Is there any python module or library I can work with.
I need suggestions, assistance and information where necessary.
To
Hi all,
please tell me what is wrong with the syntax as written herein:
http://pastebin.com/BkLi0A4H
I am actually trying to let a user input something and have the input
returned in a reverse form and also see the lenght of the input.
please help.
--
Elegbede Muhammed Oladipupo
OCA
+23480776
Hi all,
I have done a little basic on python and have to start working on a
major django platform.
I'm starting new and would like recommendations on books I can read.
Kindly help me out. I want to get my hands dirty as fast as I can so
that I can be part of the project.
Thanks and Best regards,
Tried it out and it worked.
Thanks.
Regards,
On 7/5/10, Shashwat Anand wrote:
> use input() instead of raw_input() in Python3.x
>
> On Mon, Jul 5, 2010 at 8:50 PM, Dipo Elegbede wrote:
>
>> Hello,
>>
>> I seem to be having problems with raw_input.
>>
>&g
Hello,
I seem to be having problems with raw_input.
i wrote something like:
raw_input('Press Enter')
it comes back to tell me raw_input is not defined, a NameError!
Is it that something about it has changed in python 3.1 or I have been
writing the wrong thing.
Please enlighten me.
regards.
Hi all,
Pls does anyone know whether I can install python and code on my Nokia E71?
I have full access to computer at my office but not at home. This is
creating a serious break in my flow of study.
With python on my phone,I can learn and code on the fly.
Already,I read Alan Gauld's note from my ph
i hope i'll one day get to this level in my programming quest.
welldone all.
On 5/27/10, nikunj badjatya wrote:
> Hi,
>
>>Is it the standard Outlook Web Access(OWA) tool that
>>comes with MS Exchange?
>
> Yes.
>
>>Are you trying to write a script that talks to the web
>>browser to refresh the pag
folder Is there also
> a copy in the Projects folder?
>
> You should move your Projects folder somewhere else though.
> Because if you uninstall python 3.1 - for example when
> version 3.2 comes out - the uninstaller will delete python31
> and everything under it - including y
should run.
> In fact you might even get away wioth jusdt typing:
>
> C:\Projects\Python\> myprogram.py
>
> Because in theory Windows should know to run python
> for a .py file But it often "forgets" :-(
>
>
> Alan Gauld
> Author of the Learn To Program websi
e, I think a single
parenthesis is missing. it should be six in all.
Please confirm and effect the correction on the web page.
Thanks.
On 5/19/10, Dipo Elegbede wrote:
> Thanks Alan, I'm on it.
> Regards.
>
> On 5/18/10, Alan Gauld wrote:
>>
>> "Dipo Elegbede
Thanks Alan, I'm on it.
Regards.
On 5/18/10, Alan Gauld wrote:
>
> "Dipo Elegbede" wrote
>
>> please confirm this is a new syntax for print.
>> thank you.
>>
>> i will put up morte concerns as they arrive.
>
> Please read the Whats New in
ok
On 5/18/10, spir ☣ wrote:
> On Tue, 18 May 2010 14:53:45 +0100
> Dipo Elegbede wrote:
>
>> I AM CURRENTLY LEARNING WITH PYTHON 3.0
>> just about now, you are all blowing my minds.
>> this is great.
>
> Please don't write your replies on top. Write them i
line because this is going into a different topic.
>
> On Tue, May 18, 2010 at 05:39:50PM +0100, Dipo Elegbede wrote:
>> A LITTLE EXPLANATIONS ON CONTINUE WOULD BE APPRECIATED TOO.
>> in a recap, i would appreciate any brief explanation on
>> 1. break
>> 2. continue
>
A LITTLE EXPLANATIONS ON CONTINUE WOULD BE APPRECIATED TOO.
in a recap, i would appreciate any brief explanation on
1. break
2. continue
3. while loop
how they work and application in writing codes.
thank you all.
On 5/18/10, Dipo Elegbede wrote:
> thanks Steven. I'll always be mindful
thanks Steven. I'll always be mindful of that.
By the way, I need someone to briefly explain to me how the while loop works.
a little on break will also do.
thanks.
On 5/18/10, Steven D'Aprano wrote:
> On Tue, 18 May 2010 11:36:02 pm Dipo Elegbede wrote:
>> ples help me figur
all worked well.
thanks all.
On Tue, May 18, 2010 at 2:47 PM, alex gunn wrote:
> its the "the" part
>
> print('Here are the numbers from 0 to 9')
> # for i in the range(10): #your version
> for i in range(10): #try this
> print(i)
>
> im still learning myself, so be gentle if im wrong but it
That's a good one Sir, i started out with 2.x series but left it for a
while.
Coming back now, i'm getting on well just for this few changes but I think
with a forum like this, I'd fare well in this pythonic journey.
Thanks.
On Tue, May 18, 2010 at 2:56 PM, Walter Prins wrote:
> IMHO: If you're
I AM CURRENTLY LEARNING WITH PYTHON 3.0
just about now, you are all blowing my minds.
this is great.
On Tue, May 18, 2010 at 2:49 PM, Dave Angel wrote:
> (Please don't top-post. Add your comments to the end of the portion you're
> quoting.)
>
>
> Dipo Elegbede wrote:
&
ples help me figure out what is wrong with this syntax?
print('Here are the numbers from 0 to 9')
for i in the range(10):
print(i)
thank you.
i am currently reading a byte of a python.
thanks.
--
Elegbede Muhammed Oladipupo
OCA
+2348077682428
+2347042171716
www.dudupay.com
Mobile Banking
as i anticipate responses.
regards.
On Tue, May 18, 2010 at 2:02 PM, James Reynolds wrote:
>
>
> On Tue, May 18, 2010 at 8:40 AM, Dipo Elegbede wrote:
>
>> Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
>> (Intel)] on win32
>> Type "copyr
Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit (Intel)]
on win32
Type "copyright", "credits" or "license()" for more information.
>>> print 'hello'
SyntaxError: invalid syntax (, line 1)
>>> print ('hello')
hello
>>>
the above print is what i came across having installed pytho
44 matches
Mail list logo