Re: [Tutor] Ongoing trouble with Turtle's end_fill() - caused by abug in turtle.py

2008-08-08 Thread Gregor Lingl
Dick Moores schrieb: Here better tracer() should come in! 'Deprecated in version 2.6'?? And the doc gives nary a clue how to use it. http://docs.python.org/dev/library/turtle.html#turtle.tracer tracer is only deprecated as a Turtle-method, because it doesn't concern single turtles but

Re: [Tutor] Ongoing trouble with Turtle's end_fill() - Important note!

2008-08-08 Thread Gregor Lingl
P.S.: If you are interested, you can download a series of sample programs covering a broad range from very easy to fairly advanced, which intend to show some features and capabilities of the new turtle module from here: http://svn.python.org/view/python/trunk/Demo/turtle/ These will be includ

Re: [Tutor] Firstrade Authentication: Form Management

2008-08-08 Thread Federo
Kent hi I am still unable to enter data into textbox and getting back server reply. The main problem is that I do not understand which fileds / header to observer using Firefox Fireburg. Atteched you can see headers I went through. With red font I marked differences among stages. In nider of th

Re: [Tutor] date formatter

2008-08-08 Thread Kent Johnson
On Fri, Aug 8, 2008 at 1:34 AM, Christopher Spears <[EMAIL PROTECTED]> wrote: > Ok, here is the working version of my program. Thanks for all of the advice: > > #!/usr/bin/python > > import time > > class date_format(object): This is a bit of a misnomer, you aren't formatting the date, you are p

Re: [Tutor] Firstrade Authentication: Form Management

2008-08-08 Thread Kent Johnson
On Fri, Aug 8, 2008 at 5:12 AM, Federo <[EMAIL PROTECTED]> wrote: > Kent hi > > I am still unable to enter data into textbox and getting back server reply. > The > main problem is that I do not understand which fileds / header to observer > using Firefox Fireburg. Atteched you can see headers I we

[Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

2008-08-08 Thread S Python
Hi Everyone, I would like to create a two-dimensional array but am confused as to how to go about it. I've read about Numeric Python and Numpy. Are they one and the same? Also, how do I install them? I am working on a Windows machine. I've been getting the following error messages: >>> import

Re: [Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

2008-08-08 Thread Kent Johnson
On Fri, Aug 8, 2008 at 11:56 AM, S Python <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I would like to create a two-dimensional array but am confused as to > how to go about it. > > I've read about Numeric Python and Numpy. Are they one and the same? No, they are not the same. Numeric is older;

Re: [Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

2008-08-08 Thread S Python
> No, they are not the same. Numeric is older; NumArray is another older > package. You should use Numpy if you can. > http://numpy.scipy.org/#older_array > > > Now you should be able to import numpy. > > Kent > Thanks, Kent. I ended up using: >>> from numpy import * I wasn't sure what the diff

Re: [Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

2008-08-08 Thread Timothy Grant
On Fri, Aug 8, 2008 at 9:29 AM, S Python <[EMAIL PROTECTED]> wrote: >> No, they are not the same. Numeric is older; NumArray is another older >> package. You should use Numpy if you can. >> http://numpy.scipy.org/#older_array >> > >> >> Now you should be able to import numpy. >> >> Kent >> > > Tha

[Tutor] issue with the Backslash on IDLE 1.2.2

2008-08-08 Thread Marc Rambert
hi, I would like to make some regular expression, unfortunately I can't because the backslash doesn't work at all on IDLE 1.2.2 did someone already try this on a MacBook? The combination to do the backslash works properly (\ as you can see) but not in IDLE Doesn't someone notice already th

Re: [Tutor] Ongoing trouble with Turtle's end_fill() - caused by abug in turtle.py

2008-08-08 Thread Gregor Lingl
Hi Dick, just to show you a bit of the versatility of the new turtle module I've prepared to tiny rectangle-generator program examples. They intentionally use different programming styles and also turtle graphics techniques different from the ones you used to accomplish something similar to what

Re: [Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

2008-08-08 Thread S Python
> In general "from import *" is a very bad idea. > > import imports a module into its own namespace (e.g., to > access its functionality you would have to do ".foo() and > .bar()" The form that you chose to use imports all of a > module's contents into the current namespace. This means you can ca

Re: [Tutor] issue with the Backslash on IDLE 1.2.2

2008-08-08 Thread bob gailer
Marc Rambert wrote: hi, I would like to make some regular expression, unfortunately I can't because the backslash doesn't work Please explain "doesn't work". I interpret that as "I press the \ key and nothing shows up in the active window." -- Bob Gailer Chapel Hill NC 919-636-4239 Whe

[Tutor] I need a Python mentor

2008-08-08 Thread A. Joseph
Hello everybody, i`m new to this list. I was programming in PHP before, of recent I started learning python. I need someone who can be giving me some assignment based on the chapter I read in the book, and the person will sometime review my code and tell me if it`s well structured. Thanks- ___

Re: [Tutor] I need a Python mentor

2008-08-08 Thread Chad Crabtree
Actually the way this list works is there is no one person who will do this. However if you pose a specific question I'm sure you will get several helpful people will respond. Like this. What book did you read and what topics did it cover? From there someone perhaps even myself will be able to

Re: [Tutor] I need a Python mentor

2008-08-08 Thread Nick Scholtes
Hi, I'm a beginner in python, so I can't be a mentor, but here are some links that may help: http://uselesspython.com/ Python Wiki at: http://wiki.python.org/ Also google Think Python. It is a great resource. Nick On Fri, Aug 8, 2008 at 4:22 PM, A. Joseph <[EMAIL PROTECTED]> wrote: > Hello

Re: [Tutor] I need a Python mentor

2008-08-08 Thread Alan Gauld
"A. Joseph" <[EMAIL PROTECTED]> wrote Hello everybody, i`m new to this list. I was programming in PHP before, of recent I started learning python. I need someone who can be giving me some assignment based on the chapter I read in the book, and the person will sometime review my code and tell

Re: [Tutor] Confused about "import Numeric" vs "import numpy" forArrays

2008-08-08 Thread Alan Gauld
"S Python" <[EMAIL PROTECTED]> wrote Thanks for the clarification. I had always wondered what the difference was. A useful tip is that if you have a long module name you can also use import module as shortname eg import numpy as n and then access numpy.foo() as n.foo() Sacves a lot of ty

Re: [Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

2008-08-08 Thread Kent Johnson
On Fri, Aug 8, 2008 at 1:25 PM, Timothy Grant <[EMAIL PROTECTED]> wrote: > In general "from import *" is a very bad idea. > > import imports a module into its own namespace (e.g., to > access its functionality you would have to do ".foo() and > .bar()" The form that you chose to use imports all

Re: [Tutor] Confused about "import Numeric" vs "import numpy" forArrays

2008-08-08 Thread S Python
> A useful tip is that if you have a long module name you can also use > > import module as shortname > > eg > > import numpy as n > > and then access numpy.foo() as > > n.foo() > > Sacves a lot of typing for a slight loss of clarity in > maintenance - you have to remember which module the > short

Re: [Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

2008-08-08 Thread S Python
> Another reason not to use "from xx import *" is that it can make it > very difficult to discover where a name is defined. If you have > several "from xx import *" lines and then later you use a function > "foo()" there is no easy way to tell which module foo came from. > > An alternative is to li

[Tutor] To Tutor subscribers: should I send detailed questions about the Python 2.6b2's Turtle to the list?

2008-08-08 Thread Dick Moores
The thread I started continues, and now concerns mainly the new Turtle module in Python 2.6b2. I am very interested in this, but I'm wondering is there are other 'kids" out there who are. Should I ask our resident expert, Gregor Lingl directly, or through the list? Opinions, please? Dick Moores,

Re: [Tutor] To Tutor subscribers: should I send detailed questionsabout the Python 2.6b2's Turtle to the list?

2008-08-08 Thread Alan Gauld
"Dick Moores" <[EMAIL PROTECTED]> wrote The thread I started continues, and now concerns mainly the new Turtle module in Python 2.6b2. I am very interested in this, but I'm wondering is there are other 'kids" out there who are. Should I ask our resident expert, Gregor Lingl directly, or throug