subhendu.pand...@gmail.com wrote:
Hi,
Could you please help me with the below if possible:
Possible and reasonable are two different things. Why don't you try
some web searches and try to answer some of your own questions. I offer
this advice as a Python newbe myself.
Bill
1. Best si
In article
,
Benjamin Kaplan wrote:
> On Sun, Jul 11, 2010 at 1:18 PM, dk wrote:
[...]
> > when i try to compile mysql-python-1.2.3 i get the following error
> > returned from python setup.py build -
> >
> > building '_mysql' extension
> > gcc-4.0 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
On Sun, Jul 11, 2010 at 1:18 PM, dk wrote:
> I have been going round and round trying to configure python 2.6
> running on osx 10.6.x to work with mySQL 5.1.44.
> Python seems to work ... i have an installation of mysql 5.1.44
> running and have used it in conjunction for other php/apache projects
On Apr 17, 11:00 pm, Basilisk96 <[EMAIL PROTECTED]> wrote:
> On Apr 14, 8:46 pm, "Eric" <[EMAIL PROTECTED]> wrote:
>
> > Hello, after reading some of the book Programming Python it seems that
> > python is something I would like to delve deeper into. The only thing
> > is, I have no idea what I sho
On Apr 14, 8:46 pm, "Eric" <[EMAIL PROTECTED]> wrote:
> Hello, after reading some of the book Programming Python it seems that
> python is something I would like to delve deeper into. The only thing
> is, I have no idea what I should try and write. So I was hoping that
> someone here could help poi
James Stroud <[EMAIL PROTECTED]> wrote:
>py> t = timeit.Timer(stmt=s)
>py> print "%.2f usec/pass" % (100 * t.timeit(number=10)/10)
>40.88 usec/pass
7stud <[EMAIL PROTECTED]> wrote:
>What does this accomplish:
>
>100 * t.timeit(number=10)/10
>
>that the following doesn't acc
Steve Holden wrote:
> James Stroud wrote:
>> Steve Holden wrote:
>>> You'd be worth more if you'd used elif and omitted the continue
>>> statements, but for a first solution it's acceptable.
>>
>> Depends on what you are after.
>>
>> py> s = """
>> ... for i in xrange(1,101):
>> ... if not i % 1
7stud wrote:
> On Apr 15, 9:49 pm, James Stroud <[EMAIL PROTECTED]> wrote:
>> py> t = timeit.Timer(stmt=s)
>> py> print "%.2f usec/pass" % (100 * t.timeit(number=10)/10)
>> 40.88 usec/pass
>>
>
> What does this accomplish:
>
> 100 * t.timeit(number=10)/10
>
> that the fol
James Stroud wrote:
> Steve Holden wrote:
>> You'd be worth more if you'd used elif and omitted the continue
>> statements, but for a first solution it's acceptable.
>
> Depends on what you are after.
>
> py> s = """
> ... for i in xrange(1,101):
> ... if not i % 15:
> ... continue
> ...
On Apr 15, 9:49 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> py> t = timeit.Timer(stmt=s)
> py> print "%.2f usec/pass" % (100 * t.timeit(number=10)/10)
> 40.88 usec/pass
>
What does this accomplish:
100 * t.timeit(number=10)/10
that the following doesn't accomplish:
10
The Python Papers (http://pythonpapers.org) is another resource for
Python developers, especially those interested in keeping tabs on the
various projects and articles out there in the community.
Cheers,
-T (Editor-In-Chief, The Python Papers)
--
http://mail.python.org/mailman/listinfo/python-li
On Apr 15, 8:05 pm, [EMAIL PROTECTED] wrote:
> On Apr 15, 9:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Apr 14, 7:46 pm, "Eric" <[EMAIL PROTECTED]> wrote:
>
> > > Hello, after reading some of the book Programming Python it seems that
> > > python is something I would like
Steve Holden wrote:
> You'd be worth more if you'd used elif and omitted the continue
> statements, but for a first solution it's acceptable.
Depends on what you are after.
py> s = """
... for i in xrange(1,101):
... if not i % 15:
... continue
... if not i % 5:
... continue
... if
James Stroud <[EMAIL PROTECTED]> writes:
> 1. This doesn't act according to the specification if you add, for
> example, (2, 'Zonk'). Now 30 gives 'ZonkFizzBuzz' and not 'FizzBuzz'
> according to the specification.
Correct, the original specification only had 3 and 5. I gave a longer
example to i
Paul Rubin wrote:
> Steve Holden <[EMAIL PROTECTED]> writes:
>> You'd be worth more if you'd used elif and omitted the continue
>> statements, but for a first solution it's acceptable.
>>
>> For better readability I'd have used
>> if i % 5 == 0
>
> I think I'd be more concerned about getting
Steve Holden <[EMAIL PROTECTED]> writes:
> You'd be worth more if you'd used elif and omitted the continue
> statements, but for a first solution it's acceptable.
>
> For better readability I'd have used
> if i % 5 == 0
I think I'd be more concerned about getting rid of the i%15 test.
What i
On Apr 15, 9:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Apr 14, 7:46 pm, "Eric" <[EMAIL PROTECTED]> wrote:
>
> > Hello, after reading some of the book Programming Python it seems that
> > python is something I would like to delve deeper into. The only thing
> > is, I have no idea wh
James Stroud wrote:
> Gabriel Genellina wrote:
>> En Sun, 15 Apr 2007 10:46:54 -0300, Army1987 <[EMAIL PROTECTED]> escribió:
>>
>>> "Paddy" <[EMAIL PROTECTED]> ha scritto nel messaggio
>>> news:[EMAIL PROTECTED]
>>>
On a different tack, from:
http://tickletux.wordpress.com/2007/01/24/usin
Gabriel Genellina wrote:
> En Sun, 15 Apr 2007 10:46:54 -0300, Army1987 <[EMAIL PROTECTED]> escribió:
>
>> "Paddy" <[EMAIL PROTECTED]> ha scritto nel messaggio
>> news:[EMAIL PROTECTED]
>>
>>> On a different tack, from:
>>> http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developer
En Sun, 15 Apr 2007 10:46:54 -0300, Army1987 <[EMAIL PROTECTED]> escribió:
> "Paddy" <[EMAIL PROTECTED]> ha scritto nel messaggio
> news:[EMAIL PROTECTED]
>
>> On a different tack, from:
>> http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/
>> It seems you
On Apr 15, 3:35 am, James Stroud <[EMAIL PROTECTED]> wrote:
> Eric wrote:
> > Hello, after reading some of the book Programming Python it seems that
> > python is something I would like to delve deeper into. The only thing
> > is, I have no idea what I should try and write. So I was hoping that
> >
On Apr 14, 7:46 pm, "Eric" <[EMAIL PROTECTED]> wrote:
> Hello, after reading some of the book Programming Python it seems that
> python is something I would like to delve deeper into. The only thing
> is, I have no idea what I should try and write. So I was hoping that
> someone here could help poi
On Apr 14, 7:46 pm, "Eric" <[EMAIL PROTECTED]> wrote:
> Hello, after reading some of the book Programming Python it seems that
> python is something I would like to delve deeper into. The only thing
> is, I have no idea what I should try and write. So I was hoping that
> someone here could help poi
"Paddy" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> On a different tack, from:
> http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/
> It seems you need to learn how to write a Fizz-Buzz
> program to get a job now-a-days :-)
Some
Eric wrote:
> Hello, after reading some of the book Programming Python it seems that
> python is something I would like to delve deeper into. The only thing
> is, I have no idea what I should try and write. So I was hoping that
> someone here could help point me to a group/project that would be a
>
On Apr 15, 1:46 am, "Eric" <[EMAIL PROTECTED]> wrote:
> Hello, after reading some of the book Programming Python it seems that
> python is something I would like to delve deeper into. The only thing
> is, I have no idea what I should try and write. So I was hoping that
> someone here could help poi
I'd like to second this request or at least find out if there are any
type of Python mentorship programs I could join.
--
http://mail.python.org/mailman/listinfo/python-list
27 matches
Mail list logo