Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Steven D'Aprano
On Mon, Jun 17, 2013 at 04:13:49PM +0100, Oscar Benjamin wrote: > On 15 June 2013 10:53, Amit Saha wrote: > > Would any of you have any teaching (or substantial self learning) > > experience with a library for Symbolic math? > > I have taught using Maple. I haven't with Sympy but I do use it myse

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Jim Mooney
On 17 June 2013 17:57, Dave Angel wrote: >> Well, although I would like to see my name in lights, I didn't >> discover it, Dave did, so that would be dishonest ;') >> > > http://bugs.python.org/issue18249 > filed at 8:55 pm Looks like you've got a quibble on that. But the point is, it doesn't fu

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread eryksun
On Mon, Jun 17, 2013 at 5:43 PM, Dave Angel wrote: > But in 3.3, it says: > Help on built-in function close: > > close(...) > > with no more explanation. The category "built-in function" here doesn't mean it's in the builtins namespace. It means it's a function or method from an extension module

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Dave Angel
On 06/17/2013 08:07 PM, Jim Mooney wrote: On 17 June 2013 16:04, Mark Lawrence wrote: You now have an opportunity to expand your knowledge of the Python infrastructure by raising your first bug report to get this fixed. I look forward to seeing your effort on the bug tracker mailing list.

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Jim Mooney
On 17 June 2013 16:04, Mark Lawrence wrote: > > You now have an opportunity to expand your knowledge of the Python > infrastructure by raising your first bug report to get this fixed. I look > forward to seeing your effort on the bug tracker mailing list. Well, although I would like to see my n

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Mark Lawrence
On 17/06/2013 23:39, Jim Mooney wrote: But in 3.3, it says: Help on built-in function close: close(...) with no more explanation. Hmm, I thought close in 3.3 was a method of the file handle, not a builtin function. Have I missed something? I assume all builtin functions do not need an object

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Jim Mooney
> But in 3.3, it says: > Help on built-in function close: > > close(...) > > with no more explanation. Hmm, I thought close in 3.3 was a method of the file handle, not a builtin function. Have I missed something? I assume all builtin functions do not need an object dot prefix, and close needs the

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Dave Angel
On 06/17/2013 05:17 PM, Jim Mooney wrote: On 17 June 2013 11:30, Peter Otten <__pete...@web.de> wrote: The help() function in the interactive interpreter is a good tool hunt for help on features of functions and classes. For example: I tripped on Python help a couple of times, since I'm used

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Jim Mooney
On 17 June 2013 11:30, Peter Otten <__pete...@web.de> wrote: > The help() function in the interactive interpreter is a good tool hunt for > help on features of functions and classes. For example: I tripped on Python help a couple of times, since I'm used to easy-living GUI help, so here is a bit

Re: [Tutor] The Whole Tree

2013-06-17 Thread Jim Mooney
On 16 June 2013 22:02, eryksun wrote: > http://docs.python.org/3/library/abc > http://docs.python.org/3/library/numbers Thanks. My left eye burns when I stare at the monitor too long, so I think I'll print out the Data Model and those for bathroom reading. I can be the Potty Progammer ;') Jim _

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Jim Mooney
> Sorry. At some point I guess Thunderbird decided HTML should be default and > switched all my account settings and made new ones default to HTML. This is a peeve of mine with a Lot of programs. Gmail has the new "convenience" of setting your format to the last format used, so I sometimes forge

Re: [Tutor] Is there a programmatic use for keys() and values()

2013-06-17 Thread Jim Mooney
On 16 June 2013 21:52, eryksun wrote: > In PyScripter you can just type the closing quote/brace over the > auto-inserted one. Ah, the light dawns. One of those things I'd never find in the docs for PyScripter, unless I stopped learning Python and read them all - if that's in the docs. Now I can

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Peter Otten
Matt D wrote: > Hey, > I wrote some simple code to write data to a logfile and it works pretty > well (thanks guys). Now my problem is that every time i run the program > the old logfile.txt is overwritten. The help() function in the interactive interpreter is a good tool hunt for help on fea

Re: [Tutor] Need help appending data to a logfile

2013-06-17 Thread Dave Angel
On 06/17/2013 01:36 PM, Matt D wrote: Hey, I wrote some simple code to write data to a logfile and it works pretty well (thanks guys). Now my problem is that every time i run the program the old logfile.txt is overwritten. I need to be able to stop and start the program without overwriting, or

[Tutor] Need help appending data to a logfile

2013-06-17 Thread Matt D
Hey, I wrote some simple code to write data to a logfile and it works pretty well (thanks guys). Now my problem is that every time i run the program the old logfile.txt is overwritten. I need to be able to stop and start the program without overwriting, or losing, the old data. here is the relav

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Oscar Benjamin
On 15 June 2013 10:53, Amit Saha wrote: > Would any of you have any teaching (or substantial self learning) > experience with a library for Symbolic math? I have taught using Maple. I haven't with Sympy but I do use it myself. > I am currently exploring sympy (http://sympy.org) as part of writin

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread pyt...@outofoptions.net
On 06/17/2013 10:00 AM, Oscar Benjamin wrote: Can you use plain-text instead of html please? I've just had to manually fix the quoting below. Sorry. At some point I guess Thunderbird decided HTML should be default and switched all my account settings and made new ones default to HTML. (Or

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Oscar Benjamin
On 17 June 2013 04:16, Jim Mooney wrote: >> yeah, I am playing with the Python 3 version. Works great so far. > > I didn't even look at the docs, but I think I got the solve part > working. I cut down on typing a bit, though. Typing Symbol all day > long could get tedious: > > from sympy import Sy

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Oscar Benjamin
Can you use plain-text instead of html please? I've just had to manually fix the quoting below. On 17 June 2013 03:19, pyt...@outofoptions.net wrote: > On 06/16/2013 10:14 PM, epi wrote: >> >> i guess you'll find this pretty interesting : >> >> http://nbviewer.ipython.org/url/edu.scios.ch/sympy/n

Re: [Tutor] sound implementation problems

2013-06-17 Thread jessica peters
Resubmitting this because my list permissions got disabled (not totally sure why), so I've been off it since Friday.   my website: http://jahowe.com - Forwarded Message - From: jessica peters To: Francois Dion Sent: Friday, June 14, 2013 9:26 AM Subject: Re: [Tutor] sound implementatio