File "/home/glen/workspace/test.py", line 19
if confirmed == "y":
^
SyntaxError: invalid syntax
Why does this not work??? PyDev says "Expected:else"
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscriptio
input("Please enter a nem name: ")
else:
#do nothing
print(Entries)
On Tue, 2010-11-02 at 15:05 -0400, Alex Hall wrote:
> On 11/2/10, Glen Clark wrote:
> > File "/home/glen/workspace/test.py", line 19
> > if confirmed == "y":
> >
:
> optional: do something else when the above condition is false and
> this condition is True.
> else:
> do something else when the above conditions are false.
>
>
> You can try this,
>
>
> if confirmed == "y":
> stuff
> els
Okay,
Thank you very much for the help guys :)
On a side note.. I didn't know you could do something like this:
x = z if
(thus why I needed the closing parenthesis)
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription o
Hello,
I have completed my first python script. This is after watching a video
guide on python and is my first attempt at writing code in python. While the
code is not very useful I got the idea for it when googling "python projects
for beginners".
The idea was to create a script that asked the u
oper code before
moving onto learning modules and such.
On 5 November 2010 08:32, Mark Tolonen
> wrote:
>
> "Glen Clark" wrote in message
> news:aanlktimabbj8ae35q3ao9+xzbvtnyzbz3wrudahmn...@mail.gmail.com...
>
> Hello,
>>
>> I have completed my first pyt
> Sent from a mobile device with a bad e-mail client.
> -----
>
> On Nov 4, 2010, at 3:10 PM, Glen Clark wrote:
>
> Hello,
>
> I have completed my first python script. This is after watching a video
> guide on python and is my first attempt
Luke,
I used a video from Lynda.com, simply because I already had a
subscription. The price was about $25 per month which I think is more
expensive that showmedo. Or you could buy it for $99 (Python 3 Essential
Training (DVD-ROM)).
The video's were very good for me personally because he was stra
, Glen Clark wrote:
> Luke,
>
> I used a video from Lynda.com, simply because I already had a
> subscription. The price was about $25 per month which I think is more
> expensive that showmedo. Or you could buy it for $99 (Python 3 Essential
> Training (DVD-ROM)).
>
> The video
Hello,
I am a little confused how multi-windows work in Tkinter. I am currently
using it while learning to program. Using it for single window apps/scripts
is fine. However what I dont understand is:
What is toplevel? Is it the same as Tk()? Do I initialise a root using Tk()
and then use toplevel
Hello tutors,
Have not posted in a while. Started learning python a while back but had to
stop after a couple of weeks due to lack of time. Anyway pretty much
forgotten most things but if anyone has time I would love some feedback on
my application.
My main aim to to learn python, as a hobby, and
11 matches
Mail list logo