Announcing
--
The 2.7.2.0 release of wxPython is now available for download at
http://wxpython.org/download.php. This is expected to be the last
stepping stone in the path to the next stable release series,
2.8.x. We're pushing full speed ahead in order to get 2.8.0 included
with OSX 10.5
[EMAIL PROTECTED] wrote:
> Hi,
> I am using "A[a,:]=row" in python, where A is a matrix and row is a
> sequence. But it gives following error:
> error--
> A[a,:]=row
> ValueError: setting an array element with a sequence.
>
> Is there a way to change type of sequence to array so
Robin Dunn wrote:
> Announcing
> --
Thanx.
But I found wxPy's release speed is too fast that we nearly cannot
catch up with it :)
--
http://mail.python.org/mailman/listinfo/python-list
Nick Vatamaniuc wrote:
> The two are not of the same type:
>
> -
> In : import sets
> In : s1=sets.Set([1,2,3])
>
> In : s2=set([1,2,3])
>
> In: type(s1)
> Out:
>
> In : type(s2)
> Out:
>
> In : s1==s2
> Out: False # oops!
>
> In: s2==set(s1)
> Out: True # aha!
Just thought that I'd let you know that PricePlay.com has launched an
awesome Partner Program for all the E-Commerce developers. All you
have to do is sign someone up and get paid.
http://www.priceplay.com/corporate/partners/incentive/signup.cfm
--
http://mail.python.org/mailman/listinfo/python
Hi everyone! I'm writing a python script which uses a C-written dll. I
call the functions in the dll using ctypes, but I don't know how to
catch the output of the "printf" which the C functions use. In fact I
don't even know if it is possible! I've heard something about PIPE and
popen...is this wha
Hello
I'm searching for a Python Module which is able to generate GUI events on
different platforms (at least X11 and Windows, MacOSX would be nice), but
without being a GUI toolkit itself. So PyTk is not a choice, because I need
to use it, to control GUIs of other Programs. I want to generate Mou
I am willing to barter for the space. I need csoundgrid2.py to be
callable from inside a program just like it is from the command line.
This has been driving me nuts for a couple of weeks. The program is
part of csoundroutines beta 8. and the program is called dex tracker
although knowing how to
[EMAIL PROTECTED] wrote:
> Just thought that I'd let you know that PricePlay.com has launched an
> awesome Partner Program for all the E-Commerce developers. All you
> have to do is sign someone up and get paid.
>
> http://www.priceplay.com/corporate/partners/incentive/signup.cfm
To extend and r
Hi I need your help...
I am implementing the method that updates given table (table is
represented as list of lists of strings) according to other table (some
kind of merging)...
This method takes following arguments:
t1 - table we would like to update
t2
Hi all. I am using python2.4 on suse linux 10.1 and i want to import the mx.DateTime module. does anyone know where i can find this module and how i can install it on linux?I would appreciate any help.thnx a lot kind regards,Antonios
Access over 1 million songs - Yahoo! Music Unlimited.--
http:
Hi to all folks here,
i just bought a book and started reading about this language.
I want to ask what options do we have to deploy a python program to
users that do not have the labguage installed ??
I mean, can i make an executable file, or something that contains the
runtime and the modules t
Hi,try:http://www.py2exe.org/regards,DimitriOn 8 Nov 2006 02:37:42 -0800, king kikapu <
[EMAIL PROTECTED]> wrote:Hi to all folks here,i just bought a book and started reading about this language.
I want to ask what options do we have to deploy a python program tousers that do not have the labguage
tom arnall wrote:
> Bruno Desthuilliers wrote:
>
>> tom arnall a écrit :
>>> does anyone know of a utility to do a recursive dump of object data
>>> members?
>>>
>> What are "object data members" ? (hint: in Python, everything is an
>> object - even functions and methods).
>>
>> What is your real
king kikapu wrote:
> Hi to all folks here,
>
> i just bought a book and started reading about this language.
> I want to ask what options do we have to deploy a python program to
> users that do not have the labguage installed ??
>
> I mean, can i make an executable file, or something that contains
I see...So, if these are the only options, the only "safe" bet is to
install the language on the machine (beeing Win, Linux or Mac)
and execute the .py files, right ??
On Nov 8, 1:24 pm, "Chris_147" <[EMAIL PROTECTED]> wrote:
> king kikapu wrote:
> > Hi to all folks here,
>
> > i just bought a b
Oops, found the problem in my code.
Sorry for wasting peoples time if you're viewing.
--
http://mail.python.org/mailman/listinfo/python-list
for x in range(3): pass
After this statement is executed x is global variable. This seems very
unnatural to me and caused me 3 three days of debugging because I was
unintentionally using x further down in my program (typo). I would have
thought that variables like this are local to the for bloc
Hai friends,
I wrote a programme to display a window (ui) using Python. I renamed it
as .pyw to avoid popping-up the dos window while running it. It worked
fine. But when i converted it to executable file using py2exe; the dos
window appears. Can anybody tell me what the solution is.
Thanks and R
Antoine De Groote wrote:
> for x in range(3): pass
>
> After this statement is executed x is global variable. This seems very
> unnatural to me and caused me 3 three days of debugging because I was
> unintentionally using x further down in my program (typo). I would have
> thought that variables
Hi all,
I'm putting together a simple help module for my applications, using
html files stored in the application directory somewhere. Basically it
sets up a basic web server, and then uses the webbrowser module to
display it in the users browser. I have it set up to call sys.exit(0)
if the url qu
I hope job ads are ok in this group. It looks like my efforts to
make python our base service oriented architecture technology and
Django as the core web framework is coming through. I now need to hire
a New York based developer to be the tech lead for much of this effort.
I can't reveal the co
Thanks Roger, I'll give it a shot.
Is os.walk the best way (using standard library modules) to traverse
directory trees in Python 2.4 and beyond?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,I'm wondering if there is an environment for any web browser that executes python codeand running a gui inside the web browser like applet, flash or like those ?Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Antoine De Groote <[EMAIL PROTECTED]> writes:
> for x in range(3): pass
>
> After this statement is executed x is global variable.
Not exactly. The name 'x' is bound at the scope of the 'for'
statement, and remains bound after the 'for' statement stops, just as
it would be if it was bound in any
Antoine De Groote <[EMAIL PROTECTED]> wrote:
> for x in range(3): pass
>
> After this statement is executed x is global variable. This seems very
> unnatural to me and caused me 3 three days of debugging because I was
> unintentionally using x further down in my program (typo). I would have
>
Could you give an example for listing security descriptors using the
win32security module? I looked at the documentation but found it
confusing. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
actually what i want to do is this:
i have a file with following format:
1 2
3 9
2 3
4 4
I want to read it and then store the values into two matrices, s.t.
A=[1 2;3 9]
B=[2 3;4 4]
any easier way of doing this?
thanks
Amit
Robert Kern wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> > I am using "A[
Srinivasa wrote:
> Hai friends,
> I wrote a programme to display a window (ui) using Python. I renamed it
> as .pyw to avoid popping-up the dos window while running it. It worked
> fine. But when i converted it to executable file using py2exe; the dos
> window appears. Can anybody tell me what th
Stephan Kuhagen wrote:
> Hello
>
> I'm searching for a Python Module which is able to generate GUI events on
> different platforms (at least X11 and Windows, MacOSX would be nice), but
> without being a GUI toolkit itself. So PyTk is not a choice, because I need
> to use it, to control GUIs of oth
king kikapu wrote:
> I see...So, if these are the only options, the only "safe" bet is to
> install the language on the machine (beeing Win, Linux or Mac)
> and execute the .py files, right ??
>
>
Well on a Win machine, probably.
Almost every Linux machine you come across will have (most likely a
Em Tue, 07 Nov 2006 17:03:17 -0800, Stuart Bishop escreveu:
>
> The following SQL statement will return the last 200 rows in reverse order:
>
> SELECT * FROM seconds ORDER BY tempounix DESC LIMIT 200
>
> This will only send 200 rows from the server to the client (your existing
> approach will s
In <[EMAIL PROTECTED]>, Farraige wrote:
> Let's say we have a table T1:
>
> A B C D E
> ---
> 1 4 5 7 7
> 3 4 0 0 0
>
> and we call a method mergeTable(T1, T2, [0,1], [2,4])
>
> It means that we would like to update columns C and E of table T1 with
> data from table T2 but only
Antonios Katsikadamos wrote:
> Hi all. I am using python2.4 on suse linux 10.1 and i want to import the
> mx.DateTime module. does anyone know where i can find this module and
> how i can install it on linux?
>
> I would appreciate any help.
>
Look on www.egenix.com
regards
Steve
--
Steve H
Ross Ridge schrieb:
> So give an example where reference counting is unsafe.
Martin v. Löwis wrote:
> Nobody claimed that, in that thread. Instead, the claim was
> "Atomic increment and decrement instructions are not by themselves
> sufficient to make reference counting safe."
So give an example
Hello :)
I have installed Apache on windows...
The server work well, and my python script also
but when I want in my python script to run a System command like
os.system(my_command) the script doesn't do anything!
here the error.log
[Wed Nov 08 14:19:30 2006] [error] [client 127.0.0.1] The syst
Jogo da velha
Jogo do galo
Codigos em python kem me arranja
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-11-08, Farraige <[EMAIL PROTECTED]> wrote:
>
> ...
>
> The main part of my algorithm now looks something like ...
>
> merge(t1, t2, keyColumns, columnsToBeUpdated)
>
> ...
>
> for row_t1 in t1:
> for row_t2 in t2:
> if [row_t1[i] for i in keyColumns]
Hi everyone,
recently, I have installed Python 2.5 in a Windows XP (SP2) system, along with the numarray, PIL, and PyWin packages. Since then, I've been getting the following error message whenever I run one of my simulations within PyWin:
The instruction "0x7c168f1d" referenced memory at "0x
[EMAIL PROTECTED] wrote:
> Could you give an example for listing security descriptors using the
> win32security module? I looked at the documentation but found it
> confusing. Thanks.
There are some examples of using the security descriptor objects in
\Lib\site-packages\win32\Demos\security.
Also
Hi,
I have a C-application that calls a Python function main(). This
function will loop forever and not return until the entire application
is about to terminate.
In a parallel C-thread, some data must be regularly delivered to the
running python application. My initial plan was to call a py f
In article <[EMAIL PROTECTED]>,
Richard Charts <[EMAIL PROTECTED]> wrote:
.
.
.
>Well on a Win machine, probably.
>Almost every Linux machine you come across will have (most likely a
>fairly recent build of) python. For Macs,
Chris_147 wrote:
> king kikapu wrote:
> > Hi to all folks here,
> >
> > i just bought a book and started reading about this language.
> > I want to ask what options do we have to deploy a python program to
> > users that do not have the labguage installed ??
> >
> > I mean, can i make an executabl
Diez> It's an somewhat unfortunate fact that loop variables leak to the
Diez> outer scope. List-comps as well, btw.
It's unfortunate that loop variables leak from list comprehensions (they
don't leak in genexps). It's by design in for loops though. Consider:
for i in range(10):
hi all. I am using python 2.4. I have to run an older python code and when i run it i get the following messageIndentationError: expected an indented block.1)what does this mean?2)how can i overcome this problemThanks for any advice.kind regards,Antonios
Sponsored Link
Free Uniden 5.8GHz Phone S
Dennis Lee Bieber wrote:
> On 7 Nov 2006 11:34:32 -0800, "mp" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> > I have html document titles with characters like >, , and
> > ‡. How do I sddecode a string with these values in Python?
> >
>
> Wouldn't HTMLParser be suit
Ross Ridge wrote:
> Ross Ridge schrieb:
>
>>So give an example where reference counting is unsafe.
>
>
> Martin v. Löwis wrote:
>
>>Nobody claimed that, in that thread. Instead, the claim was
>>"Atomic increment and decrement instructions are not by themselves
>>sufficient to make reference cou
Cliff Wells wrote:
> On Mon, 2006-11-06 at 18:20 -0800, Beliavsky wrote:
> > Carl J. Van Arsdall wrote:
> >
> >
> >
> > > Pyro is fucking amazing and has been a great help to a couple of our
> > > projects.
> >
> > You should watch your language in a forum with thousands of readers.
>
> The LA T
Hi,I have came across this like problem in my simulations also. But the case is not for the program structure orpython version, the case is hardware :) . If you have time to try it on some other machine than the current and
if the problem arises then there is something different!
--
http://mail.py
Antonios Katsikadamos пишет:
> hi all. I am using python 2.4. I have to run an older python code and when i
> run it i get the following message
>
> IndentationError: expected an indented block.
>
> 1)what does this mean?
http://www.python.org/doc/2.4.3/ref/indentation.html
> 2)how can i ove
Last chance to join the Summer of PyPy!
===
Hopefully by now you have heard of the "Summer of PyPy", our program for
funding the expenses of attending a sprint for students. If not, you've
just read the essence of the idea :-)
However, the PyPy EU funding peri
Is there a new version of Demo Docs released also?
I get this error from Sourceforge after clicking on
the link at wxPython page.
Could not read file.
Go back.
/home/ftp/pub/sourceforge//w/wx/wxpython/wxPython2.7-win32-docs-demos-2.7.2.0.exe
Nov 08, 2006 07:10
--- Robin Dunn <[EMAIL PROTECTED
On Tue, Nov 07, 2006 at 07:30:49AM -0800, [EMAIL PROTECTED] wrote:
> Hi Folks,
>
>
> I want to install the SOAPpy module on my windows box. I have python
> 2.4.3
>
> Can you help me with the steps and the URL from where can I get the
> download..??
http://pywebsvcs.sourceforge.net/
>
> TIA.
>
mp wrote:
> I have html document titles with characters like >, , and
> ‡. How do I decode a string with these values in Python?
>
> Thanks
>
>
This is definitely the most FAQ. It comes up about once a week.
The stream-editing way is like this:
>>> import SE
>>> HTM_Decoder = SE.SE ('htm2is
Hi Bugra,
thanks for your reply. I did try the same code on a Windows 2000 system where I also installed and later removed Python 2.5. There, I obtained the same problem :( That's why I think it has to do with software. I've also searched on the internet and this problem seems to come up also wit
"Some guy hit my fender, and I said to him, 'Be fruitful and multiply,'
but not in those words." --Woody Allen
"Language is a virus from outer space." --William Burroughs
--
http://mail.python.org/mailman/listinfo/python-list
hi all. I try to run an old python code and i get the following message File "/home/antonis/db/access.py", line 119 def DoCsubnet1 (action, subject, target, args): # DoC servers net ^ IndentationError: expected an indented block 1) and I don't know what causes it. I would be
Kenneth Long wrote:
> Is there a new version of Demo Docs released also?
>
> I get this error from Sourceforge after clicking on
> the link at wxPython page.
>
> Could not read file.
>
> Go back.
> /home/ftp/pub/sourceforge//w/wx/wxpython/wxPython2.7-win32-docs-demos-2.7.2.0.exe
Looks like the
Hi.
I would like to add people with full control access to a directory. I
can do it to a file in the following way:
info=win32security.DACL_SECURITY_INFORMATION
sd=win32security.GetFileSecurity(DIR, info)
acl=sd.GetSecurityDescriptorDacl()
Hi.
I would like to add users with full control access to a directory. I
can do it to a file in the following way:
info=win32security.DACL_SECURITY_INFORMATION
sd=win32security.GetFileSecurity(DIR, info)
acl=sd.GetSecurityDescriptorDacl()
BartlebyScrivener wrote:
> John Salerno wrote:
>
>>> Ah well, I'm sure there was *something* different
>
> Are you sure that it's not you were doing SELECT before, as opposed to
> INSERT?
Perhaps. It might have been that I used the INSERT statement on the
sqlite command line, then used SELECT i
Dennis Lee Bieber wrote:
> The other thing to consider is that, if you were testing using a
> single cursor, and single session, the database would have shown you
> uncommitted changes. It wouldn't have been until you closed the
> cursor/connection without a commit that the DBMS would have t
Ant wrote:
...
> However, at this point instead of getting back to a command prompt, I
> get an unresponsive console. Hitting CTRL-Break gets me the command
> prompt back, but I would have expected to get back the command prompt
> as soon as the sys.exit(0) had completed.
...
> class HelpHTTPReque
Chris Lambacher wrote:
> On Tue, Nov 07, 2006 at 04:15:39PM -0500, John Salerno wrote:
>> Cameron Laird wrote:
>>
>>> Fredrik Lundh collects pyidioms:
>>> http://effbot.org/zone/python-lists.htm
>> Not working?
> perhaps http://effbot.org/zone/python-list.htm ?
>
Thanks guys!
--
http://m
Ben Finney wrote:
> John Salerno <[EMAIL PROTECTED]> writes:
>
>> But I do like Steve's suggestion that it's better to be explicit
>> about each attribute, instead of just accepting a list of numbers
>> (but I can't help but feel that for some reason this is better,
>> because it's more general).
Ross Ridge wrote:
> Ross Ridge schrieb:
>> So give an example where reference counting is unsafe.
>
> Martin v. Löwis wrote:
>> Nobody claimed that, in that thread. Instead, the claim was
>> "Atomic increment and decrement instructions are not by themselves
>> sufficient to make reference counting
robert wrote:
> Martin v. Löwis wrote:
[..]
>
> Thanks for that info. That is interesting.
> Thus even on x86 currently this LOCK is not used (just
> (op)->ob_refcnt++) )
>
> Reading this I got pinched: In win32ui there are infact Py_INC/DECREF's
> outside of the GIL !
> And I have a severe
Beliavsky> English is a rich language, and there are better ways of
Beliavsky> doing that.
aahz> Oh, gimme a fucking break.
I'm with Beliavsky on this one. I can't see any particular reason to curse
in a forum such as c.l.py. It just coarsens the discussion with no obvious
positive
Sandra-24 wrote:
> On Nov 2, 1:32 pm, robert <[EMAIL PROTECTED]> wrote:
>> I'd like to use multiple CPU cores for selected time consuming Python
>> computations (incl. numpy/scipy) in a frictionless manner.
>>
>> Interprocess communication is tedious and out of question, so I thought
>> about sim
Svein Seldal wrote:
> Hi,
>
> I have a C-application that calls a Python function main(). This
> function will loop forever and not return until the entire application
> is about to terminate.
>
> In a parallel C-thread, some data must be regularly delivered to the
> running python application
Antonios Katsikadamos wrote:
> hi all. I try to run an old python code and i get the following message
>
> File "/home/antonis/db/access.py", line 119
> def DoCsubnet1 (action, subject, target, args): # DoC
> servers net
> ^
> IndentationError: expected an indented block
>
I want to be able to randomly change pixels in an image and view the
results. I can use whatever format of image makes this easiest, e.g.,
gray scale, bit tonal, etc.
Ideally I'd like to keep the pixels in an intermediate format like a
list of (integers?) or an array and convert that to an image
try this
def DoCsubnet1 (action, subject, target,
args):
pass
jim-on-linux
http://www.inqvista.com
On Wednesday 08 November 2006 10:47, Antonios
Katsikadamos wrote:
> hi all. I try to run an old python code and i
> get the following message
>
> File
Shane Hathaway wrote:
> of multiple cores. I think Python only needs a nice way to share a
> relatively small set of objects using shared memory. POSH goes in that
> direction, but I don't think it's simple enough yet.
>
> http://poshmodule.sourceforge.net/
interesting, a solution possibly a li
On Wed, 2006-11-08 at 06:49 -0800, Beliavsky wrote:
> Cliff Wells wrote:
> > The LA Times had a story that claimed that 64% of U.S. citizens use the
> > word "fuck" and that 74% of us have heard it in public (I'll assume the
> > remainder are your fellow AOL users). I expect extrapolating these
>
[EMAIL PROTECTED] wrote:
> I'm with Beliavsky on this one. I can't see any particular reason to curse
> in a forum such as c.l.py. It just coarsens the discussion with no obvious
> positive benefit as far as I can see.
All true. But it's like picking your nose. Yes, it's bad manners in
public,
Ant wrote:
...
> OK, I've narrowed the problem back to the way HTTPServer (actually its
> TCPServer parent) handles exceptions thrown by the process_request
> method by catching them all, and then calling a handle_error method.
> There doesn't seem to be a way of getting at the exception thrown
>
robert wrote:
> I'd like to use multiple CPU cores for selected time consuming Python
> computations (incl. numpy/scipy) in a frictionless manner.
Threading is not the best way to exploit multiprocessors in this
context. Threads are not the preferred way of exploiting multiple
processors in scie
Steve Holden wrote:
> Could you have the Python code create a second Python thread and have it
> call back into the C code to collect any waiting data?
Well yeah, in principle. However one would need some synchronization
mechanisms anyway. The C data source is generating asynch. messages to
de
I have a very small script:
import re
text = open('eq.txt','r').read()
regex = '[^A-Z][A-Z]{3}([a-z])[A-Z]{3}[^A-Z]'
pattern = re.compile(regex)
match = pattern.findall(text)
print ''.join(match)
However, when I try to run it, I get this error:
Traceback (most recent call last):
File
"/Appli
robert <[EMAIL PROTECTED]> writes:
> what about speed. Is it true that IronPython is almost as fast as C-Python
> meanwhile?
>
> When this all is really true, its probably a proof that putting out
> LOCK-INC-lock's (on dicts, lists, mutables ...) in CPython to remove
> the GIL in future should no
BartlebyScrivener wrote:
> Chaz Ginger wrote:
>
>
>>> it is supposed to be about PYTHON. Get it?
>>>
>
> I agree. And Python is an extremely serious matter calling for decorum
> and propriety.
>
Lol, is it really now? And I suppose its your definition of decorum and
not mine right?
On Wed, 2006-11-08 at 10:12 -0800, Carl J. Van Arsdall wrote:
> BartlebyScrivener wrote:
> > I agree. And Python is an extremely serious matter calling for decorum
> > and propriety.
> >
> Lol, is it really now? And I suppose its your definition of decorum and
> not mine right? Things like t
Ok, back to my so-called "game." I'm just curious if I've implemented
the subclasses properly, because it seems like an awful lot of
repetition with the parameters. And again, if I want to add a new
attribute later, I'd have to change a lot of things. I can't help but
get the feeling that I'm d
BartlebyScrivener wrote:
> Chaz Ginger wrote:
>
> >> it is supposed to be about PYTHON. Get it?
>
> I agree. And Python is an extremely serious matter calling for decorum
> and propriety.
>
> Don't say fuck, ni, peng, or ni-wom.
>
> http://en.wikipedia.org/wiki/Knights_who_say_Ni
>
> rd
Does usin
At Wednesday 8/11/2006 05:26, George Sakkis wrote:
Or you may have this done automatically by hacking the Set class:
from sets import Set
import cPickle as pickle
Set.__reduce__ = lambda self: (set, (self._data,))
s = Set([1,2,3])
x = pickle.dumps(s)
print pickle.loads(x)
This doesn't work
On Wed, 2006-11-08 at 11:53 -0500, Gregory Piñero wrote:
> I want to be able to randomly change pixels in an image and view the
> results. I can use whatever format of image makes this easiest, e.g.,
> gray scale, bit tonal, etc.
>
> Ideally I'd like to keep the pixels in an intermediate format l
Cliff Wells wrote:
> On Wed, 2006-11-08 at 10:12 -0800, Carl J. Van Arsdall wrote:
>
>> BartlebyScrivener wrote:
>>
>
>
>>> I agree. And Python is an extremely serious matter calling for decorum
>>> and propriety.
>>>
>>>
>> Lol, is it really now? And I suppose its your defini
Hi all,
I'm a recent, belated convert from Perl. I work in a physics lab and
have been using Python to automate a lot of measurement equipment
lately. It works fabulously for this purpose. Recently I've wanted to
start writing GUIs for some of my programs, for data visualization and
to make the
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Beliavsky <[EMAIL PROTECTED]> wrote:
> >
> >If this is supposed to justify using bad language in a public forum,
> >it is poorly reasoned. Having heard "f***" does not mean they were not
> >annoyed. 100% of people have seen trash on the street, but t
Dan Lenski wrote:
> So, is there another toolkit I should be looking at?
I highly recommend wxPython. It's very mature, full-featured, and
portable, and fairly easy to learn as well. I can't really compare it to
other toolkits (not having used any of them, except Tkinter), but it's
definitely
As an exercise in the use of dispatcher
I concocted a Zoo with some Animals, see below.
It works, but I think it is convoluted, obfuscated.
The idea is that in the Zoo each animal needs its own type of food,
and the Zoo should acknowledge a wish for that food,
as soon as the animal says it wants
Svein Seldal wrote:
> Steve Holden wrote:
>
>> Could you have the Python code create a second Python thread and have it
>> call back into the C code to collect any waiting data?
>
> Well yeah, in principle. However one would need some synchronization
> mechanisms anyway. The C data source is ge
sturlamolden wrote:
> 3. One often uses cluster architectures (e.g. Beowulf) instead of SMPs
> for scientific computing. MPI works on SMP and clusters. Threads only
> work on SMPs.
Following up on my previous post, there is a simple Python MPI wrapper
that can be used to exploit multiple process
Ant wrote:
> Ant wrote:
>
>> OK, I've narrowed the problem back to the way HTTPServer (actually its
>> TCPServer parent) handles exceptions thrown by the process_request
>> method by catching them all, and then calling a handle_error method.
>> There doesn't seem to be a way of getting at the
Hello,
I am working on a school project that requires me to get the path of a
filename for future treatment.
I've tried getting a file with tkFileDialog.askopenfile.
import tkFileDialog
file = tkFileDialog.askopenfile()
print file
*
John Salerno wrote:
> Ok, back to my so-called "game." I'm just curious if I've implemented
> the subclasses properly, because it seems like an awful lot of
> repetition with the parameters. And again, if I want to add a new
> attribute later, I'd have to change a lot of things. I can't help but
sturlamolden wrote:
> http://www-unix.mcs.anl.gov/mpi/mpich1/mpich-nt/
One should probably use this instead:
http://www-unix.mcs.anl.gov/mpi/mpich2/index.htm
--
http://mail.python.org/mailman/listinfo/python-list
Paddy wrote:
> Aahz wrote:
>
>> In article <[EMAIL PROTECTED]>,
>> Beliavsky <[EMAIL PROTECTED]> wrote:
>>
>>> If this is supposed to justify using bad language in a public forum,
>>> it is poorly reasoned. Having heard "f***" does not mean they were not
>>> annoyed. 100% of people have see
At Wednesday 8/11/2006 06:09, Massi wrote:
Hi everyone! I'm writing a python script which uses a C-written dll. I
call the functions in the dll using ctypes, but I don't know how to
catch the output of the "printf" which the C functions use. In fact I
don't even know if it is possible! I've hear
1 - 100 of 200 matches
Mail list logo