On 17 February 2010 12:32, wrote:
>
> Hi i am trying to write a pseudocode to read an input number and its 15%
> output value. The counter is supposed to process 4 input numbers. Help
> please!!
If it's pseudocode, then you can write a loop however you like.
If you have a Python-related questio
Hi i am trying to write a pseudocode to read an input number and its 15% output
value. The counter is supposed to process 4 input numbers. Help please!!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.p
"Hansen, Mike" wrote
I'm aware of Pep8. It's a good starting point. Anything more in-depth
than Pep8 and the Zen of Python?
There is the generic book "Code Complete" which is excellent, but
definitely not short!
And it's not Python specific - in fact doesn't even mention Python so far
as I
Dnia 16-02-2010 o 21:55:47 Sander Sweers
napisał(a):
On 16 February 2010 21:32, Shurui Liu (Aaron Liu)
wrote:
Here is a program I wrote, I don't know why I cannot exit when I tried
10
times? Hope somebody can help me. Thank you!
while (guess != the_number):
if (guess > the_number):
On Wed, 17 Feb 2010 07:32:44 am Shurui Liu (Aaron Liu) wrote:
> Here is a program I wrote, I don't know why I cannot exit when I
> tried 10 times? Hope somebody can help me. Thank you!
Here is a program that loops ten times, then stops:
for i in range(10):
print "Loop number", i
Here is an
On 16 February 2010 21:32, Shurui Liu (Aaron Liu) wrote:
> Here is a program I wrote, I don't know why I cannot exit when I tried 10
> times? Hope somebody can help me. Thank you!
>
> while (guess != the_number):
> if (guess > the_number):
> print ("Lower...")
> print ("You wer
Here is a program I wrote, I don't know why I cannot exit when I tried 10
times? Hope somebody can help me. Thank you!
# Guess My Number
#
# The computer picks a random number between 1 and 100
# The player tries to guess it and the computer lets
# the player know if the guess is too high, too
From: sri...@gmail.com [mailto:sri...@gmail.com] On Behalf Of Wayne
Werner
Sent: Tuesday, February 16, 2010 1:07 PM
To: Hansen, Mike
Cc: Tutor Python
Subject: Re: [Tutor] The Order of Imports and install order of modules
an
> Where to find the article for comparing different Python Development
> Environment
>
> The Python wiki is a good place to start:
http://wiki.python.org/moin/IntegratedDevelopmentEnvironments
___
Tutor maillist - Tutor@python.org
To unsubscribe or cha
Where to find the article for comparing different Python Development
Environment
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
http://www.python.org/dev/peps/pep-0008/
This make me wonder. Is there a document or web site that has Python Best
> Practices? Something along the lines of the Perl Best Practices book, but
> probably shorter. =)
HTH,
Wayne
--
To be considered stupid and to be told so is more painful than bei
> -Original Message-
> From: tutor-bounces+mike.hansen=atmel@python.org
> [mailto:tutor-bounces+mike.hansen=atmel@python.org] On
> Behalf Of Kent Johnson
> Sent: Saturday, February 13, 2010 8:06 AM
> To: Wayne Watson
> Cc: Tutor Python
> Subject: Re: [Tutor] The Order of Imports a
On Tue, Feb 16, 2010 at 11:54 AM, Shurui Liu (Aaron Liu)
wrote:
>
> Modify the guess_my_number.py program to limit the number of guesses to ten (10).
>
> Tell the user up front that they have ten guesses.
>
>
> After each guess, tell the user that they have ___ guesses remaining.
>
> Here are
On Tue, Feb 16, 2010 at 10:46 AM, John [H2O] wrote:
>
> Hello,
>
> I'm not a Mac user, but I'm a promoter of Python! I have a good friend using
> a Mac who's becoming sceptical of python due to frustrations with the
> PYTHONPATH. I'm trying to help...
>
> Everything is fine running vanilla python.
In Win7 IDLE, when I type in something with a syntax problem, a bell
rings. How do I stop that? I've looked at Control Panel Sounds, but
don't see anything of apparent use.
--
"Crime is way down. War is declining. And that's far from
the good news." -- Steven Pinker (and other sources)
Why is t
I've finally decided to see if I could make an executable out of a py
file. Win7. Py2.5. I brought down the install file and proceeded with
the install. I got two warning messages. Forgot the first. The second
said,"Could not set the key value." I again used OK. I think that was
the only choice
On 2/16/2010 7:42 AM, Kent Johnson wrote:
On Tue, Feb 16, 2010 at 10:17 AM, Wayne Watson
wrote:
Hi all,
I'm going to PyCon this year for the first time (yeah!) and I would
love to meet other regular contributors to the tutor list. Is anyone
else going to be there? Any interest in a "Mee
Modify the guess_my_number.py
program to limit the number of guesses to ten (10).
Tell the user up front that they have ten guesses.
After each guess, tell the user that they have ___ guesses remaining.
Here are the requirement of my assignment. I want to ask the third one: what
is the co
If you start Python from command line you can just use usual bash methods
put
PYTHONPATH= xxx
in ~/.profile
or for use in a single shell
export PYTHONPATH=xxx
If you start Python from a dbl-clickable application you need to get the
PYTHONPATH into the application's environment
See
http://
Kent Johnson wrote:
On Tue, Feb 16, 2010 at 10:09 AM, Vern Ceder
I'm not a very regular contributor here, but we'd love have you (and anyone
else who's on the tutor list) join the edu-sig group for dinner and open
space, if you're so inclined... Our open space page is at
http://us.pycon.org/201
Hello,
I'm not a Mac user, but I'm a promoter of Python! I have a good friend using
a Mac who's becoming sceptical of python due to frustrations with the
PYTHONPATH. I'm trying to help...
Everything is fine running vanilla python. Importing modules works fine. But
in ipython, the module paths ne
On Tue, Feb 16, 2010 at 10:17 AM, Wayne Watson
wrote:
>>
>> Hi all,
>>
>> I'm going to PyCon this year for the first time (yeah!) and I would
>> love to meet other regular contributors to the tutor list. Is anyone
>> else going to be there? Any interest in a "Meet the tutors" Open Space
>> or dinn
On Tue, Feb 16, 2010 at 10:09 AM, Vern Ceder
wrote:
> Kent Johnson wrote:
>>
>> Hi all,
>>
>> I'm going to PyCon this year for the first time (yeah!) and I would
>> love to meet other regular contributors to the tutor list. Is anyone
>> else going to be there? Any interest in a "Meet the tutors" O
Hi all,
I'm going to PyCon this year for the first time (yeah!) and I would
love to meet other regular contributors to the tutor list. Is anyone
else going to be there? Any interest in a "Meet the tutors" Open Space
or dinner?
Kent
___
Tutor maillist
Kent Johnson wrote:
Hi all,
I'm going to PyCon this year for the first time (yeah!) and I would
love to meet other regular contributors to the tutor list. Is anyone
else going to be there? Any interest in a "Meet the tutors" Open Space
or dinner?
Kent
Hi Kent,
I'm not a very regular contribu
Hi all,
I'm going to PyCon this year for the first time (yeah!) and I would
love to meet other regular contributors to the tutor list. Is anyone
else going to be there? Any interest in a "Meet the tutors" Open Space
or dinner?
Kent
___
Tutor maillist -
On 2/14/2010 7:01 PM, Dave Angel wrote:
Wayne Watson wrote:
I got to
the dos command line facility and got to the file. I executed the
program, and it failed with a syntax error. I can't copy it out of
the window to paste here,
Once you've discovered the DOS box, you should also discover Q
Am Samstag, 13. Februar 2010 16:56:08 schrieb patrice laporte:
> Hi,
>
> Being in an exeption of my own, I want to print the name of the caller, and
> I'm looking for a way to have it.
>
> I've found a lot of recipe all of them using what seems to be, according to
> me, a not so good trick : all
28 matches
Mail list logo