>
>
>
>
>
>
>
> __
> Hotmail: Trusted email with powerful SPAM protection. Sign up
> now.
>
>
>
&
, 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
; ___
> 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','
> > >
> > >
> > >
> __
> > > Hotmail: Free, trusted and rich email service. Get it now.
> > > ___
> > > Tutor maillist - Tutor@p
html#the-module-search-path
>
>
Can I use something like this
#--
import sys
sys.path.append("/home/user/other")
import module
#-
--
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
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
В 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.
>
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
В 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
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
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
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
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
(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
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
___
-
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
17 matches
Mail list logo