Re: [Tutor] Simple Question (I Hope)

2012-01-15 Thread Chris Kavanagh
On 1/14/2012 11:17 PM, Modulok wrote: On 1/14/12, Chris Kavanagh wrote: I was looking at this code from the Python Docs (http://docs.python.org/library/email-examples.html), trying to learn how to send email from a Pyhton script. Anyways, part of this code confused me. Here's the script: 1 #

Re: [Tutor] something about sum, integer and delta function

2012-01-15 Thread Steven D'Aprano
lina wrote: Hi, are there some modules can be used to do below things like: sum and delta function, and intergeration. like the one in attachement. Try Sage: http://www.sagemath.org/ -- Steven ___ Tutor maillist - Tutor@python.org To unsubscr

Re: [Tutor] something about sum, integer and delta function

2012-01-15 Thread Alan Gauld
On 15/01/12 13:57, lina wrote: are there some modules can be used to do below things like: sum and delta function, and intergeration. Not exactly but there are a number of numerical methods that can be used to get close approximations. Those have been implemented in a number of standard lib

Re: [Tutor] something about sum, integer and delta function

2012-01-15 Thread Albert-Jan Roskam
Hi, You could try numpy and scipy.   Cheers!! Albert-Jan ~~ All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh water system, and public health, what have the Roma

[Tutor] something about sum, integer and delta function

2012-01-15 Thread lina
Hi, are there some modules can be used to do below things like: sum and delta function, and intergeration. like the one in attachement. Thanks, <>___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python

Re: [Tutor] Trying to access a random value in a list

2012-01-15 Thread lina
On Fri, Jan 13, 2012 at 6:48 AM, Claude Matherne wrote: > Hello all, > I am a beginner to python and I am trying to make a simple program that > takes in some names as input into a list and then randomly picks a vaule > from that list as a winner. > > Here is the code: > > import random > > choice