[EMAIL PROTECTED] wrote:
> Hi all,
> Is there a simple python function to return the list index of the
> minimum entry in a list of lists?
> ie, for [[3,3,3,3], [3,3,3,1], [3,3,3,3]] to return 2,4.
> Or, same question but just for a list of numbers, not a list of lists.
> Thanks,
> Josh
In you
Hi,
I have Red Hat Linux 3.2.3-54 and Python 2.4.3 (the
original version downloaded from python.org) and I'm
using httplib to make a request to an external server,
this is the code I'm using:
import httplib
https = httplib.HTTPSConnection('216.220.59.211',
7989)
https.debuglevel = 1
body = build
Chris Uppal wrote:
> It's worth noting, too, that (in some sense) the type of an object can change
> over time[*]. That can be handled readily (if not perfectly) in the informal
> internal type system(s) which programmers run in their heads (pace the very
> sensible post by Anton van Straaten toda
Hari Sekhon wrote:
> Is it me or is having to use os.system() all the time symtomatic of a
> deficiency/things which are missing from python as a language?
it's you.
--
http://mail.python.org/mailman/listinfo/python-list
Le Mercredi 21 Juin 2006 16:54, [EMAIL PROTECTED] a écrit :
> Hi all,
> Is there a simple python function to return the list index of the
> minimum entry in a list of lists?
> ie, for [[3,3,3,3], [3,3,3,1], [3,3,3,3]] to return 2,4.
> Or, same question but just for a list of numbers, not a list
Marshall schreef:
> "dynamic types." I don't have a firm definition for
> that term, but my working model is runtime type tags. In which
> case, I would say that among statically typed languages,
> Java does have dynamic types, but C does not. C++ is
> somewhere in the middle.
C has union.
--
A
Andreas Rossberg schrieb:
> Chris Uppal wrote:
>
>> It's worth noting, too, that (in some sense) the type of an object can
>> change over time[*].
>
> No. Since a type expresses invariants, this is precisely what may *not*
> happen.
No. A type is a set of allowable values, allowable operations
Nice post! One question:
Anton van Straaten wrote:
>
> 3. A really natural term to refer to types which programmers reason
> about, even if they are not statically checked, is "latent types". It
> captures the situation very well intuitively, and it has plenty of
> precedent -- e.g. it's mention
Fredrik Lundh wrote:
Hari Sekhon wrote:
Is it me or is having to use os.system() all the time symtomatic of a
deficiency/things which are missing from python as a language?
it's you.
I take it that it's still a work in progress to be able to pythonify
everything
Torben Ægidius Mogensen wrote:
>
> That's not true. ML has variables in the mathematical sense of
> variables -- symbols that can be associated with different values at
> different times. What it doesn't have is mutable variables (though it
> can get the effect of those by having variables be imm
Chris Uppal wrote:
> doesn't fit with my intuitions very well -- most noticeably in that the sets
> are generally unbounded
Errr, not in Ada. Indeed, not in any machine I know of with a limited
address space.
Andreas Rossberg wrote:
> Indeed, this view is much too narrow. In particular, it can
On behalf of the Python development team and the Python community, I'm
happy to announce the first BETA release of Python 2.5.
This is an *beta* release of Python 2.5. As such, it is not suitable
for a production environment. It is being released to solicit
feedback and hopefully discover bugs,
Hari Sekhon wrote:
> I take it that it's still a work in progress to be able to pythonify
> everything, and until then we're just gonna have to rely on shell and
> those great C coded coreutils and stuff like that. Ok, I'm rather fond
> of Bash+coreutils, highest ratio of code lines to work I'v
[EMAIL PROTECTED] wrote:
> Hi all,
> Is there a simple python function to return the list index of the
> minimum entry in a list of lists?
> ie, for [[3,3,3,3], [3,3,3,1], [3,3,3,3]] to return 2,4.
> Or, same question but just for a list of numbers, not a list of lists.
> Thanks,
> Josh
One way
Hi There,
I've installed python2.4-dev on Unbuntu linux. When I run it, it gives
an error:
'import site' failed; use -v for traceback
(Get the same result if I uninstall it and install regular python2.4).
Using -v traceback gives:
'import site' failed; traceback:
ImportError: No module named s
"Marshall" <[EMAIL PROTECTED]> writes:
> Torben Ægidius Mogensen wrote:
>>
>> That's not true. ML has variables in the mathematical sense of
>> variables -- symbols that can be associated with different values at
>> different times. What it doesn't have is mutable variables (though it
>> can get
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
Darren New <[EMAIL PROTECTED]> writes:
> [ ... ] As far as I know, LOTOS is the only
> language that *actually* uses abstract data types - you have to use
> the equivalent of #include to bring in the integers, for
> example. Everything else uses informal rules to say how types work.
There are *to
Matthias Blume wrote:
> "Rob Thorpe" <[EMAIL PROTECTED]> writes:
>
> >> >> > No it doesn't. Casting reinterprets a value of one type as a value of
> >> >> > another type.
> >> >> > There is a difference. If I cast an unsigned integer 20 to a
> >> >> > signed integer in C on the machine I'm
Fredrik Lundh wrote:
Hari Sekhon wrote:
I take it that it's still a work in progress to be able to pythonify
everything, and until then we're just gonna have to rely on shell and
those great C coded coreutils and stuff like that. Ok, I'm rather fond
of Bash+coreutils, highest r
Marshall wrote:
>
> While we're on the topic of terminology, here's a pet peeve of
> mine: "immutable variable."
>
> immutable = can't change
> vary-able = can change
>
> Clearly a contradiction in terms.
>
> If you have a named value that cannot be updated, it makes
> no sense to call it "vari
Joachim Durchholz wrote:
>>
>>> It's worth noting, too, that (in some sense) the type of an object
>>> can change over time[*].
>>
>> No. Since a type expresses invariants, this is precisely what may
>> *not* happen.
>
> No. A type is a set of allowable values, allowable operations, and
> const
Thanks so much for your help. I was wondering if there was anything
even simpler, but this will be great.
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> > Hi all,
> > Is there a simple python function to return the list index of the
> > minimum entry in a list of lists?
> > ie, for [[3,3
David Hopwood wrote:
> Rob Thorpe wrote:
> > Matthias Blume wrote:
> >>"Rob Thorpe" <[EMAIL PROTECTED]> writes:
> >>
> >>>I think we're discussing this at cross-purposes. In a language like C
> >>>or another statically typed language there is no information passed
> >>>with values indicating their
In comp.lang.functional Anton van Straaten <[EMAIL PROTECTED]> wrote:
[...]
This static vs dynamic type thing reminds me of one article written by
Bjarne Stroustrup where he notes that "Object-Oriented" has become a
synonym for "good". More precisely, it seems to me that both camps
(static & dyna
Paul,
Although your solution works for the class itself, it doesn't for class
attributes, since they point to built-ins whose attributes are read-only.
>>> w.x.__doc__ = widget.x.__doc__
AttributeError: 'int' object attribute '__doc__' is read-only
Would the solution be to build a new type and
[EMAIL PROTECTED] wrote:
> Hi There,
>
> I've installed python2.4-dev on Unbuntu linux. When I run it, it gives
> an error:
>
> 'import site' failed; use -v for traceback
>
> (Get the same result if I uninstall it and install regular python2.4).
>
> Using -v traceback gives:
>
> 'import site'
Niurka Perez wrote:
> ssl = socket.ssl(sock, self.key_file,
> self.cert_file)
> AttributeError: 'module' object has no attribute 'ssl'
The socket module failed to import the _ssl module. And the ssl function
gets only defined if _ssl could be imported.
You probably haven't installed the Open
[EMAIL PROTECTED] wrote:
> Is there a simple python function to return the list index of the
> minimum entry in a list of lists?
> ie, for [[3,3,3,3], [3,3,3,1], [3,3,3,3]] to return 2,4.
> Or, same question but just for a list of numbers, not a list of lists.
In Python 2.5:
Python 2.5a2 (trun
George Neuner sez:
> On Mon, 19 Jun 2006 22:02:55 + (UTC), Dimitri Maziuk
><[EMAIL PROTECTED]> wrote:
>
>>Yet Another Dan sez:
>>
>>... Requiring an array index to be an integer is considered a typing
>>> problem because it can be checked based on only the variable itself,
>>> whereas checkin
Dear all.
We want to make python run on DSP processors (C64xx family of TI).
I've already tried to ask [EMAIL PROTECTED] (about his "Python for
arm-Linux"),
but didn't get an answer so far.
Neither could I find it in the Python tree at sourceforge.
Any hints welcome
Roland Geibel
[EMAIL PROT
Rob Thorpe wrote:
> Chris Smith wrote:
> > Torben Ægidius Mogensen <[EMAIL PROTECTED]> wrote:
> > > That's not really the difference between static and dynamic typing.
> > > Static typing means that there exist a typing at compile-time that
> > > guarantess against run-time type violations. Dynami
On Wed, 21 Jun 2006 17:15:16 +0200, Maric Michaud wrote:
>
> In [53]: class a(object) :
>: x=property(lambda s: 0, doc='my doc string')
>:
>:
>
> In [54]: b=a()
>
> In [55]: help(b)
I agree it works, but for a class with tens of attributes, this is not
very practical
Darren New wrote:
>
> As far as I know, LOTOS is the only
> language that *actually* uses abstract data types
Maybe I don't understand what you mean with ADT here, but all languages
with a decent module system support ADTs in the sense it is usually
understood, see ML for a primary example. Cl
"Avell Diroll" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ##Python Script :
> from subprocess import Popen
> p1 = Popen(["dmesg"], stdout=PIPE)
> p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE)
> output = p2.communicate()[0]
I was just trying to learn how to use .commu
Hari Sekhon wrote:
> I've seen people using everything from zip to touch, either out of
> laziness or out of the fact it wouldn't work very well in python, this
> zip case is a good example.
so based on a limitation in one library, and some random code you've
seen on the internet, you're makin
In comp.lang.functional Andreas Rossberg <[EMAIL PROTECTED]> wrote:
> Darren New wrote:
[...]
> > Indeed, the ability to declare a new type that has the exact same
> > underlying representation and isomorphically identical operations but
> > not be the same type is something I find myself often m
Hi
last week I posted a problem with running out of memory when changing
values in NumPy arrays. Since then I have tried many different
approaches and
work-arounds but to no avail.
I was able to reduce the code (see below) to its smallest size and
still
have the problem, albeit at a slower rate.
def minIndexFinder(seq):
mins = []
listIndex = 0
result = []
for item in seq:
mins.append([listIndex,min(item),item.index(min(item))])
listIndex += 1
lowest = min([x[1] for x in mins])
for item in mins:
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
>> Is there a simple python function to return the list index of the
>> minimum entry in a list of lists?
>> ie, for [[3,3,3,3], [3,3,3,1], [3,3,3,3]] to return 2,4.
>> Or, same question but just for a list of numbers, not a list of lists.
>
>
Vesa Karvonen wrote:
> In comp.lang.functional Anton van Straaten <[EMAIL PROTECTED]> wrote:
> > Let me add another complex subtlety, then: the above description misses
> > an important point, which is that *automated* type checking is not the
> > whole story. I.e. that compile time/runtime distin
Python newbie: I've got this simple task working (in about ten
different ways), but I'm looking for the "favoured" and "most Python
like" way.
Forwards I can do this
for t in listOfThings:
print t
Now how do I do it in reverse? In particular, how might I do it if I
only wanted to iterate p
Fredrik Lundh wrote:
> Eric S. Johansson wrote:
> http://excess.org/urwid/ ?
I just found that about an hour ago. the demos work on the target
system so I'm comfortable enough to go down that path.
thank you all.
---eric
--
http://mail.python.org/mailman/listinfo/python-list
Vesa Karvonen wrote:
>
>>>Indeed, the ability to declare a new type that has the exact same
>>>underlying representation and isomorphically identical operations but
>>>not be the same type is something I find myself often missing in
>>>languages. It's nice to be able to say "this integer repres
David Huard wrote:
(snip)
> Has this problem come up before ?
> It seems that with the new classes, this
> kind of wish will generalize,
AFAIK, there's no (and never have been) docstrings for non-callable
attributes of a class or module. And properties are non-callable
attributes.
> or is it a b
> Python newbie: I've got this simple task working (in about ten
> different ways), but I'm looking for the "favoured" and "most Python
> like" way.
>
> Forwards I can do this
> for t in listOfThings:
> print t
>
> Now how do I do it in reverse?
Then general process would be to use the r
Andy Dingley <[EMAIL PROTECTED]> wrote:
> Python newbie: I've got this simple task working (in about ten
> different ways), but I'm looking for the "favoured" and "most Python
> like" way.
>
> Forwards I can do this
> for t in listOfThings:
> print t
>
> Now how do I do it in reverse? In
Matthias Blume wrote:
> There are *tons* of languages that "actually" facilitate abstract data
> types, and some of these languages are actually used by real people.
I don't know of any others in actual use. Could you name a couple?
Note that I don't consider things like usual OO languages (Eiffe
Andreas Rossberg wrote:
> Maybe I don't understand what you mean with ADT here, but all languages
> with a decent module system support ADTs in the sense it is usually
> understood, see ML for a primary example.
OK. Maybe some things like ML and Haskell and such that I'm not
intimately familia
Marshall wrote:
> Torben Ægidius Mogensen wrote:
>
>>That's not true. ML has variables in the mathematical sense of
>>variables -- symbols that can be associated with different values at
>>different times. What it doesn't have is mutable variables (though it
>>can get the effect of those by havi
Le Mercredi 21 Juin 2006 17:00, Paul McGuire a écrit :
> No need to, just assign your special docstrings to w.x.__doc__, and print
> w.x.__doc__. Instances that have special docstrings will print their
> instance-specific versions; instances without instance-specific docstrings
> will print the cl
Andy Dingley <[EMAIL PROTECTED]> wrote:
> Python newbie: I've got this simple task working (in about ten
> different ways), but I'm looking for the "favoured" and "most Python
> like" way.
>
> Forwards I can do this
> for t in listOfThings:
> print t
>
> Now how do I do it in reverse? In pa
Dr.Ruud wrote:
> Marshall schreef:
>
> > "dynamic types." I don't have a firm definition for
> > that term, but my working model is runtime type tags. In which
> > case, I would say that among statically typed languages,
> > Java does have dynamic types, but C does not. C++ is
> > somewhere in the
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>, Pekka Karjalainen wrote:
>
> > Suppose I had no idea what sys.stdout.closed was and wanted to find out.
> > Where would I look it up?
>
> `sys.stdout` is a file (like) object:
>
> http://docs.python.org/lib/bltin-f
Darren New wrote:
>
>> Maybe I don't understand what you mean with ADT here, but all
>> languages with a decent module system support ADTs in the sense it is
>> usually understood, see ML for a primary example.
>
> OK. Maybe some things like ML and Haskell and such that I'm not
> intimately f
Nick Maclaren wrote: (of fixed point)
> I am (just) old enough to remember when it was used for
> numeric work, and to have used it for that myself, but not old enough
> to have done any numeric work using fixed-point hardware.
You are using fixed point hardware today. Fixed point tracked t
Andreas Rossberg wrote:
> AFAICT, ADT describes a type whose values can only be accessed by a
> certain fixed set of operations.
No. AFAIU, an ADT defines the type based on the operations. The stack
holding the integers 1 and 2 is the value (push(2, push(1, empty(.
There's no "internal" re
In article <[EMAIL PROTECTED]>,
Scott David Daniels <[EMAIL PROTECTED]> writes:
|> Nick Maclaren wrote: (of fixed point)
|> > I am (just) old enough to remember when it was used for
|> > numeric work, and to have used it for that myself, but not old enough
|> > to have done any numeric work
Fredrik Lundh wrote:
> for item in reversed(listOfThings):
Thanks! I was staring so hard at reverse() that I'd completely missed
reversed()
I think I prefer this to listOfThings[::-1]: as it's a little more
readable.
Not that I'm reacting to past bad experience of Perl, you understand
8-)
--
It works !
Wow. Thanks a lot. If you don't mind, I'll post your code to the ipython
list so it can be reused.
David
--
http://mail.python.org/mailman/listinfo/python-list
Rob Thorpe schreef:
> Dr.Ruud:
>> Marshall:
>>> "dynamic types." I don't have a firm definition for
>>> that term, but my working model is runtime type tags. In which
>>> case, I would say that among statically typed languages,
>>> Java does have dynamic types, but C does not. C++ is
>>> somewhere
The Vancouver Python Workshop organizers are having problems coming up
with text for our T-Shirts (don't worry: we already have the graphics
figured out). We want something that matches Python's simplicity and
elegance.
So we're asking for your help. If you submit the text that we end up
using
Joachim Durchholz <[EMAIL PROTECTED]> wrote:
> Assume a language that
> a) defines that a program is "type-correct" iff HM inference establishes
> that there are no type errors
> b) compiles a type-incorrect program anyway, with an establishes
> rigorous semantics for such programs (e.g. by throw
Marshall <[EMAIL PROTECTED]> wrote:
> I think what this highlights is the fact that our existing terminology
> is not up to the task of representing all the possible design
> choices we could make. Some parts of dynamic vs. static
> a mutually exclusive; some parts are orthogonal.
Really? I can s
Xiaolei wrote:
> Sybren Stuvel wrote:
>
>>Xiaolei enlightened us with:
>>
>>>from pylab import *
>>
>>You'd better not do that. Just use "import pylab".
>>
>>>If I remove the first line, I correctly get:
>>>
>>>[1, 2, 3, 3]
>>>
>>>set([1, 2, 3])
>>
>>Pylab shadows the built-in set name, which is o
Marshall wrote:
>
> That's really coming home to me in this thread: the terminology is *so*
> bad. I have noticed this previously in the differences between
> structural
> and nominal typing; many typing issues associated with this distinction
> are falsely labeled as a static-vs-dynamic issues, s
I have a deprecation-wrapper that allows me to do this:
def oldFunc(x,y):
...
def newFunc(x,y):
...
oldFunc = deprecated(oldFunc, newFunc)
It basically wraps the definition of "oldFunc" with a DeprecationWarning
and some extra messages for code maintainers, and also prompts them t
sonjaa wrote:
> Hi
>
> last week I posted a problem with running out of memory when changing
> values in NumPy arrays. Since then I have tried many different
> approaches and
> work-arounds but to no avail.
>
> I was able to reduce the code (see below) to its smallest size and
> still
> have the
Andreas Rossberg wrote:
> Chris Uppal wrote:
> >
> > I have never been very happy with relating type to sets of values (objects,
> > whatever).
>
> Indeed, this view is much too narrow. In particular, it cannot explain
> abstract types, which is *the* central aspect of decent type systems.
What pr
Chris Uppal wrote:
> David Hopwood wrote:
>
>> When people talk about "types" being associated with values in a "latently
>> typed"
>> or "dynamically typed" language, they really mean *tag*, not type.
>
> I don't think that's true. Maybe /some/ people do confuse the two, but I am
> certainly a
On 6/21/06, Roland Geibel <[EMAIL PROTECTED]> wrote:
Dear all.We want to make python run on DSP processors (C64xx family of TI).I don't know what C64xx is, but I believe python needs general purpose CPU to run
I've already tried to ask [EMAIL PROTECTED] (about his "Python forarm-Linux"),but didn't
sonjaa wrote:
> Also, are there other python methods/extensions that can create
> multi-deminsional arrays?
if this example is typical for the code you're writing, you might as
well use nested Python lists:
def make_array(width, height, value):
out = []
for y in range(hei
Dr.Ruud wrote:
> Marshall schreef:
>
> > "dynamic types." I don't have a firm definition for
> > that term, but my working model is runtime type tags. In which
> > case, I would say that among statically typed languages,
> > Java does have dynamic types, but C does not. C++ is
> > somewhere in the
Matthias Blume wrote:
> "Marshall" <[EMAIL PROTECTED]> writes:
>
> > Torben Ægidius Mogensen wrote:
> >>
> >> That's not true. ML has variables in the mathematical sense of
> >> variables -- symbols that can be associated with different values at
> >> different times. What it doesn't have is muta
sonjaa wrote:
> Hi
>
> last week I posted a problem with running out of memory when changing
> values in NumPy arrays. Since then I have tried many different
> approaches and
> work-arounds but to no avail.
[...]
Based on the numpy-discussion this seems to be fixed in the SVN now(?).
Anyway, you
Chris Smith wrote:
> Marshall <[EMAIL PROTECTED]> wrote:
> > I think what this highlights is the fact that our existing terminology
> > is not up to the task of representing all the possible design
> > choices we could make. Some parts of dynamic vs. static
> > a mutually exclusive; some parts are
[EMAIL PROTECTED] wrote:
> I have a question on getpass. Since I am a newbie you might find it a
> little dumb.
>
> By using the getpass, are u trying to retrieve the username and
> password of remote mahcine or local ?
>
the module getpass contains 2 functions, getuser() and getpass() :
getuse
I've been in contact with Travis O, and he said it was fixed in the
SVN.
thanks for the suggestions, I'll try them out now.
best
Sonja
Filip Wasilewski wrote:
> sonjaa wrote:
> > Hi
> >
> > last week I posted a problem with running out of memory when changing
> > values in NumPy arrays. Since th
3c273 wrote:
> I was just trying to learn how to use .communicate() and all of the examples
> I see have [0] after .communicate(). What is the significance of the [0]?
From the Python Library Reference
(http://docs.python.org/lib/node239.html), you learn that the method
communicate() from the
I have a weird problem in some code I am writing. The user selects a
number of files from a list and then can select an option which will
rename the selected files. Before the process starts, a yes/no dialog
box pops up just to confirm.
Most of the time this works fine, but occasionally it seem
On Wed, 21 Jun 2006 16:12:48 + (UTC), Dimitri Maziuk
<[EMAIL PROTECTED]> wrote:
>George Neuner sez:
>> On Mon, 19 Jun 2006 22:02:55 + (UTC), Dimitri Maziuk
>><[EMAIL PROTECTED]> wrote:
>>
>>>Yet Another Dan sez:
>>>
>>>... Requiring an array index to be an integer is considered a typing
>
Hello All,
I am creating a socket connection in order to read and write to a
location. My problem is,the gui becomes unresponsive if the socket
times out.
I know that a good solution is to have the socket read and write with
a thread. However, I have tried this and have a problem where ONLY o
The random.jumpahead documentation says this:
Changed in version 2.3: Instead of jumping to a specific state, n steps
ahead, jumpahead(n) jumps to another state likely to be separated by
many steps..
I really want a way to get to the Nth value in a random series started
with a particu
[EMAIL PROTECTED] wrote:
(snip)
> I have a linux box, from where I remotely execute all the commands. The
> remote machine is windows machine. I installed an OpenSSH server for
> windows to send the shutdown command. I setup the public keys in such a
> way that I could login to SSH server without u
Rob Thorpe wrote:
> Vesa Karvonen wrote:
>
>>In comp.lang.functional Anton van Straaten <[EMAIL PROTECTED]> wrote:
>>
>>>Let me add another complex subtlety, then: the above description misses
>>>an important point, which is that *automated* type checking is not the
>>>whole story. I.e. that comp
[EMAIL PROTECTED] wrote:
> Thanks so much for your help. I was wondering if there was anything
> even simpler, but this will be great.
>>> from numpy import *
>>> a=array([[3,3,3,3], [3,3,3,1], [3,3,3,3]])
>>> where(a==a.min())
(array([1]), array([3]))
Probably overkill for your simple problem,
George Neuner wrote:
> You can't totally prevent it ... if the index computation involves
> types having a wider range, frequently the solution is to compute a
> wide index value and then narrow it. But if the wider value is out of
> range for the narrow type you have a problem.
>
...snip...
>
> T
Chris F Clark schrieb:
> In that sense, a static type system is eliminating tags, because the
> information is pre-computed and not explicitly stored as a part of the
> computation. Now, you may not view the tag as being there, but in my
> mind if there exists a way of perfoming the computation th
Hi,
Is it possible to split a Class definition over two or more text files?
(if so, how:)
Jerry
--
http://mail.python.org/mailman/listinfo/python-list
<[EMAIL PROTECTED]> wrote:
> Is it possible to split a Class definition over two or more text files?
> (if so, how:)
There's no partial types like in .NET 2.0 but since Python is dynamic
you can add members at runtime :-)
--
Lawrence - http://www.oluyede.org/blog
"Nothing is more dangerous than
Hello everyone,
WebFaction (formerly Python-Hosting.com) have just released a
screencast demo of their control panel.
The 6 minute demo shows how you can setup some sites in a few clicks,
using a variety of applications (including some Python ones such as
Django and TurboGears).
The one-click in
does anyone know if there is a way to inject keyboard events to a mac
similar to the way SendKeys works for a windows machine? (Can you point
me at it?)
thanks,
n
--
http://mail.python.org/mailman/listinfo/python-list
[Matthew Wilson]
> The random.jumpahead documentation says this:
>
> Changed in version 2.3: Instead of jumping to a specific state, n steps
> ahead, jumpahead(n) jumps to another state likely to be separated by
> many steps..
>
> I really want a way to get to the Nth value in a random
Hi!
(OK, slightly silly subject line :)
I'm extremely pleased to say - Kamaelia 0.4.0 has been released!
What's New & Changed?
=
Kamaelia 0.4.0 is a consolidation, documentation and optimisation enhanced
release. Whilst there are a wide variety of new components, existing
f
Hi!
I'm extremely pleased to say - Axon 1.5.0 has been released!
Axon is Kamaelia's core concurrency system, largely based around python
generators to enable components to be built following a slightly updated
paraphrasing of Unix Philosophy:
"""Write components that do one thing and do it wel
peter wrote:
> I have a weird problem in some code I am writing. The user selects a
> number of files from a list and then can select an option which will
> rename the selected files. Before the process starts, a yes/no dialog
> box pops up just to confirm.
>
> Most of the time this works fine,
Matthew Wilson wrote:
> The random.jumpahead documentation says this:
>
> Changed in version 2.3: Instead of jumping to a specific state, n steps
> ahead, jumpahead(n) jumps to another state likely to be separated by
> many steps..
This change was necessary because the random module go
[EMAIL PROTECTED] schrieb:
> Hi,
>
> Is it possible to split a Class definition over two or more text files?
> (if so, how:)
Not in that sense. But if you must, you can use several classes and then
a resulting class that inherits from all of these.
Diez
--
http://mail.python.org/mailman/listi
Hi all,
Can anyone help me out. I would like to have python automatically look
in a path for modules similar to editing the PYTHONPATH but do it at
compile time so every user doesn't have to do this..
Soo...
I want to add /foo/bar to the PYTHONPATH build so I don't have to add
it later on. Is
Hi everyone,
Could someone help explain what I am doing wrong in
this code block?
This code block is an excerpt from a larger file that receives
transmitted files via IBM WebSphere MQSeries an drops it to the local
file system.
Transmission of the file works as designed but it has a flaw.
If th
101 - 200 of 227 matches
Mail list logo