Re: [Tutor] Help!

2013-01-26 Thread Jos Kerc
You are missing a multiplication sign. Near the end of your formula. On Fri, Jan 18, 2013 at 1:56 PM, Carpenter, Steven < steven.carpen...@oakland.k12.mi.us> wrote: > To Whom it May Concern, > > I’m trying to get this code working. *Here’s my question:* > > Consider a triangle with side

Re: [Tutor] Cheese shop tutorial mirror

2013-01-26 Thread Peter Otten
Per Fagrell wrote: > I'm interested in uploading a module to pypi, but with the python wiki > down after the hack there's no access to the Cheese shop tutorial. Does > anyone have a mirror or reasonable facsimile that could be used until the > wiki is back on-line and repopulated? You're lucky, t

Re: [Tutor] Tutor Digest, Vol 107, Issue 79

2013-01-26 Thread Farhan Farhan
plz don't send me any msg again.plz i want to unfreind you.___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] Read and write list on I file

2013-01-26 Thread jarod...@libero.it
HI there!!! I have a file like this: 12345-2 ppp 12389-4 i ... I want to read this file and organize in different way: The second number present after "-" mea

Re: [Tutor] Help!

2013-01-26 Thread Russel Winder
Following up on Jos Kerc's answer: On Fri, 2013-01-18 at 07:56 -0500, Carpenter, Steven wrote: […] > print(math.acos(((a**2)+(b**2)-(c**2))/(2(a*b 2(a*b) → 2 * (a * b) > TypeError: 'int' object is not callable Juxtaposition does not imply multiplication in Python as it does in mathemat

Re: [Tutor] Can Python monitor web browser content

2013-01-26 Thread Albert-Jan Roskam
Original Message - > From: Alan Gauld > To: tutor@python.org > Cc: > Sent: Friday, January 25, 2013 8:54 PM > Subject: Re: [Tutor] Can Python monitor web browser content > > On 25/01/13 17:52, 3n2 Solutions wrote: > >> I was wondering if Python can monitor web browser content. > > B

Re: [Tutor] Python Help

2013-01-26 Thread wrw
On Jan 23, 2013, at 4:37 PM, Grady Trexler wrote: > > Below is my code. I am using python 2.4 It tells me I have a syntax error. > Please help! (I think the first twenty lines have what you would be looking > for. After that it just repeats itself.) > #scenario maker > #created by: Grady T

Re: [Tutor] Python Help

2013-01-26 Thread Dave Angel
On 01/23/2013 04:37 PM, Grady Trexler wrote: Below is my code. I am using python 2.4 It tells me I have a syntax error. I don't see any such thing. Plesae include the traceback, which will indicate WHERE you have a syntax error. And if you look yourself, you'll probably spot it, since it's

[Tutor] How does # -*- coding: utf-8 -*- work?

2013-01-26 Thread Santosh Kumar
Everything starting with hash character in Python is comment and is not interpreted by the interpreter. So how does that works? Give me full explanation. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.py

Re: [Tutor] How does # -*- coding: utf-8 -*- work?

2013-01-26 Thread Joel Goldstick
On Sat, Jan 26, 2013 at 11:38 AM, Santosh Kumar wrote: > Everything starting with hash character in Python is comment and is > not interpreted by the interpreter. So how does that works? Give me > full explanation. > If you google you get this: http://stackoverflow.com/questions/4872007/where-d

Re: [Tutor] Read and write list on I file

2013-01-26 Thread Steven D'Aprano
On 26/01/13 20:21, jarod...@libero.it wrote: (edited slightly to make it more clear) HI there!!! I have a file like this: 12345-2 p 12389-4 i I want to read this file and organize in different way: The second number present after "-" mean the times are ripetuted the elements..so in

Re: [Tutor] How does # -*- coding: utf-8 -*- work?

2013-01-26 Thread eryksun
On Sat, Jan 26, 2013 at 11:38 AM, Santosh Kumar wrote: > > Everything starting with hash character in Python is comment and is > not interpreted by the interpreter. So how does that works? Give me > full explanation. The encoding declaration is parsed in the process of compiling the source. CPyth