On Tue, 05 Feb 2008 06:19:12 +, Odysseus wrote:
> In article <[EMAIL PROTECTED]>,
> Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
>> Another issue is testing. If you rely on global names it's harder to test
>> individual functions. [...]
>>
>> In programs without such global names
I wrote a simple keylogger for a friend of mine that wants to keep track of
his kid's (12 and 14 yr old boys) computer usage to make sure they aren't
getting into the naughty parts of the web. The logger works great (source
attached at bottom) but I ran into some troubles getting it to autorun on
Thank you every one,
I ended up using a solution similar to what Gary Herron suggested :
Caching the output to a list of lists, one per file, and only doing the
IO when the list reaches a certain treshold.
After playing around with the list threshold I ended up with faster
execution times than
( 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 writing 2D
games. I'm not, at this moment, worried about execution speed
Stef Mientki a écrit :
(snip)
> The most important one is a PHP script that searches text in all
> documents on my website.
> Does someone has such a script ?
There's some good stuff in Zope for plain-text indexing. I think you
could build from this (IIRC, looking for TextIndexNG should take you
On Feb 5, 9:19 am, Santiago Romero <[EMAIL PROTECTED]> wrote:
> ( Surely if this question has been asked for a zillion of times... )
Sure. You can access comp.lang.python via google.google.com. It has a
search function.
--
http://mail.python.org/mailman/listinfo/python-list
You can also compile parts of Python to speed them up!
On Feb 5, 2008 9:37 AM, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> On Feb 5, 9:19 am, Santiago Romero <[EMAIL PROTECTED]> wrote:
> > ( Surely if this question has been asked for a zillion of times... )
>
> Sure. You can access comp.lang.pyth
On Feb 5, 9:19 am, 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 w
Gabriel Genellina wrote:
> En Mon, 04 Feb 2008 17:25:00 -0200, rdahlstrom <[EMAIL PROTECTED]>
> escribió:
>> On Feb 4, 2:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>>> Well, i guess you will need a process on each machine you need to
>>> monitor, and then you do have a client server
-On [20080205 09:22], Santiago Romero ([EMAIL PROTECTED]) wrote:
> Why not a Python COMPILER?
A lot of things within Python are very run-time dependent so creating a
compiler is not trivial work.
There are, however, endeavours underway like shed skin:
http://code.google.com/p/shedskin/
T
Or is XMLsig for Dynamic Languages (Ruby, Python, PHP and Perl)
at http://xmlsig.sourceforge.net/ the only option ?
-- Roland
--
http://mail.python.org/mailman/listinfo/python-list
If you want to create standalone python applications I'd suggest you to use
PyInstaller which is an excellent application that boundles everything you
need to run your application in a standalone package. It works on windows,
linux and I think mac but i'm not sure.
On Feb 5, 2008 10:25 AM, James
[EMAIL PROTECTED] wrote:
> On Feb 5, 12:26 am, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
>> On 5 feb, 03:46, [EMAIL PROTECTED] wrote:
>>
>>> Some timing stats: On Windows XP, Python 3.0a2.
(...)
>>> Are threads an OS bottleneck?
>> I don't understand your threading issues, but I would not use 3.
On Feb 4, 10:43 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Feb 4, 6:51 pm,mcl<[EMAIL PROTECTED]> wrote:
>
>
>
> > I am obviously doing something stupid or not understanding the
> > difference between HTML file references and python script file
> > references.
>
> > I am trying to create a
* George Sakkis wrote:
> On Feb 4, 6:53 am, André Malo <[EMAIL PROTECTED]> wrote:
>> Consider the function being part of a bigger system, where it's called
>> from another function or method which should "inherit" the default value
>> of the function, like:
>>
>> def g(foo, bar, x=None):
>>...
I have a couple of business decisions to make that essentially use 6 binary
input variables. After the business users have gone back and forth for two
weeks
trying to build special case rules I asked them to make up a table containing
all of the input possibilities and specify what should happe
On Feb 5, 3:54 am, Tim Golden <[EMAIL PROTECTED]> wrote:
> Gabriel Genellina wrote:
> > En Mon, 04 Feb 2008 17:25:00 -0200, rdahlstrom <[EMAIL PROTECTED]>
> > escribió:
> >> On Feb 4, 2:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> >>> Well, i guess you will need a process on each machi
Robin Becker wrote:
> I have a couple of business decisions to make that essentially use 6
> binary input variables. After the business users have gone back and forth
> for two weeks trying to build special case rules I asked them to make up a
> table containing all of the input possibilities and
Santiago Romero a écrit :
> ( Surely if this question has been asked for a zillion of times... )
Why not checking this by yourself ? google is down ?-)
> I'm impressed with python. I'm very happy with the language and I
> find Python+Pygame a very powerful and productive way of writing 2D
> gam
On Feb 5, 10:52 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> I have a couple of business decisions to make that essentially use 6 binary
> input variables. After the business users have gone back and forth for two
> weeks
> trying to build special case rules I asked them to make up a table contai
>and then choose the solution with the
>shortest number of terms or something
Experience says that one should not assume that there is a one to one
relationship, ("the" solution). Some event can trigger more than one
combination of the 6 binary input variables. And experience says that
the busin
On Feb 5, 2:37 am, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> On Feb 5, 9:19 am, Santiago Romero <[EMAIL PROTECTED]> wrote:
>
> > ( Surely if this question has been asked for a zillion of times... )
>
> Sure. You can access comp.lang.python via
groups
> .google.com.
> It has a
> search function.
Marc 'BlackJack' Rintsch wrote:
> On Tue, 05 Feb 2008 06:19:12 +, Odysseus wrote:
>
>> In article <[EMAIL PROTECTED]>,
>> Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>>
>>> Another issue is testing. If you rely on global names it's harder to test
>>> individual functions. [...]
>>>
>
Dennis Lee Bieber wrote:
> On Tue, 05 Feb 2008 04:03:04 GMT, Odysseus
> <[EMAIL PROTECTED]> declaimed the following in
> comp.lang.python:
>
>> Sorry, translation problem: I am acquainted with Python's "for" -- if
>> far from fluent with it, so to speak -- but the PS operator that's most
>> simi
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 the compiler module from P
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, width, num2, num3 =
> struct.unpack("6s3s1cBBBh", data)
>
> Consider this like a "first atte
Hello again -
I do not seem to be able to get a handle on non-greedy pattern
matching.
I am trying to parse the following - note that there are no line
breaks in the string:
" FROM ((qry_Scores_Lookup1 INNER JOIN CSS_Rpt1 ON
(qry_Scores_Lookup1.desc = CSS_Rpt1.desc) AND
(qry_Scores_Lookup1.lastc
> I think the problem is actually less simple than that. Although they can
> enumerate many or all of the rows of the table I suspect that the business
> people don't always know why they choose particular outcomes; often
> they're not looking at most of the input choices at all they just
> concent
On Feb 5, 10:52 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> I have a couple of business decisions to make that essentially use 6 binary
> input variables. After the business users have gone back and forth for two
> weeks
> trying to build special case rules I asked them to make up a table contai
On Feb 5, 8:50 am, Mastastealth <[EMAIL PROTECTED]> wrote:
> What is this value for? "6s3s1cBBBh" and why is my unpack limited to a
> length of "16"?
>
> Unfortunately it seems my understanding of binary is way too basic for
> what I'm dealing with. Can you point me to a simple guide to
> explainin
> 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 be a mute point because you could just
use one of the cores.
--
http://mail.python.org/mailman/listi
On Feb 4, 4:09 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Feb 5, 9:02 am, JKPeck <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 2, 12:56 am, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]
>
> > nomine.org> wrote:
> > > -On [20080201 19:06], JKPeck ([EMAIL PROTECTED]) wrote:
>
> > > >In both of
Hello to everybody, I'm from Argentina.
My problem is the next. I receive in the request one image that i've
upload, and I want to show that again in another page, how can i do that? I
try this:
from WebKit.Page import Page
class gestorControl(Page):
def actions(self):
return Page.act
Abrahams, Max <[EMAIL PROTECTED]> wrote:
>
> I've looked into pickle, dump, load, save, readlines(), etc.
>
> Which is the best method? Fastest? My lists tend to be around a thousand to
> a million items.
>
> Binary and text files are both okay, text would be preferred in
> general unless t
[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 representing how many times you want
> to execute "some code."
>
> In Python,
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, February 05, 2008 9:31 AM
> To: python-list@python.org
> Subject: Using Regular Expressions to Parse SQL
>
>
> My pattern does not even come close.
>
> Any
Paul Hankin wrote:
> On Feb 5, 10:52 am, Robin Becker <[EMAIL PROTECTED]> wrote:
>> I have a couple of business decisions to make that essentially use 6 binary
>> input variables. After the business users have gone back and forth for two
>> weeks
>> trying to build special case rules I asked them
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 interacting with the application. To go along with
this I've also been usi
Diez B. Roggisch wrote:
> Robin Becker wrote:
>
>...
>> terms or something, but perhaps I am daft.
>
> Triggered this in some deep-rootet parts of my brain stem:
>
> http://en.wikipedia.org/wiki/Quine-McCluskey_algorithm
.
seems like the sort of thing I can deal with though at least for
Zentrader wrote:
>> and then choose the solution with the
>> shortest number of terms or something
>
> Experience says that one should not assume that there is a one to one
> relationship, ("the" solution). Some event can trigger more than one
> combination of the 6 binary input variables. And e
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 spying--a total invasion of privacy. Might as well
put a hidden web cam in t
On Feb 5, 8:31 am, [EMAIL PROTECTED] wrote:
> Hello again -
>
> I do not seem to be able to get a handle on non-greedy pattern
> matching.
>
Regexps wont cut it when you have to parse nested ()'s in a logical
expression.
Here is a pyparsing solution. For your specific application, you will
need
[EMAIL PROTECTED] a écrit :
> 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 interacting with the application.
Paul McNett wrote:
> Andy Smith wrote:
>
>> Im trying to run a Python based program which uses MySQL with
>> python-sqlite and Im recieving this error,
>>
>> 'Connection' object has no attribute 'autocommit' [...]
No, why should it have one? It's not documented to have one. To do what
you i
[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.
--
http://mail.python.org/mailman/listinfo/python-list
[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 be a mute point because you could just
> use one of the cores.
>
Wha
I did a stupid thing and "wrote in" under the advance key
bindings section, and after hitting apply I got a load of exceptions.
Now my shell wont open and my IDEL wont start anymore I
uninstalled and reinstalled Python with no luck, the whacked settings
must be lingering around somewhere. I
Steve Holden 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 be a mute point because you could just
>> u
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
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
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.
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
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
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
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
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
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, 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
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 -
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
"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
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
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
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:
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
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
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
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
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
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 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
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 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
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
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
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.
>> 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
[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
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] 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 (
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:
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
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
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
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
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
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
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
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
Thomas Bellman wrote:
> [EMAIL PROTECTED] wrote:
>
>> try:
>> test = Popen(test_path,
>> stdout=PIPE,
>> stderr=PIPE,
>> close_fds=True,
>> env=
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
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
no
--
http://mail.python.org/mailman/listinfo/python-list
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
> 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
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
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
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 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
1 - 100 of 148 matches
Mail list logo