Hello
I now need to get the validator to work on my expense input. If the user
puts in a negative I want an error to come up. I have managed it for the
budget input but cannot seem to get it to work for the expense.
Thanks in advance again for your wonderful help.
"""This program
On 4/15/2011 3:35 PM, Alan Gauld wrote:
"bob gailer" wrote
The show should be here - Pause at 1 minute 20 for the
Python screnshot:
http://fwd.channel5.com/gadget-show/videos/challenge/surprise-special-part-4
I am told "the video ... cannot be viewed from your currrent country
..."
I d
On 15-Apr-11 18:00, Rodney Lewis wrote:
I cannot get os.chdir() to accept inputData[0]. os.chdir() works as
expected in the interpreter when I put the little 'r' before the exact
same string but as a literal, e.g.: r"F:\Music\Siouxsie and the
Banshees\the rapture"
It's because the string in in
I cannot get os.chdir() to accept inputData[0]. os.chdir() works as
expected in the interpreter when I put the little 'r' before the exact
same string but as a literal, e.g.: r"F:\Music\Siouxsie and the
Banshees\the rapture"
When I try to run it I get the following error in reference to the
os.ch
- total_expense
#Display results
print 'Your total expenses for the month $', total_expense
print 'Your surplus amount after expenses $', surplus
# Call the main function.
main()
Thank you.
-- next part --
An HTML attachment was scrubbe
then this link:
http://www.chandia.net/compart/NMT-2.4-20110415.tar.gz
Thanks in advance to all
of you and to the people that already helped me.
___
andr?s
chand?a
P
No imprima innecesariamente. ?Cuide el medio ambiente!
-- next part ------
A no
"Lea Parker" wrote
I am trying to create this program for a uni assignment. I cannot
get it to
add the expenses to the accumulator I have set.
You have to write the code to add each value to the accumulator
Your loop does not do that
"""This program is to calculate if the user is over
Hi Lea, how are you today?
Well please keep in mind that nothing is "wrong" with your code, its doing
exactly what you asked it to do. But I would call your attention to your while
loop, you want to accumulate things, but may I ask exactly what are you
accumulating in your loop?
Also quite b
On Fri, Apr 15, 2011 at 5:52 PM, Lea Parker wrote:
> Hello
>
>
>
> I am trying to create this program for a uni assignment. I cannot get it to
> add the expenses to the accumulator I have set. Would you mind having a look
> and letting me know if I have something in the wrong place or indented
>
Hello
I am trying to create this program for a uni assignment. I cannot get it to
add the expenses to the accumulator I have set. Would you mind having a look
and letting me know if I have something in the wrong place or indented
incorrectly. Perhaps I am missing something.
There could be o
"bob gailer" wrote
The show should be here - Pause at 1 minute 20 for the
Python screnshot:
http://fwd.channel5.com/gadget-show/videos/challenge/surprise-special-part-4
I am told "the video ... cannot be viewed from your currrent country
..."
I don't know if YouTube will be any more oblig
h the code in a tgz file, if
the attached can not be seen then this link:
http://www.chandia.net/compart/NMT-2.4-20110415.tar.gz
Thanks in advance to all
of you and to the people that already helped me.
___
andrés
chandía
P
No imprima innecesariamente. ¡Cuide el
sorry, I hit send too soon on last message
On Fri, Apr 15, 2011 at 8:54 AM, Joel Goldstick wrote:
>
>
> On Fri, Apr 15, 2011 at 8:41 AM, Spyros Charonis wrote:
>
>> Hello,
>>
>> I'm doing a biomedical degree and am taking a course on bioinformatics. We
>> were given a raw version of a public data
On Fri, Apr 15, 2011 at 8:41 AM, Spyros Charonis wrote:
> Hello,
>
> I'm doing a biomedical degree and am taking a course on bioinformatics. We
> were given a raw version of a public database in a file (the file is in
> simple ASCII) and need to extract only certain lines containing important
> in
Hello,
I'm doing a biomedical degree and am taking a course on bioinformatics. We
were given a raw version of a public database in a file (the file is in
simple ASCII) and need to extract only certain lines containing important
information. I've made a script that does not work and I am having tro
Hi,
I'm trying to install the code from
http://wheredoesmymoneygo.org/getting-started/ on my local machine. I've got a
mac os 10.6.7, python 2.7.1, pip, and the most recent postgres installation.
I'm now testing imported data and I get 21 errors (see attached). The majority
sounds like:
f
Casey Key wrote:
> -- Forwarded message --
> From: Casey Key
> Date: Thu, Apr 14, 2011 at 4:02 PM
> Subject: Python skipping if statement (Really simple code)
> To: tu...@python.com
>
>
> Hey im a newbie to python, but i made this test code. and it is just
> skipping over the if
"Casey Key" wrote
Hey im a newbie to python, but i made this test code. and it is just
skipping over the if statement, which is essential to the program.
Which if statement, there are several?
Are there any error messages? If so send them in their entirety.
If not can you show us whatever ou
-- Forwarded message --
From: Casey Key
Date: Thu, Apr 14, 2011 at 4:02 PM
Subject: Python skipping if statement (Really simple code)
To: tu...@python.com
Hey im a newbie to python, but i made this test code. and it is just
skipping over the if statement, which is essential to th
Becky Mcquilling wrote:
dir_list = os.listdir(self.dirname)
dir_set = set()
for file in dir_list:
dir_set.add(file)
self.assertEqual(dir_list, text_files, "The filelist is not equal")
You're comparing a list of file names to a set of file names. They
20 matches
Mail list logo