Bruno Desthuilliers wrote:
>> Ever seen this from Fuzzyman? It explicitly uses the dict comparison.
>>
>> http://www.voidspace.org.uk/python/articles/OOP.shtml#introduction
>
> Nope - and the site seems to be down actually. But thanks for the
> pointer anyway.
It works for me, at least now.
--
BartlebyScrivener wrote:
>>You know what are dicts, right ? That is, containers with keyword-access
>>to values ? Then you probably have dicts with a known, defined
>>structure, and functions working on it. What classes (and hence 00)
>>gives you is a way to associate these functions with the dicts
> You know what are dicts, right ? That is, containers with keyword-access
> to values ? Then you probably have dicts with a known, defined
> structure, and functions working on it. What classes (and hence 00)
> gives you is a way to associate these functions with the dicts
> themselves. That is th
> I believe the applicability of Python and related techniques to
> process control, engineering programming, and so on, is vastly
> under-appreciated. Conventional wisdom in these domains sees
> Visual Basic, Visual C++, and Fortran as suitable vehicles.
> You've seen how limiting this is.
>
> Fo
In article <[EMAIL PROTECTED]>,
Carl Trachte <[EMAIL PROTECTED]> wrote:
.
.
.
>Yes. I was a production geologist in a copper mine in the mid 90's. Our
>mine planning software vendor Mintec (www.mintec.com) had chosen it as
>t
John Salerno wrote:
> Did you have to learn it for a job?
No, although it became useful once I learnt it.
> Or did you just like what you saw and decided to learn it for fun?
I saw Bruce Eckel mention it in "Thinking in Java, 2nd ed." as
"something that was slowly becoming his favorite programmi
BartlebyScrivener wrote:
You know what are dicts, right ? That is, containers with
keyword-access to values ? Then you probably have dicts
with a known, defined structure, and functions working on
it. What classes (and hence 00) gives you is a way to
associate these functions wi
John Salerno wrote:
> Did you have to learn it for a job?
No, for me, programming is primarily a hobby. I worked on scientific
programming in Fortran in the 1980s and in C in the 1990s. Later I
did some sys admin work, and managed to use a bit of Python in that.
> Or did you just like what you
>>> You know what are dicts, right ? That is, containers with
>>> keyword-access to values ? Then you probably have dicts
>>> with a known, defined structure, and functions working on
>>> it. What classes (and hence 00) gives you is a way to
>>> associate these functions with the dicts themselves.
Max M wrote:
> bruno at modulix wrote:
>
>> Max M wrote:
>>
>>> bruno at modulix wrote:
>>>
> Or did you just like what you saw and decided to learn it for fun?
Well, I haven't be really impressed the first time - note that it
was at
the very end of the last century, w
bruno at modulix wrote:
> Max M wrote:
>> bruno at modulix wrote:
>>
Or did you just like what you saw and decided to learn it for fun?
>>>
>>> Well, I haven't be really impressed the first time - note that it was at
>>> the very end of the last century, with v1.5.2.
>>
>>
>> 1.5.2 was an exc
Max M wrote:
> bruno at modulix wrote:
>
>>> Or did you just like what you saw and decided to learn it for fun?
>>
>>
>> Well, I haven't be really impressed the first time - note that it was at
>> the very end of the last century, with v1.5.2.
>
>
>
> 1.5.2 was an excellent version. Not really
Bruno wrote:
8<(snip)--
| The answer is 42. That's all you need to know.
Right on, Ford Prefect !!!
What's for Lunch?
- Hendrik
--
http://mail.python.org/mailman/listinfo/python-list
bruno at modulix wrote:
>> Or did you just like what you saw and decided to learn it for fun?
>
> Well, I haven't be really impressed the first time - note that it was at
> the very end of the last century, with v1.5.2.
1.5.2 was an excellent version. Not really that different in use than
cur
Thus spoke Sybren Stuvel (on 2006-06-17 22:01):
> Rune Strand enlightened us with:
>> But back on university, I met a very, very pretty C++ girl who said
>> many favourable things about Python.
>
> Rr a very, very pretty girl that likes C++ and Python.
> Does it get better?
It does:
http://
In 2002, I was in need of a multi-platform language. My choice became
Python, in spite of friends fiercly defending Perl and some interesting
Slashdot-articles on Ruby. But back on university, I met a very, very
pretty C++ girl who said many favourable things about Python. She never
became mine, bu
John Salerno wrote:
(snip)
> So out of curiosity, I'm just wondering how everyone else came to learn
> it. If you feel like responding, I'll ask my questions for easy quoting:
>
> Did you have to learn it for a job?
It has never been an official requirement for any of the jobs I got
since I'm a
BartlebyScrivener <[EMAIL PROTECTED]> wrote:
...
> Especially the Python Cookbook, as I don't normally 'get it' when
> someone just describes theory or an abstraction, I also must see an
> example. The examples in the Cookbook are useful and also come with
> explanations about how they work. Sam
Dave Opstad <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> John Salerno <[EMAIL PROTECTED]> wrote:
>
> I had retired from Apple in 2001 after 33 years in the business, feeling
> completely burned out. Didn't want to even look at another line of code.
> After resting and recuperat
BartlebyScrivener wrote:
(snip)
> I am not touching OO, classes,
You may not be aware of this, but as soon as you're programming in
Python, you *are* using OO. Strings are objects, dicts are objects,
tuples are objects, lists are objects, numbers are objects, and even
functions and modules are ob
Scott David Daniels wrote:
> BartlebyScrivener wrote:
>
>> I am not touching OO, classes, or GUIs until I understand
>> EVERYTHING else. Could take a few years. ;)
>
>
> You know how modules separate globals, right? That is, what you
> write in one module doesn't affect the names in anothe
BartlebyScrivener wrote:
>>>I'd like something a bit like a module,
>>>but I'd like to make several of them,
>>>and not have them interfere with each other."
>
>
> Thank you. I sense what you are saying, but at this point I'd be
> thinking, "Why not just make several modules?" :)
Because you wa
BartlebyScrivener wrote:
(snip)
> Also, it seems to be a minimalist
> language.
*seems* minimalist, but is really not - have a look at the object model
(metaclasses, descriptors etc), at closures and HOFs and decorators, at
list-comp and generators and (coming in 2.5) coroutines... Definitively
Thus spoke John Salerno (on 2006-06-15 15:50):
> Did you have to learn it for a job?
No, I was just interested in things
that are found interesting ;-)
> Or did you just like what you saw and decided to learn it for fun?
I read some remarks, from "both sides", on
the feasibility of a programmin
John Salerno wrote:
> So out of curiosity, I'm just wondering how everyone else came to learn
> it. If you feel like responding, I'll ask my questions for easy quoting:
>
> Did you have to learn it for a job?
No. My job is purely administrative; I have absolutely no need to do
any programming. I
> No, I learned it because Perl was too dirty and Java to complicated.
> Now it is part of my daily job.
Ditto. I was fed up of writing, compiling and running a java
application just in order to do a quick script. I'd used perl, but
quite frankly perl's a ridiculous language. Ruby looked promising
John Salerno a écrit :
...
> I do, however, think the docs are pretty good, although I sometimes find
> myself just wishing that a function definition was simply laid out in an
> easy to read format that included all of its parameters, so I would know
> exactly what to pass to it (I guess help() is
John Salerno wrote:
> So out of curiosity, I'm just wondering how everyone else came to learn
> [Python]
I first heard about Python in the footnotes for Bruce Eckels' book
"Thinking in Java", which I had bought for a Java course I took in
2000. Eventually, I decided to take a look at python.org,
John Salerno wrote:
[---CUT---]
> So out of curiosity, I'm just wondering how everyone else came to learn
> it.
[---CUT---]
I just needed it. I needed it to recode text files from my old Atari
computer for my Linux box. I had already seen Python sources during some
googling ses
BartlebyScrivener wrote:
> >> I'd like something a bit like a module,
> >> but I'd like to make several of them,
> >> and not have them interfere with each other."
>
> Thank you. I sense what you are saying, but at this point I'd be
> thinking, "Why not just make several modules?" :) I'll get to i
Scott David Daniels wrote:
> Scott David Daniels wrote:
>> John Salerno wrote:
> ...
> And I didn't quote him at all, so my post looks like it was
> attributed to him, rather than in response to his message.
Heh heh, I thought that for a few seconds until I realized I didn't
pursue a PhD. :)
--
Scott David Daniels wrote:
> John Salerno wrote:
...
And I didn't quote him at all, so my post looks like it was
attributed to him, rather than in response to his message.
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Sybren Stuvel schrieb:
> John Salerno enlightened us with:
>> Did you have to learn it for a job?
>
> Nope, but I do most of my job in Python nowadays. I heard rumours
> about it being a nice language. After my first look at it, I was
> hooked!
>
>> Also, how did you go about learning it?
>
> I
>> I'd like something a bit like a module,
>> but I'd like to make several of them,
>> and not have them interfere with each other."
Thank you. I sense what you are saying, but at this point I'd be
thinking, "Why not just make several modules?" :) I'll get to it. I've
got my hands full just learni
John Salerno napisał(a):
>> And I still don't get this "web application" hype, and all these "web
>> frameworks" scare me, as I internally don't trust any magic.
>
> Yeah, I dabbled with CGI, but I haven't seriously looked into anything
> like TurboGears yet. Of course, my problem is that I don't
Original Message
Subject: Re: Python is fun (useless social thread) ;-)
From:"Carl Trachte" <[EMAIL PROTECTED]>
Date:Thu, June 15, 2006 8:21 am
To:
--
John Salerno wrote:
When I was pursuing a PhD, I was working on query optimization in
object-oriented databases. My thesis was that you could actually
do query optimization without breaking encapsulation, and I had
several tricks that I knew how to use to do that. I needed a
language in the DB th
Jarek Zgoda wrote:
> And I still don't get this "web application" hype, and all these "web
> frameworks" scare me, as I internally don't trust any magic.
>
Yeah, I dabbled with CGI, but I haven't seriously looked into anything
like TurboGears yet. Of course, my problem is that I don't *need* to
BartlebyScrivener wrote:
> I am not touching OO, classes, or GUIs until I understand EVERYTHING
> else. Could take a few years. ;)
LOL. That's exactly why I love Python, because you don't have to mess
with any of that (explicitly) if you don't want to! Of course, here I am
probably going way ov
BartlebyScrivener wrote:
> I am not touching OO, classes, or GUIs until I understand
> EVERYTHING else. Could take a few years. ;)
You know how modules separate globals, right? That is, what you
write in one module doesn't affect the names in another module.
What classes (and hence OO) give
Michele Simionato wrote:
> John Salerno wrote:
>> So out of curiosity, I'm just wondering how everyone else came to learn
>> it.
>
> I have already reported my first experiences with Python here:
> http://groups.google.com/group/comp.lang.python/browse_frm/thread/2afa89689e897039/3d77eba36a97751d?
Sybren Stuvel wrote:
>> Are there still some things you feel you need to learn or improve?
>
> I'd love to be able to calll functions from Windows DLLs on x86 Linux.
call functions *in* DLLs, you mean?
http://docs.python.org/dev/lib/module-ctypes.html
http://starship.python.net/crew/t
John Salerno napisał(a):
> So out of curiosity, I'm just wondering how everyone else came to learn
> it. If you feel like responding, I'll ask my questions for easy quoting:
>
> Did you have to learn it for a job?
>
> Or did you just like what you saw and decided to learn it for fun?
>
> Also,
>> Did you have to learn it for a job?
No.
>> Or did you just like what you saw and decided to learn it for fun?
Tried Perl first, but since I don't use it every day (sometimes don't
do anything but RUN scripts for weeks on end if I'm in a big project),
I would forget all of the Perl between lea
Thomas Guettler wrote:
> There are some things in Python I don't know very well: Decorators and
> generators.
Then you should come at EuroPython and attend at my talk! ;)
But if you can't come to Switzerland, you can always look at
http://www.phyast.pitt.edu/~micheles/python/decorator.zip
http://
In article <[EMAIL PROTECTED]>,
John Salerno <[EMAIL PROTECTED]> wrote:
I had retired from Apple in 2001 after 33 years in the business, feeling
completely burned out. Didn't want to even look at another line of code.
After resting and recuperating for a couple years, though, I picked up a
boo
Thomas Guettler wrote:
> There are some things in Python I don't know very well: Decorators and
> generators. But somehow I don't think that I really need them.
I think that I learn best when I have a problem and I'm trying to solve
it.
There are features that you don't know what they're for, and
> Did you have to learn it for a job?
No, I learned it because Perl was too dirty and Java to complicated.
Now it is part of my daily job.
> Also, how did you go about learning it?
Programming, reading this newsgroup, reading the python cookbook,
reading python source files of the standard libr
John Salerno wrote:
> So out of curiosity, I'm just wondering how everyone else came to learn
> it.
I have already reported my first experiences with Python here:
http://groups.google.com/group/comp.lang.python/browse_frm/thread/2afa89689e897039/3d77eba36a97751d?q=simionato+my+first+python&rnum=3#
On 2006-06-15, John Salerno <[EMAIL PROTECTED]> wrote:
> So out of curiosity, I'm just wondering how everyone else came
> to learn it. If you feel like responding, I'll ask my
> questions for easy quoting:
I didn't want to use Outlook to read my e-mail, so I needed a
way to get them onto a non-MS
I have to say, I'm having a very enjoyable time learning and using
Python. I spent a year playing around with C# and I feel like I
learned/know less about it than I do about Python from just the past
couple of months. Of course it's easier, but there's just something
about it that makes me keep
51 matches
Mail list logo