Re: [Tutor] can any one help

2010-01-30 Thread Grigor Kolev
> > > > > > > > __ > Hotmail: Trusted email with powerful SPAM protection. Sign up > now. > > > &

Re: [Tutor] can any one help

2010-01-30 Thread Grigor Kolev
, a, b = a, a+b > You can not print this. SyntaxError: invalid syntax > a,b=a,a+b > fibn(-1) -- Grigor Kolev ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] query

2010-01-31 Thread Grigor Kolev
; ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor List indexed by position ['d','a','v','i','

Re: [Tutor] query

2010-02-01 Thread Grigor Kolev
> > > > > > > > > > __ > > > Hotmail: Free, trusted and rich email service. Get it now. > > > ___ > > > Tutor maillist - Tutor@p

Re: [Tutor] Question about importing

2010-02-02 Thread Grigor Kolev
html#the-module-search-path > > Can I use something like this #-- import sys sys.path.append("/home/user/other") import module #- -- Grigor Kolev __

Re: [Tutor] Question about importing

2010-02-02 Thread Grigor Kolev
В 11:47 -0800 на 02.02.2010 (вт), David Hutto написа: > > > --- On Tue, 2/2/10, Grigor Kolev wrote: > > From: Grigor Kolev > Subject: Re: [Tutor] Question about importing > To: "David Hutto" > Cc: "Python Tuto

[Tutor] html and python

2010-02-10 Thread Grigor Kolev
Hi. I want to make a list of E-mail, photos and some additional data. But I want this list to be displayed in one site. How can I send data from a list of site page. Which module should I use -- Grigor Kolev ___ Tutor maillist - Tutor@python.org To

Re: [Tutor] html and python

2010-02-10 Thread Grigor Kolev
В 13:33 -0600 на 10.02.2010 (ср), vince spicer написа: > On Wed, Feb 10, 2010 at 1:30 PM, Grigor Kolev > wrote: > Hi. > I want to make a list of E-mail, photos and some additional > data. > But I want this list to be displayed in one site. >

Re: [Tutor] Compile py to exe in ubuntu

2010-02-10 Thread Grigor Kolev
python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor Use cx_freeze but you cannot make exe in ubuntu must use Windows -- Grigor Kolev ___ Tutor maillist - Tutor@python.org To unsubscribe or

Re: [Tutor] html and python

2010-02-10 Thread Grigor Kolev
В 15:02 -0500 на 10.02.2010 (ср), Kent Johnson написа: > On Wed, Feb 10, 2010 at 2:54 PM, Grigor Kolev wrote: > > В 14:39 -0500 на 10.02.2010 (ср), Kent Johnson написа: > >> On Wed, Feb 10, 2010 at 2:30 PM, Grigor Kolev > >> wrote: > >> > Hi. > >&g

[Tutor] SMTP

2010-02-11 Thread Grigor Kolev
his is a test ''' s.sendmail("t...@local", tolist, msg) - How can i send the file? And I am not sure that work. Mail is not sending but perhaps problem i in my postfix. -- Grigor Kolev

[Tutor] try MySQLdb Error

2010-02-14 Thread Grigor Kolev
Hi. I want to catch MySQL error. This is my code. #!/usr/bin/env python #-*- coding:utf-8 -*- # Copyright 2009 Grigor Kolev # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by

Re: [Tutor] Input() is not working as expected in Python 3.1

2010-02-15 Thread Grigor Kolev
teger.") > else: > print (text * number) > Try this: >>>text = str(input("Type in some text: ")) Type in some text:"some text" >>>snumber = int(input("How many times should it be printed?")) How many times should it be printed?3 >>>print text*snumber -- Grigor Kolev ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] Learn Python

2009-12-11 Thread Grigor Kolev
Hi I'm trying to learn python but I have difficulties with classes. If someone has a code that shows the basic concepts and relationships in the classes, please send it to me. I will be happy if code possess very much comments -- Grigor

[Tutor] What I do wrong

2009-12-13 Thread Grigor Kolev
(self , other): self.list=self.list.append(other) return self.list def __getattr__(self , name): return getattr(self.value, name) def __repr__(self ): return 'self.value' -- Gr

[Tutor] Learning Python

2009-12-13 Thread Grigor Kolev
name): # Other members: sort/reverse/etc return getattr(self.wrapped, name) def _ _repr_ _(self): return repr(self.wrapped) Answer in the book does not work Where is the error -- Grigor Kolev ___

[Tutor] try and except

2009-12-29 Thread Grigor Kolev
- Result is: Error: Test None >From where come it None -- Grigor Kolev ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor