can anyone tell me the relationship between MLab and Numeric?
Especially MLab, there is very little information about it.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
I am reading a sample code and want to figure out where a function
(for instance, abc) is from.
There are many lines such as
from XXX import *
Is there a way not going through all these imported modules to find
where the abc is from (by the way, the abc function is not in the
current module)?
Tha
"Dave S" <[EMAIL PROTECTED]> wrote
> They will be concerned about using my app because I am one person.
> What if I
> get hit by a bus ! what if I leave ?
This is a common problem in big companies including my own.
For years they wouldn't even use the GNU software because it
was "unsupported". I
Dear Luke,
Wow, thank you for all the input.You really made an effort .It's always nice
when someone is willing to share his knowledge with you. You really opened
my eyes on some things. I guess it's gonna be a long night for me. But I'm
really enjoying myself though :-)
Regards,
Robert
>Fro
Moedeloos Overste wrote:
> Hi everybody,
>
> I'm in the process of learning Python and working my way through O'Reilly's
> "Learning Python". As an excercise I wrote (some copy/paste as well) a small
> lottery program just to learn how to work with lists and dictionarys etc.
>
> The user has to e
Moedeloos Overste wrote:
> Hi everybody,
>
> I'm in the process of learning Python and working my way through O'Reilly's
> "Learning Python". As an excercise I wrote (some copy/paste as well) a small
> lottery program just to learn how to work with lists and dictionarys etc.
>
> The user has to e
On Thursday 07 December 2006 17:54, Luke Paireepinart wrote:
> Dave S wrote:
> > [snip explanation of program]
>
> Sounds really cool!
Its a bit niche - but cool
>
> > Sometime in January I have to give a presentation and I know one of the
> > questions will be. "Its what we want but you are not
Dave S wrote:
> [snip explanation of program]
Sounds really cool!
>
> Sometime in January I have to give a presentation and I know one of the
> questions will be. "Its what we want but you are not a company, what if you
> leave ?" I need an answer,..
>
My understanding is that if it's GPL'ed,
On Thu, 2006-12-07 at 08:22 -0700, Mike Hansen wrote:
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Luke Paireepinart
> > Sent: Wednesday, December 06, 2006 10:54 PM
> > To: tutor@python.org
> > Subject: Re: [Tutor] ***SPAM*** List to dic
Hi everybody,
I'm in the process of learning Python and working my way through O'Reilly's
"Learning Python". As an excercise I wrote (some copy/paste as well) a small
lottery program just to learn how to work with lists and dictionarys etc.
The user has to enter 6 numbers from a range(1-45). Th
OK this is an OT question
I have just finished a Python QT project for work, written in my own free time
over the last several months (and with a lot of help from you guys :). Its
5500 lines of python over several modules (for me that huge) and a
CSV 'rules' file of 500 lines, all GPL'd
We us
On Thursday 07 December 2006 10:25, Dave S wrote:
> On Thursday 07 December 2006 00:31, Luke Paireepinart wrote:
> > Dave S wrote:
> > > Hi all,
> > >
> > > I thought I had my solution with subprocess ... my test code ...
> > >
> > >
> > >
> > > #!/usr/bin/env python
> > > # -*- coding: iso8859_1 -
On 11/27/06, Michael P. Reilly <[EMAIL PROTECTED]> wrote:
When you type something from the command-line, you are at the whims of the
WinXP command shell. You have to follow its rules, not Python's. It would
need to have "python" in %PATH%, and then it would need to have to run
"python C:\path\
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Luke Paireepinart
> Sent: Wednesday, December 06, 2006 10:54 PM
> To: tutor@python.org
> Subject: Re: [Tutor] ***SPAM*** List to dictionary
>
> Also, why is there now a **SPAM* in the subjec
Hi folks,
I want to center the window.
I am using Tkinter and want to center the window as per the screen size. The
size of the window is not fixed, I mean the height is not fixed, so I cannot
use fixed parameters that can be passed to geometry() method.
IF the height is more, the window shoul
Dave Kuhlman wrote:
> On Wed, Dec 06, 2006 at 05:49:22PM -0800, linda.s wrote:
>> Is there any good tutorial about numeric python for beginners?
>> I have googled around and many of them are either too old or aims at
>> experienced users...
>
> Look here:
>
> http://new.scipy.org/Wiki/Documen
Luke Paireepinart wrote:
> How about this :D
>
> # Remove duplicates from a list:
L = [1,2,2,3,3,3]
[x for x in L if x not in locals()['_[1]'].__self__]
> [1,2,3]
>
> [accessed at
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/204297 ]
The problems with this are, it is not
Bill Campbell wrote:
> The way I usually do this is something like:
>
> outDict = dict(map(lambda x: (x, 1), inList))
> names = outDict.keys()
> names.sort()
This is a really old approach. Since Python 2.3 you can say
outDict = dict.fromkeys(inList)
or dict.fromkeys(inList, 1) if you cared about
On Thursday 07 December 2006 00:31, Luke Paireepinart wrote:
> Dave S wrote:
> > Hi all,
> >
> > I thought I had my solution with subprocess ... my test code ...
> >
> >
> >
> > #!/usr/bin/env python
> > # -*- coding: iso8859_1 -*-
> >
> > import subprocess
> >
> > a = subprocess.Popen('tasklist.ex
Dick Moores wrote:
> At 09:53 PM 12/6/2006, Luke Paireepinart wrote:
>> # Remove duplicates from a list:
>> >>> L = [1,2,2,3,3,3]
>> >>> [x for x in L if x not in locals()['_[1]'].__self__]
>> [1,2,3]
>
> Why not
> >>> L = [1,2,2,3,3,3]
> >>> list(set(L))
> [1, 2, 3]
Because the other methods (via
20 matches
Mail list logo