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 well.
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, but
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 got a
[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
--
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
Intel has introduced something called CESR, written in Python, to aid
C, C++, and Fortran programmers in reducing the sizes of programs
included in bug reports. Here is a brief description from
http://cache-www.intel.com/cd/00/00/21/93/219320_relnotes_10.pdf :
Compiler Error Source Reducer (CESR)
Avell Diroll [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
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
Marshall wrote:
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
This way is probably slowe (two scans of the list for l1, and even more
work for l2), but for small lists it's probably simple enough to be
considered:
For a simple list:
l1 = [5, 3, 2, 1, 4]
l1.index(min(l1))
3
For a list of lists:
l2 = [[3, 3, 3, 3], [6], [10], [3, 3, 3, 1, 4], [3, 0, 3,
On 21 Jun 2006 15:54:56 -0700, rh0dium [EMAIL PROTECTED] wrote:
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
On 21 Jun 2006 15:04:23 -0700, Greg Buchholz
[EMAIL PROTECTED] wrote:
I haven't been following this thread too closely, but I thought the
following article might be of interest...
Eliminating Array Bound Checking through Non-dependent types.
http://okmij.org/ftp/Haskell/types.html#branding
rh0dium wrote:
(snip)
I want to add /foo/bar to the PYTHONPATH build so I don't have to add
it later on. Is there a way to do this?
(snip)
If i understand correctly, you want to add a directory to your
PYTHONPATH for a specific script without modifying the system PYTHONPATH
global variable
Frithiof Andreas Jensen wrote:
Just gave is a spin yesterday: How does on fix the size of layout; I
can only manage to get sizers to distribute space evently amongst the
fields, which is *not* what I want.
Use spacers.
Don.
--
http://mail.python.org/mailman/listinfo/python-list
Though Python is the language I use the most, there are several things
that I still hate, mostly about the implementation (CPython)...
The good thing is that some of these warts are now resolved, like the
exec dict issue.
Here is another one:
The object's __dict__ can only be a dict derivative
Hi everyone,
I'm creating a desktop Python application that requires web-based
authentication for accessing additional application features.
HTTP GET is really simple.
HTTP POST is not (at least for me anyway);)
I have tried a few different sources, but I cannot get HTTP POST to
I'm using popen2 and getting an extra 1 at the end of my output. I didn't
see where this was explained in the docs so I clearly don't understand the
behavior. My code is simple.
(input, output) = os.popen2('whackyperlprogram')
results = output.read()
rc = output.close()
print results
The
[MTD [EMAIL PROTECTED]]
I've been testing my recursive function against your iterative
function, and yours is generally a quite steady 50% faster on
factorizing 2**n +/- 1 for 0 n 60.
If you're still not skipping multiples of 3, that should account for most of it.
I think that, for a
Pascal Costanza wrote:
There is, of course, room for research on performing static type checks
in a running system, for example immediately after or before a software
update is applied, or maybe even on separate type checking on software
increments such that guarantees for their composition
[EMAIL PROTECTED] wrote:
I found a way to create Open File or Open Folder windows dialog
boxes, but not to create an easier Yes / No dialog box...
Maybe someone has a solution for this?
Maybe you would like EasyGui
http://www.ferg.org/easygui/
Kent
--
Marshall [EMAIL PROTECTED] wrote:
Well, it strikes me that some of what the dynamic camp likes
is the actual *absence* of declared types, or the necessity
of having them. At the very least, requiring types vs. not requiring
types is mutually exclusive.
So you're saying, then, that while
David Hopwood [EMAIL PROTECTED] wrote:
Typical programming languages have many kinds of semantic error that can occur
at run-time: null references, array index out of bounds, assertion failures,
failed casts, message not understood, ArrayStoreExceptions in Java,
arithmetic overflow, divide by
Michele Simionato wrote:
alf wrote:
Python is ways cooler than C++.
I switched to Python from C++ over year ago and do not see a way back.
C++ just sucks at each corner.
This is a sensible use case where you may
want to change the base class at runtime:
Thx for the example.
A.
--
[EMAIL PROTECTED] wrote:
For example it resembles the icon for text files.
This is intentional: to make it obvious that .py files are the
readable, editable scripts, contrasting with .pyc's binary gunk -
I think this is a mistake, it does not seem obious, all it does is just
blends in and
Rob Thorpe [EMAIL PROTECTED] wrote:
+---
| So, will y'all just switch from using dynamically typed to latently
| typed, and stop talking about any real programs in real programming
| languages as being untyped or type-free, unless you really are
| talking about situations in which
hello, everyone.
i am trying to write a program which executes SQL commands stored in
.sql files.
i wrote a function called psql() whose contents look like the
following.
...
os.popen(command)
file = os.popen(command, 'w')
file.write(password)
file.close()
...
where command looks like
psql -h
Marshall [EMAIL PROTECTED] wrote:
+---
| 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
|
Rob Warnock [EMAIL PROTECTED] wrote:
Another language which has *neither* latent (dynamic) nor
manifest (static) types is (was?) BLISS[1], in which, like
assembler, variables are just addresses[2], and values are
just a machine word of bits.
I'm unsure that it's correct to describe any
I tried binding mouse wheel events (Button-4, Button-5) to a Tkinter
Canvas widget with the hope of using the event.delta value to
subsequently scroll the Canvas.
However, it seems that event.delta always returns 0.
For example,
from Tkinter import *
r = Tk()
c = Canvas(r,
Patch / Bug Summary
___
Patches : 378 open ( +3) / 3298 closed (+34) / 3676 total (+37)
Bugs: 886 open (-24) / 5926 closed (+75) / 6812 total (+51)
RFE : 224 open ( +7) / 227 closed ( +7) / 451 total (+14)
New / Reopened Patches
__
Improve
Im sorry if this was already posted to the list; Ive
been having major e-mail problems lately.
Hi All,
Ive already done a large amount of searching on
Google to find out this information, but to no avale.
Does anyone here know of a list of operators in python and
there
Bugs item #1509132, was opened at 2006-06-20 08:17
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1509132group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1510172, was opened at 2006-06-21 13:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1510172group_id=5470
Please note that this message will contain a full copy of
Bugs item #1510172, was opened at 2006-06-21 12:35
Message generated for change (Comment added) made by mnot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1510172group_id=5470
Please note that this message will contain a full copy of the comment thread,
Bugs item #1510172, was opened at 2006-06-21 13:35
Message generated for change (Comment added) made by mitchchapman
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1510172group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1495488, was opened at 2006-05-26 12:19
Message generated for change (Comment added) made by theaney
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1495488group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #513840, was opened at 2002-02-06 12:55
Message generated for change (Comment added) made by fdrake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=513840group_id=5470
Please note that this message will contain a full copy of the
201 - 237 of 237 matches
Mail list logo