Hello,
the documentation of the smtpd module in the Python Library Reference
is very short, I think. Are there any examples available? Especially
I'm interested in the DebuggingServer.
Thanks in advance.
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
Statestep (which includes Python code generation) might
be something to look at.
It's designed to help the user create simplified rules
to begin with rather than derive them post hoc (it's
really for much bigger problems where enumerating
individual rules like you've done would be impractical)
...
En Wed, 06 Feb 2008 00:59:48 -0200, <[EMAIL PROTECTED]> escribi�:
> Is it appropriate to use a class as a simple container in order to
> access attributes using a series of dot operators? Is their a more
> Pythonic way of doing this? For instance, I have a "container" class
> which is never inst
I start using thread with simple example but now I have some problem.
PYTHON is the best===
import threading
import time
from jpype import *
def sleepFunction():
print"ya ali"
classpath = "-Djava.class.path=praat.jar"
startJVM(getDefaultJVMPa
Use full info and intelligent games and etc. just click
www.freeonlinegames.c-o.in
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> On Feb 5, 4:54 pm, Steven D'Aprano <[EMAIL PROTECTED]
> cybersource.com.au> wrote:
>
>> Okay, you know how hard it is to create a software JIT compiler for a
>> language as dynamic as Python? It's REALLY HARD, which is why it hasn't
>> already been done[1]. Now you want
Sean Allen wrote:
> ok, what am i doing wrong?
>
> in current working directory i have:
>
> t.py
> sub/t1.py
>
> t.py is:
>
> import sub.t1
>
> i get:
>
> ImportError: No module named sub.t1
>
> t.py is
>
> import sub
>
> i get:
>
> ImportError: No module named sub.t1
>
> --
>
> i am ob
ok, what am i doing wrong?
in current working directory i have:
t.py
sub/t1.py
t.py is:
import sub.t1
i get:
ImportError: No module named sub.t1
t.py is
import sub
i get:
ImportError: No module named sub.t1
--
i am obviously missing something really basic here.
have tried on multiple ma
I wrote a lil module using paramiko's module to send a file via
sftp.. it works great using the username and password.
I would prefer to use id_dsa.pub to have an autologon and not save
the
password anywhere on the disk.. I cant find a good example of this.
Can anyone help ?
--
http://mail.python.
At first glance it looks like a replace for _button_cart with the
dictionary items listed in the curly braces
and stuffing them into a list item (cartitems)
On Feb 2, 8:47 am, Tim Chase <[EMAIL PROTECTED]> wrote:
> > for item in cart.values():
> > v = _button_cart % {"idx": idx,
on windows you can put this in HKEY_Local_Machine\Software\Microsoft
\Windows\Current Version\Run and it will run at logon (or fast user
switch) for each user
or if you only want to do it for a specific user you need to determine
their CSLID and put it in the same locale under the HKEY_USERS\Users
Anyone know how to get idle working on OSX 10.5 (Leopard) ?
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 05 Feb 2008 22:34:59 -0200, E-Lo <[EMAIL PROTECTED]> escribió:
> How can I start a file (on Windows) with the associated program,
http://docs.python.org/lib/os-process.html#l2h-2760
startfile(path[, operation])
Start a file with its associated application.
When operation is not specified
En Wed, 06 Feb 2008 01:52:08 -0200, Gabriel Genellina
<[EMAIL PROTECTED]> escribió:
> I have a text file with marked up data that I need to convert into a
> text tab separated file.
Sorry, I sent the code too early:
rows = []
row = None
for line in file1:
line = line.strip() # remove lead
En Wed, 06 Feb 2008 00:54:49 -0200, Tess <[EMAIL PROTECTED]> escribió:
> I have a text file with marked up data that I need to convert into a
> text tab separated file.
>
> The structure of the input file is listed below (see file 1) and the
> desired output file is below as well (see file 2).
>
>
xkenneth wrote:
>> My question is: "What makes you think that there is a royal road to web
>> development?"
> I don't, I was just hoping there was something I was missing, or more
> simple than anything I'd experienced.
>
>> You have already chosen some technology (Ajax and ZODB) without any
>> ap
On Feb 5, 9:33 pm, xkenneth <[EMAIL PROTECTED]> wrote:
> > My question is: "What makes you think that there is a royal road to web
> > development?"
>
> I don't, I was just hoping there was something I was missing, or more
> simple than anything I'd experienced.
>
>
>
> > You have already chosen so
> My question is: "What makes you think that there is a royal road to web
> development?"
I don't, I was just hoping there was something I was missing, or more
simple than anything I'd experienced.
>
> You have already chosen some technology (Ajax and ZODB) without any
> apparent justification.
I'
On Feb 5, 10:04 pm, xkenneth <[EMAIL PROTECTED]> wrote:
> All,
>
> I'm trying to build a simple web application, but i still need
> things like sessions and Ajax. I tried to create a Zope product, but I
> honestly can't think of anything more cryptic. I really don't enjoy
> learning all of th
xkenneth wrote:
> For the DB backend I'm planning on using ZODB. ZODB is actually
> quite amazing, and after using it, I honestly can't think of a
> reason for using a SQL database.
Well, one reason is that this probably rules out most of your options
since most web frameworks include (or integra
xkenneth wrote:
> All,
>
> I'm trying to build a simple web application, but i still need
> things like sessions and Ajax. I tried to create a Zope product, but I
> honestly can't think of anything more cryptic. I really don't enjoy
> learning all of the "magic code" and debugging an environ
Christian Heimes wrote:
> Luis M. González wrote:
>> The result is that it runs slighty faster in both, IP and CP, but
>> cpython is still faster (around 2x) than ironpython.
>> However, when using psyco simply blows everything out of the water...
>
> CPython is very fast here because it keeps blo
On Feb 5, 9:59 pm, [EMAIL PROTECTED] wrote:
> Is it appropriate to use a class as a simple container in order to
> access attributes using a series of dot operators? Is their a more
> Pythonic way of doing this? For instance, I have a "container" class
> which is never instantiated directly, but
All,
I'm trying to build a simple web application, but i still need
things like sessions and Ajax. I tried to create a Zope product, but I
honestly can't think of anything more cryptic. I really don't enjoy
learning all of the "magic code" and debugging an environment I have
to study to know
Is it appropriate to use a class as a simple container in order to
access attributes using a series of dot operators? Is their a more
Pythonic way of doing this? For instance, I have a "container" class
which is never instantiated directly, but only through another class.
Access to certain attrib
Hello All,
I have a text file with marked up data that I need to convert into a
text tab separated file.
The structure of the input file is listed below (see file 1) and the
desired output file is below as well (see file 2).
I am a complete novice with python and would appreciate any tips you
ma
On Feb 5, 6:18 pm, [EMAIL PROTECTED] wrote:
> Firstly, thanks to those who posted.
>
> I just do not understand how the non-greedy operator works.
>
> Using the following code:
>
> import re
>
> s = "qry_Lookup.desc = CSS_Rpt1.desc AND qry_Lookup.lcdu1 =
> CSS_Rpt1.lcdu"
>
> pat = "(.+=)+?(.+)"
import subprocess
proc = subprocess.Popen(r'C:\example.bmp', shell=True)
- Adam
From: [EMAIL PROTECTED] on behalf of E-Lo
Sent: Tue 2/5/2008 6:34 PM
To: python-list@python.org
Subject: Running files with the associated program...
Hello all,
How can I start a
On 5 Feb, 07:09, [EMAIL PROTECTED] wrote:
> So, I'm parsing a log file that's being written out in
> real time.
>
>
> 123foo
>
> 456bar
>
> <--- no , coz the file hasn't yet been closed
This kind of "incomplete" XML (or perhaps ill-formed would be the
better term) is reminiscent of
Hello all,
How can I start a file (on Windows) with the associated program,
Like if I want to open a bmp file, I want to to be shown in the
program that all bmp files are associated with.
I need a python code to do this.
Thanks,
--
http://mail.python.org/mailman/listinfo/python-list
"Mark" <[EMAIL PROTECTED]> wrote
> Is it possible to traverse say python lists via http://
http is a network protocol.
What does that have to do with traversing python lists?
Can you clarify what you mean by that?
> say there is a list in the memory
> can we traverse the list using list/next lis
On 5 fév, 18:10, Mark <[EMAIL PROTECTED]> wrote:
> Is it possible to traverse say python lists via http://
>
> say there is a list in the memory
>
> can we traverse the list using list/next list/prev list/first list/last
>
> is there a pythonic library to do that?
>
> thanks
I'm not sure I totally
On Feb 5, 1:21 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Mon, 04 Feb 2008 19:22:29 -0800, castironpi wrote:
> > Some iterables and control loops can be multithreaded. Worries that
> > it takes a syntax change.
>
> > for X in A:
> > def f( x ):
> > normal suite( x )
>
Luis M. González wrote:
> The result is that it runs slighty faster in both, IP and CP, but
> cpython is still faster (around 2x) than ironpython.
> However, when using psyco simply blows everything out of the water...
CPython is very fast here because it keeps blocks of allocated integer
objects
En Tue, 05 Feb 2008 20:05:04 -0200, breal <[EMAIL PROTECTED]>
escribió:
> I need the program to start fully before I go on any further so that
> it is available later in my script. After it is used I need to kill
> the pid of the program I started. So, I was trying to use
> my_process = subpro
En Tue, 05 Feb 2008 13:36:00 -0200, Marcos Alcazar
<[EMAIL PROTECTED]> escribió:
> Hello to everybody, I'm from Argentina.
> [... problem description ...]
> Thanks, and sorry for my english :)
I can't help with your specific problem, but try http://www.python.com.ar/
--
Gabriel Genellina
--
On 5 feb, 05:19, Santiago Romero <[EMAIL PROTECTED]> wrote:
> ( Surely if this question has been asked for a zillion of times... )
> ( and sorry for my english! )
>
> I'm impressed with python. I'm very happy with the language and I
> find Python+Pygame a very powerful and productive way of wri
gozerbot 0.8 is coming real soon in a chat channel near you and thus
we have made a BETA of the upcoming 0.8 release available.
new in 0.8:
* third party addons for plugins
* ipv6 udp
* reboot without disconnects
* owneruserhost is now a list
* lots of bug fixes
please test g
En Tue, 05 Feb 2008 15:30:28 -0200, jpw <[EMAIL PROTECTED]>
escribió:
> I am writing a Python / C++ embed app and it need to work on 3
> platforms
>
> I have the PYTHONPATH variable set correctly and have gone back and
> downloaded compiled and installed the latest Python 2.5.1 on Solaris
> and
Stefan Behnel <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I'm parsing a log file that's being written out in
> > real time.
> > This is part of an event loop, so I want to have some code
> > that looks like this:
> >
> >when logfile is readable:
> >read one node, includin
On 5 feb, 14:31, dmitrey <[EMAIL PROTECTED]> wrote:
> Hi all,
> the urlhttp://torquedev.blogspot.com/2008/02/changes-in-air.html
> (blog of a game developers)
> says IronPython is faster than CPython in 1.6 times.
> Is it really true?
> If yes, what are IronPython drawbacks vs CPython?
> And is it
Is it possible to traverse say python lists via http://
say there is a list in the memory
can we traverse the list using list/next list/prev list/first list/last
is there a pythonic library to do that?
thanks
--
http://mail.python.org/mailman/listinfo/python-list
Neil Cerutti wrote:
> On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote:
>> I'm considering writing a little interpreter for a python-like
>> language and I'm looking for name suggestions. :-)
>>
>> Basically, I don't want to change a whole lot about Python. In fact,
>> I see myself starting with
On Feb 5, 4:54 pm, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> Okay, you know how hard it is to create a software JIT compiler for a
> language as dynamic as Python? It's REALLY HARD, which is why it hasn't
> already been done[1]. Now you want that done in *hardware*, which is
On Feb 5, 3:56 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> On Feb 5, 8:01 pm, Istvan Albert <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Feb 5, 12:31 pm, dmitrey <[EMAIL PROTECTED]> wrote:
>
> > > Hi all,
> > > the urlhttp://torquedev.blogspot.com/2008/02/changes-in-air.html
> > > (blog of a g
On Feb 5, 4:56 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> Could it be because .NET doesn't have arbitrary length integer types
> and your little benchmark will create lots of integers > 2**32 ?
> What is the result if you replace foo(a) with
> def foo(a): return sqrt(a)
Good observation,
On Feb 4, 9:25 pm, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> On 4 feb, 22:21, breal <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 4, 3:34 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>
> > > En Mon, 04 Feb 2008 20:59:16 -0200, breal <[EMAIL PROTECTED]>
> > > escribió:
>
> > > > I have a so
Steven D'Aprano wrote:
> On Tue, 05 Feb 2008 13:22:13 -0800, [EMAIL PROTECTED] wrote:
>
>> On Feb 5, 11:44 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>>> [EMAIL PROTECTED] wrote:
> Why not a Python COMPILER?
What about a Python JIT hardware chip, so the CPU doesn't have to
translat
On Feb 5, 8:01 pm, Istvan Albert <[EMAIL PROTECTED]> wrote:
> On Feb 5, 12:31 pm, dmitrey <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> > the urlhttp://torquedev.blogspot.com/2008/02/changes-in-air.html
> > (blog of a game developers)
> > says IronPython is faster than CPython in 1.6 times.
> > Is it
dmitrey wrote:
> Hi all,
> the url http://torquedev.blogspot.com/2008/02/changes-in-air.html
> (blog of a game developers)
> says IronPython is faster than CPython in 1.6 times.
> Is it really true?
> If yes, what are IronPython drawbacks vs CPython?
> And is it possible to use IronPython in Linux?
On Tue, 05 Feb 2008 13:22:13 -0800, [EMAIL PROTECTED] wrote:
> On Feb 5, 11:44 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>> >> Why not a Python COMPILER?
>>
>> > What about a Python JIT hardware chip, so the CPU doesn't have to
>> > translate. Although it seems to me
On Feb 5, 11:44 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >> Why not a Python COMPILER?
>
> > What about a Python JIT hardware chip, so the CPU doesn't have to
> > translate. Although it seems to me that with today's dual and quad
> > core processors that this might
no
--
http://mail.python.org/mailman/listinfo/python-list
Paul Boddie wrote:
> On 4 Feb, 20:30, John Nagle <[EMAIL PROTECTED]> wrote:
>>This has me completely mystified. Some SELECT operations performed
>> through
>> MySQLdb produce different results than with the MySQL graphical client.
>> This failed on a Linux server running Python 2.5, and I can
On 5 fév, 10:09, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> This isn't a strictly Python question but I wonder if someone could
> give me some clues here. I've been writing a number of stand-alone
> apps that use CherryPy as an embedded web server for displaying
> processed data and
On Feb 5, 2008 1:30 PM, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Ruby has a neat little convenience when writing loops where you don't
> > care about the loop index: you just do n.times do { ... some
> > code ... } where n is an integer repres
> Do you think that paramiko can replace telnet in my application? Thanks.
You need to use .invoke_shell(), then send() and recv().
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Bellman wrote:
> [EMAIL PROTECTED] wrote:
>
>> try:
>> test = Popen(test_path,
>> stdout=PIPE,
>> stderr=PIPE,
>> close_fds=True,
>> env=
On Feb 4, 2:45 pm, USCode <[EMAIL PROTECTED]> wrote:
> Wouldn't it be handy if there was a web framework that allowed you to
> create pages and control the interface like you would using a
> client-side GUI framework such as Tkinter?
>
> The framework would need a small, fast web server that would
Quine-McCluskey isn't too bad to do once or twice by hand, but if you change
even one row in your dataset, you'll have to repeat the ENTIRE Q-M
algorithm. It gets very tedious. For your application, I'd just use a hash
table. You dont need the reduced form of your data, you just need a look-up
tabl
Christian Heimes <[EMAIL PROTECTED]> writes:
> Thomas Bellman wrote:
>> The readlines() method will read until it reaches end of file (or
>> an error occurs), not just what is available at the moment. You
>> can see that for your self by running:
> Bad idea ;)
Why is it a bad idea to see how th
USCode <[EMAIL PROTECTED]> said :
> Thanks Jay and I guess in my original post I didn't explicitly specify
> Python but that is what I was after.
> After poking around a bit pyjamas looks like it might be exactly what I
> was after except the main pyjamas website http://pyjamas.pyworks.org
> ap
First question - is it possible to set font to default OS font for
window text? It would be preferable, while on my Windows XP system
Tkinter sets small Helvetica-style font by default.
Secondly, can I set font globally (or specify "default" font for
widgets)? In fact, all I want is to get defa
On Feb 5, 12:31 pm, dmitrey <[EMAIL PROTECTED]> wrote:
> Hi all,
> the urlhttp://torquedev.blogspot.com/2008/02/changes-in-air.html
> (blog of a game developers)
> says IronPython is faster than CPython in 1.6 times.
> Is it really true?
This is a second time around that IronPython piqued my inter
Gabriel Genellina wrote:
> En Tue, 05 Feb 2008 05:28:33 -0200, Marc 'BlackJack' Rintsch
> <[EMAIL PROTECTED]> escribi�:
>
>> On Mon, 04 Feb 2008 20:56:02 -0200, Gabriel Genellina wrote:
>>
>>> - the array module http://docs.python.org/lib/module-array.html provides
>>> homogeneuos arrays that may
[EMAIL PROTECTED] schrieb:
> Mike C. Fletcher:
>> Not sure if Mono also provides a speedup.
>
> There is a set of good benchmarks here, the answer is negative:
> http://shootout.alioth.debian.org/sandbox/benchmark.php?test=all&lang=iron
This doesn't look like Mono to me:
IronPython 1.1 (
The Grant Institute's Grants 101: Professional Grant Proposal Writing Workshop
will be held in Gorham, Maine, April 23 - 25, 2008. Interested development professionals, researchers, faculty, and graduate students should register as soon as possible, as demand means that seats will fill up quickl
[EMAIL PROTECTED] wrote:
> I'm parsing a log file that's being written out in
> real time.
> This is part of an event loop, so I want to have some code
> that looks like this:
>
>when logfile is readable:
>read one node, including children
>but don't try to read past , so that
>> Exactly, and if you use idiom func(*args, **kwargs) you can distinguish
>> all the usage cases:
>>
>> >>> def func(*args, **kwargs):
>
> Nice... but I would still like to be able to specify the key's default
> value in the func signature, and in this case this would not be
The workaround I hav
Mike C. Fletcher:
> Not sure if Mono also provides a speedup.
There is a set of good benchmarks here, the answer is negative:
http://shootout.alioth.debian.org/sandbox/benchmark.php?test=all&lang=iron
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
Adam W. wrote:
> I finally found away around it myself, I commented out line 1357 in lib
> \lib-tk\Tkinter.py that told it to call the settings, after I did that
> it fired right up, I went into the bindings and selected the default,
> closed out, uncommented that line, and I was back in buisness.
Thank you, Matt, for your valuable advice! I did try using ';' to issue three
commands at once and it works!
However, I have more problems with issuing ClearCase commands, which is what
I am really doing.
Under telnet, I could issue commands one by one, just as typing at the
command prompt. Now
I finally found away around it myself, I commented out line 1357 in lib
\lib-tk\Tkinter.py that told it to call the settings, after I did that
it fired right up, I went into the bindings and selected the default,
closed out, uncommented that line, and I was back in buisness.
On Feb 5, 2:27 pm, Chr
On Tue, 05 Feb 2008 14:22:39 -0500, "Mike C. Fletcher"
> [snip]
>
>PyPy is attempting to address this issue via a separate interpreter, but
>it's currently just playing catch-up on performance most of the time.
>It does have a JIT, and might one day be fast enough to be a usable
>replacement for C
I have a ZSI client talking to a perl program through SOAP. The perl
program has defined a return type of $esmith::recExtend, where
esmith::recExtend is a complex type defined in the WSDL as follows:
On Feb 5, 7:05 pm, "Adam W." <[EMAIL PROTECTED]> wrote:
> Tried running IDEL from the command prompt to get this:
>
> Traceback (most recent call last):
> File "c:\Python25\Lib\idlelib\idle.pyw", line 21, in
> idlelib.PyShell.main()
> File "c:\Python25\lib\idlelib\PyShell.py", line 1404, i
dmitrey wrote:
> Hi all,
> the url http://torquedev.blogspot.com/2008/02/changes-in-air.html
> (blog of a game developers)
> says IronPython is faster than CPython in 1.6 times.
> Is it really true?
>
On certain platforms, I believe so, for certain types of operations.
Not sure if Mono also pr
On 5 Feb., 14:41, "Neil Cerutti" <[EMAIL PROTECTED]> wrote:
> On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm considering writing a little interpreter for a python-like
> > language and I'm looking for name suggestions. :-)
>
> > Basically, I don't want to change a whole lot about
On 5 Feb., 14:41, "Neil Cerutti" <[EMAIL PROTECTED]> wrote:
> On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm considering writing a little interpreter for a python-like
> > language and I'm looking for name suggestions. :-)
>
> > Basically, I don't want to change a whole lot about
On 5 Feb., 14:41, "Neil Cerutti" <[EMAIL PROTECTED]> wrote:
> On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm considering writing a little interpreter for a python-like
> > language and I'm looking for name suggestions. :-)
>
> > Basically, I don't want to change a whole lot about
Jeff wrote:
> IronPython runs on top of .NET. I would be suspect of any claims that
> it is faster than cPython, just as I would of claims that Stackless or
> Jython are faster.
Well don't be. There are benchmarks that clearly show IronPython as
faster for selected tests. Other tests show CPytho
On Feb 5, 11:17 am, Daniel Folkes <[EMAIL PROTECTED]> wrote:
> I was wondering if anyone knew how to remove the Minimize, Maximize
> and Close from the frame around a gui.
> Removing everything would work even better.
>
> I would prefer instructions for tkinter, but any GUI would
> suffice(glade, g
Google for overrideredirect().
Louis
"Daniel Folkes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I was wondering if anyone knew how to remove the Minimize, Maximize
> and Close from the frame around a gui.
> Removing everything would work even better.
>
> I would prefer instructi
I'm surprised no one has mentioned Pyrex. It can be used to write
stand-alone C programs using near-Python syntax:
Pyrex: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
Stand-alone how-to: http://www.freenet.org.nz/python/embeddingpyrex/
Pyrex how-to: http://ldots.org/pyrex-guide/,
htt
Firstly, thanks to those who posted.
I just do not understand how the non-greedy operator works.
Using the following code:
import re
s = "qry_Lookup.desc = CSS_Rpt1.desc AND qry_Lookup.lcdu1 =
CSS_Rpt1.lcdu"
pat = "(.+=)+?(.+)"
m = re.match(pat, s)
if m is None:
print "No Match"
else:
IronPython runs on top of .NET. I would be suspect of any claims that
it is faster than cPython, just as I would of claims that Stackless or
Jython are faster.
--
http://mail.python.org/mailman/listinfo/python-list
Christian Heimes wrote:
> [EMAIL PROTECTED] wrote:
>> Multi-threaded control flow is a worthwhile priority.
>
> It is? That's totally new to me. Given the fact that threads don't scale
> I highly doubt your claim, too.
There's plenty that can be done to automatically extract parallelism
from
"Hyuga" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You know, I'm all for responsible parenting, and teaching kids about
> about responsible computer use, and even to an extent checking out
> things like browser history to make sure they're up to no good. But
> this is outright
Steve Holden wrote:
> John Nagle wrote:
>> Carsten Haese wrote:
>>> On Mon, 2008-02-04 at 11:30 -0800, John Nagle wrote:
Restarting the MySQL instance changes the database. The entry
"google.com"
disappears, and is replaced by "www.google.com". This must indicate
a hanging
>
On Feb 5, 5:05 pm, "Adam W." <[EMAIL PROTECTED]> wrote:
> Tried running IDEL from the command prompt to get this:
>
> Traceback (most recent call last):
> File "c:\Python25\Lib\idlelib\idle.pyw", line 21, in
> idlelib.PyShell.main()
> File "c:\Python25\lib\idlelib\PyShell.py", line 1404, i
En Tue, 05 Feb 2008 11:50:25 -0200, Mastastealth <[EMAIL PROTECTED]>
escribi�:
> On Feb 5, 1:17 am, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
>> Using the struct module http://docs.python.org/lib/module-struct.html
>>
>> import struct
>> data = info.read(15)
>> str1, str2, blank, height, wid
Ok, probably not the answer your after.
csound can do this easily.
If you doing it via python, you'll need some way of FFT analysing sample
data and analysing that to get which frequencies have the most energy...
although I'm sure there are some, I don't know the names of any python libs
that do
On Feb 5, 6:11 pm, Christian Heimes <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Multi-threaded control flow is a worthwhile priority.
>
> It is? That's totally new to me. Given the fact that threads don't scale
> I highly doubt your claim, too.
I would propose "for X IN A" for parall
On Feb 5, 5:22 am, [EMAIL PROTECTED] wrote:
> Some iterables and control loops can be multithreaded. Worries that
> it takes a syntax change.
>
> for X in A:
> def f( x ):
> normal suite( x )
> start_new_thread( target= f, args= ( X, ) )
>
> Perhaps a control-flow wrapper, or metho
Hi all,
the url http://torquedev.blogspot.com/2008/02/changes-in-air.html
(blog of a game developers)
says IronPython is faster than CPython in 1.6 times.
Is it really true?
If yes, what are IronPython drawbacks vs CPython?
And is it possible to use IronPython in Linux?
D.
--
http://mail.python.o
I am writing a Python / C++ embed app and it need to work on 3
platforms
I have the PYTHONPATH variable set correctly and have gone back and
downloaded compiled and installed the latest Python 2.5.1 on Solaris
and Linux. adding in the --enable-shared when running the ./
configure ... file
Mac -
I was wondering if anyone knew how to remove the Minimize, Maximize
and Close from the frame around a gui.
Removing everything would work even better.
I would prefer instructions for tkinter, but any GUI would
suffice(glade, gtk, wx, Qt). I really would like to make a widget
like object instead o
As other have said, it's because exec_command uses a new session each time.
You may get some joy with this, untested
exec_command('cd /some/where; somecommand')
uses the semi-colon to separate multiple commands on one command line.
Matt.
Tried running IDEL from the command prompt to get this:
Traceback (most recent call last):
File "c:\Python25\Lib\idlelib\idle.pyw", line 21, in
idlelib.PyShell.main()
File "c:\Python25\lib\idlelib\PyShell.py", line 1404, in main
shell = flist.open_shell()
File "c:\Python25\lib\idlel
En Tue, 05 Feb 2008 05:28:33 -0200, Marc 'BlackJack' Rintsch
<[EMAIL PROTECTED]> escribi�:
> On Mon, 04 Feb 2008 20:56:02 -0200, Gabriel Genellina wrote:
>
>> - the array module http://docs.python.org/lib/module-array.html provides
>> homogeneuos arrays that may be more efficient for your applic
1 - 100 of 148 matches
Mail list logo