[Tutor] Cannot Understand

2006-03-10 Thread Edgar Antonio Rodriguez Velazco
Hi,Could you please explain this code?.f = lambda n: n-1 + abs(n-1) and f(n-1)*n or 1Thanks,-- Edgar A. Rodriguez V.

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Does casting exist in Python?

2006-02-22 Thread Edgar Antonio Rodriguez Velazco
Does it?Thanks,-- Edgar A. Rodriguez V.
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] IDE - Editors - Python

2006-02-10 Thread Edgar Antonio Rodriguez Velazco
Try with Python Card. ; )-- Edgar A. Rodriguez V. 
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] How can I clean the screen

2006-01-23 Thread Edgar Antonio Rodriguez Velazco
You can use the function system() of the os module.
os.system('clear') in Unix or in Windows os.system('clear')-- Edgar A. Rodriguez V. 
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor