On Monday 27 April 2009, TheIvIaxx wrote:
> Hello, I have searched for some solution to getting the object data
> from a ZODB Data.fs file into something i can work with for MySQL. So
> far, no such luck. I can open the DB and poke around, but im not sure
> where or what to even poke :)
>
Normal
eld left
for right in xrange(step, stop, rstep):
yield right
--
William Clifford
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 27, 9:22 pm, Steven D'Aprano
wrote:
> On Mon, 27 Apr 2009 20:27:07 -0700, William Clifford wrote:
> > For some reason I thought I needed this code, but it turns out I don't,
> > really.
> > I need something weirder. Anyway, maybe someone else could use th
On Apr 27, 10:50 pm, Paul Rubin <http://phr...@nospam.invalid> wrote:
> William Clifford writes:
> > def enrag(start, stop=None, step=1):
> > '''Yield a range of numbers from inside-out, evens on left.'''
>
> >>> li
On Sat, 24 May 2008 13:12:13 +0200, Johannes Bauer wrote:
> char *tmp;
> tmp = fgets(buf, sizeof(buf), f);
> while (tmp) {
> printf("%s\n", buf);
> tmp = fgets(buf, sizeof(buf), f);
> }
I think a more Pythonic way to write this, in general, would be:
while (1) {
char *tmp = fgets
So, basically what I'm doing is this:
window1 = Tkinter.Tk()
...
window1.destroy()
...
window2 = Tkinter.Tk()
This works well in Linux and Mac OS X (and the PyGtk equivalent works on
all platforms), but in Windows XP, the second window comes up without
focus. (I have to click on it to focus it.
On Monday 09 June 2008, Thomas Morton wrote:
> This is a "thing" that has been annoying me all morning: and I can't
> work out how to do it.
>
> I need a way to get the DPI or screen resolution of the monitor that a
> script is currently runnign on.
>
> I have a way in Windows but it doesnt port to
On Wed, 11 Jun 2008 12:25:29 -0700, geoffbache wrote:
> (1) py2exe. This is really for when python isn't installed on the remote
> user's machine, so it requires you to distribute a large amount of DLLs
> etc which are part of the python installation. A bit silly when I know
> that the remote user
On Fri, 13 Jun 2008 21:59:06 +0530, srinivasan srinivas wrote:
> I am going to do some socket related programming in Python. Before that,
> I wish to know the Gotchas of Python Scoket Programming.
The only gotcha I see is that you won't want to go back to doing it in C.
--
09 F9 11 02 9D 74 E3
On Wednesday 18 June 2008, kretik wrote:
> if params.has_key("mykey"):
> self.SomeField = params["mykey"]
> else:
> self.SomeField = None
>
self.SomeField = parms.get('mykey', None)
This looks like what you want and it is also simpler because you don't deal
with che
On Sun, 22 Jun 2008 08:44:25 -0500, Saul Spatz wrote:
> macoovacany wrote:
>> http://macoovacany.wordpress.com/
> When I tried to run it, I got all kinds of syntax errors because of
> non-ASCII characters; namely, you have fancy left and right single and
> double quotes.
That's probably WordPress
On Wed, 25 Jun 2008 16:02:52 -0700, John Machin wrote:
> Here's one approach (requires Python 2.5 or later):
> [(50 if x < 50 else x, 50 if y < 50 else y, 50 if z < 50 else z) for
> (x, y, z) in source]
[(max(x, 50), max(y, 50), max(z, 50)) for (x, y, z) in source]
--
09 F9 11 02 9D 74 E3 5B D8
On Fri, 04 Jul 2008 16:19:34 +0100, Tim Rowe wrote:
> pythonw.exe (that's the windows executable, right?)
python.exe and pythonw.exe are both Windows executables. There are no non-
Windows executables in a Python for Windows package.
python.exe is used for console apps or interactive sessions.
Okay, I'm almost finished with my first bidirectional generator. By
"almost finished" I mean both that it's almost working, and that I'm
almost about to replace it with a class that works a bit more like
what I currently understand.
Surely some other people have worked with this feature... Are the
On Sun, 13 Jul 2008 00:58:59 +0200, Python.Arno wrote:
> http://undefined.org/python/py2app.html
py2app bundles Python itself into the app, right? I wonder, is there no
way to create an app bundle that relies on the existing installation of
Python, since OS X already comes with Python? I have a
On Mon, 28 Jul 2008 19:51:26 +0200, Tommy Nordgren wrote:
> There is Platypus, a general open source program to wrap a script
> in an Macintosh (GUI) Application.
Thanks. I tried Platypus, and it's close to what I want. But I still
can't seem to get rid of the small "Console" window that pops up
On Sun, 27 Jul 2008 20:31:07 +0200, Martin v. Löwis wrote:
> Originally, AMD called it x86-64, and later renamed it to AMD64. Intel
> originally implemented it under the name EM64T (for Extended Memory 64
> Technology), and now calls the architecture Intel 64.
I hadn't heard "Intel 64" before. Th
I'm trying to convert the URLs contained in iTunes' XML file into a
form comparable with the filenames returned by iTunes' COM interface.
I'm writing a podcast sorter in Python; I'm using iTunes under Windows
right now. iTunes' COM provides most of my data input and all of my
mp3/aac editing capab
On Mon, 28 Jul 2008 21:09:10 +0200, Tommy Nordgren wrote:
> Try setting the Output popup menu to 'None'
That was the first thing I did.
--
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- pass it on
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 28 Jul 2008 15:18:43 -0400, Kevin Walzer wrote:
> Add this call to your Python script somewhere (modify as needed):
>
> try:
> self.tk.call('console', 'hide')
> except TclError:
> pass
Ah, yes! Thanks.
--
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56
To ask another way: how do I convert from a file:// URL to a local
path in a standard way, so that filepaths from two different sources
will work the same way in a dictionary?
Right now I'm using the following source:
track_id = url2pathname(urlparse(track_id).path)
url2pathname is from urllib;
kj <[EMAIL PROTECTED]> wrote:
> Is there a special pythonic idiom for iterating over a list (or
> tuple) two elements at a time?
I don't know of one, and I shouldn't be answering, but the following
should work:
def gulp_two(items):
for i,j in zip(items[0::2], items[1::2]):
yield (i,j)
Let'
Thank you for the response. Here's some more info, including a little
that you didn't ask me for but which might be useful.
John Machin <[EMAIL PROTECTED]> wrote:
> william tanksley <[EMAIL PROTECTED]> wrote:
> > To ask another way: how do I convert from a file:
On Tue, 29 Jul 2008 12:24:49 -0700, Russell E. Owen wrote:
> That is exactly what py2app does by default if you run py2app with the
> system python.
Thanks. I see that it* avoids the issue with Tk starting in the
background that I get with Platypus, too.
In fact, it looks like the bundlebuilder
"Jerry Hill" <[EMAIL PROTECTED]> wrote:
> william tanksley <[EMAIL PROTECTED]> wrote:
> > Here's one example. The others are similar -- they have the same
> > things that look like problems to me.
> > "Buffett Time - Annual Shareholders\xc
On Wed, 30 Jul 2008 16:57:35 +, I wrote:
> [bundlebuidler] does put in a version-specific #! line, but if I change
> that to #!/usr/bin/env python, the app still works, and it seems to me
> that it will work for any version of Python on OS 10.4, 10.5, and maybe
> 10.3.
Then again, I see now t
"Jerry Hill" <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 30, 2008 at 2:27 PM, william tanksley <[EMAIL PROTECTED]> wrote:
> > Awesome... Thank you! I had my mental model of Python turned around
> > backwards. That's an odd feeling. Okay, so you decode to
william tanksley <[EMAIL PROTECTED]> wrote:
> I'm still puzzled why I'm getting some non-Unicode out of an
> ElementTree's text, though.
Now I know.
Okay, my answer is that cElementTree (in Python 2.5) is simply
deranged when it comes to Unicode. It assumes everythin
Stefan Behnel <[EMAIL PROTECTED]> wrote:
> william tanksley wrote:
> > Okay, my answer is that ElementTree (in Python 2.5) is simply
> > deranged when it comes to Unicode. It assumes everything's ASCII.
> It does not "assume" that. It *requires* byte strings
John Machin <[EMAIL PROTECTED]> wrote:
> william tanksley <[EMAIL PROTECTED]> wrote:
> > "Buffett Time - Annual Shareholders\xc2\xa0L.mp3"
> > 1. This isn't Unicode; it's missing the u"" (I printed using repr).
> > 2. It's g
John Machin <[EMAIL PROTECTED]> wrote:
> william tanksley <[EMAIL PROTECTED]> wrote:
> Let's try again:
Cool. Sorry for the misunderstanding. Thank you for helping again!
Postscript: your request to print the actual data did the trick. I'm
including the rest of my r
John Machin <[EMAIL PROTECTED]> wrote:
> william tanksley <[EMAIL PROTECTED]> wrote:
> > Cool. Sorry for the misunderstanding. Thank you for helping again!
> > Postscript: your request to print the actual data did the trick.
> I'd back inspecting actual data aga
Paddy <[EMAIL PROTECTED]> wrote:
> What's one of them then?
I'm sorry, I don't know what you mean.
Meanwhile, more pertinently: I did get my generator working, and then
I replaced it with a class that did the same thing in less than a
quarter of the number of lines. So... I'm not going to worry a
Jeff <[EMAIL PROTECTED]> wrote:
> william tanksley <[EMAIL PROTECTED]> wrote:
> > I'm still curious, though, whether anyone's written any code that
> > actually uses yield _and_ send() to do anything that isn't in the
> > original PEP.
> I hav
On 4 Aug, 19:08, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm a novice developer at best and often work with the R statistical
> programming language. I use an editor called TINN-R which allows me to
> write a script, then highlight a few lines and send them to the
> interpreter. I am using
On 5 Aug, 16:08, Brett Ritter <[EMAIL PROTECTED]> wrote:
> On Aug 4, 3:43 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
>
> > A page of Python code looks *clean*, with not a lot of
> > punctuation/special symbols and (in particular) no useless lines
> My first impression of Python was that it was vi
Hi all,
I am wanting to check to see the last time a file was edited. For example, I
have a directory containing two text files, file1.txt and file2.txt. I
want to be able to process these files but only if they have been edited
since the last time they were processed. I think that I want to be a
Message-
> From: [EMAIL PROTECTED]:
> python-list-bounces+edwin.madari =
> [EMAIL PROTECTED] Behalf Of William Purcell
> Sent: Tuesday, August 12, 2008 1:47 PM
> To: Python List
> Subject: Checking a file's time stamp.
>
>
> Hi all,
> I am wanting to check t
')
fileobj --->
---
Traceback (most recent call last)
/home/william/williamFAT/utilities/mac_projs/ in ()
/usr/lib/python2.5/plistlib.py in fromFile(cls, pathOrFile)
339 def fromFile(cls, pathOrFile):
340 """Depreca
This is how it cut and pasted..
bplist00Ô
This is what it looks like in a text editor (emacs)...
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@
On Thu, Aug 14, 2008 at 8:18 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> William Purcell wrote:
>
> : not well-formed
Sorry, I ment to reply to the mail list
> Thanks for the info. Do you know if these files can be handled in Python?
>
On Thu, Aug 14, 2008 at 8:50 AM, William Purcell
<[EMAIL PROTECTED]>wrote:
> On Thu, Aug 14, 2008 at 8:36 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> The most pragmatic solution would be to rip the doctype out using simple
> string methods and/or regexes.
Thank you, Diez and Paul; I took Diez's solution, and it works well
enough for me.
> Diez
-Wm
--
http://mail.python.org/mailman/listinfo/pyth
>
>> What Is Google App Engine?
...
It's also interesting to see that we can find django, webob and pyyaml
in their sdk (license apache 2)
--
William Dodé - http://flibuste.net
Informaticien indépendant
--
http://mail.python.org/mailman/listinfo/python-list
On Tuesday 29 April 2008, Jens wrote:
> Hello Everyone.
>
>
>
>
>
>
>
>
>
I think you are going to really regret doing things this way, it is only going
to make your life much harder regardless of if you are using zpt or dtml by
doing stuff like this inside the template. The most corr
Sorry, this last email was meant to be to the list.
On Thu, Aug 21, 2008 at 8:41 AM, William Purcell
<[EMAIL PROTECTED]>wrote:
> I have been trying to do the same thing. Here is something I came up with,
> although it's not completely dependent on Python. It requires pdftotext
I have been wanting to figure this out. I used a couple of your code
snippets below and I can get a scroll bar. When I scroll down, it doesn't
scroll the panel down. The only thing that happens is that the scroll bar
moves up and down. Any thoughts?
On Thu, Aug 21, 2008 at 8:36 AM, Gandalf <[EMAIL
Hi all,
I started programming with python about a year ago. I am now somewhat
experienced with python but have virtually no experience with any other
language. I use python to write little command line tools, GUI's to do
anything from my time sheet at work to balancing my checkbook, and for
school
Thanks for the replies.
I am still wondering if C++ would be worth learning and I think it could be
answered by these three questions...
1. Are programs written in C++ better (in any form of the word) than
programs written in python or vise versa or equal?
2. Is compiled better than interpreted?
one day down the road, assembly).
Python is so clean, powerful, and simple that I think I am a little
spoiled.
Thanks again,
-Bill
On Fri, Aug 22, 2008 at 11:17 AM, Krishnakant Mane <[EMAIL PROTECTED]>wrote:
> hi william,
> I am slightly more experienced in python than you (2
...
william-purcells-macbook:~ william$ python -c "import scipy"
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named scipy
Import
FYI...I found the site that I installed from besides MacScience. I think
that I have installed just about everything on this site.
http://www.pythonmac.org/packages/py25-fat/index.html
On Tue, Aug 26, 2008 at 10:05 PM, William Purcell <[EMAIL PROTECTED]
> wrote:
> I am new to the Mac/O
Here is a function that I have used with wvText to convert .doc files into
text files.
def readdoc(fpath):
tmp = 'tmp_readdoc.txt'
cmd = 'wvText %s %s'%(fpath,tmp)
os.system(cmd)
lines = open(tmp,'r').readlines()
os.unlink(tmp)
return lines
It's not a completely python dep
I want to use eval to evaluate wx.TextCtrl inputs. How can I keep python
from adding the __builtins__ key to mydict when I use it with eval? Other
wise I have to __delitem__('__builtins__') everytime I use eval?
>>> mydict = {'a':2,'b':3}
>>> eval('a*b',mydict)
6
>>> mydict
{'a': 2, '__builtins__'
I want to use eval to evaluate wx.TextCtrl inputs. How can I keep python
from adding the __builtins__ key to mydict when I use it with eval? Other
wise I have to __delitem__('__builtins__') everytime I use eval?
>>> mydict = {'a':2,'b':3}
>>> eval('a*b',mydict)
6
>>> mydict
{'a': 2, '__builtins__'
Hi All,
I am trying to figure out how to self sign a py2exe winxp executable with
signtool. Anyone know? I saw this which looked kind of promising:
http://markmail.org/message/zj5nzechzgmjuu7c#query:signtool%20python+page:1+mid:s4jrb2hter4zxvg3+state:results
-Tim
P.S.
Python rocks!
--
http:/
Hi All,
I thought I sent an email to the list regarding a need I have to self sign a
py2exe windows executable. Does anyone know how to do that?
-Tim
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 01 Oct 2008 17:56:34 +0200, Boris Borcic wrote:
> 42, for instance.
>
> Proof :
>
> >>> 42 is not object
> True
>
> QED
>>> isinstance(42, object)
True
--
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- pass it on
--
http://mail.python.org/mailman/listinfo/python-list
gt; You will just be dumping files
>> on another remote server. How will the users "find" what they want?
> It's not a *dumping* files but publishing contents.
One could be forgiven for misidentifying one for the other based on that
which is to be found on the WWW.
the same script.
thanks
the complet script (doing rsync and cp -al on the remote side) is
available freely here : http://flibuste.net/libre/snapy (but
documentation is in french)
--
William Dodé - http://flibuste.net
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I have the following prolog program that I would really like to be able to
run in python in some elegant way:
q00(X01, R):- write('Are you over 80?'), read(INPUT), write(''), q11(INPUT,
R).
q11(X11, R):- X11=y, write(' You are passed the hardest year'), !.
q00(X01, R):- write('You are
Hello Everyone,
I'm working on setting up some software for a Peruvian non-profit to help
them organize their incoming volunteers. One of the features I'd like to add
is a calendar-like view of the different volunteers arrival dates and
staying time, with potentially some other info through some d
On 26 Feb, 13:29, candide wrote:
> Suppose you have to put into a Python string the following sentence :
>
> The play "All's Well That Ends Well" by Shakespeare
>
> It's easy do it :
>
> >>> print """The play "All's Well That Ends Well" by Shakespeare"""
>
> The play "All's Well That Ends Well" by
I am teaching an 11 year old who wants to learn programming. I chose
Python, and it is working well. I seem to remember lots of simple
script games, like quizzes, number games etc. that would be good for his
tutorial. However, now all I can find is more complex games using
Pygame. Can anyon
Thanks everyone. These references will help greatly. I was about to
take some javascript examples and rewrite them in Python.
--
http://mail.python.org/mailman/listinfo/python-list
Pascal J. Bourguignon wrote:
> sthueb...@googlemail.com (Stefan Hübner) writes:
>
> >> Would it be right to say that the only Lisp still in common use is
> the Elisp >> built into Emacs?
> >
> > Clojure (http://clojure.org) is a Lisp on the JVM. It's gaining
> > more and more traction.
>
> Ther
Bubba wrote:
> import asyncore
> import socket
> import string
> import MySQLdb
> import sys
> def __init__(self, host, port):
> asyncore.dispatcher.__init__(self)
> self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
> self.set_reuse_addr()
> self.bind((ho
Bubba wrote:
> William Ahern's log on stardate 16 vlj 2011
> /snip
> > I think that there's an asynchronous all-Python MySQL library, but
> > I'm not sure. Maybe one day I can open source my asynchronous MySQL C
> > library. (I always recommend people
When I run
I'm attempting to run "rpmbuild -ba SPECS/python-2.7.spec" I get the following
error:
ERROR 0001: file '/usr/lib/python2.7/lib-dynload/_bsddb.so' contains a
standard rpath '/usr/lib64' in [/usr/lib64]
ERROR 0001: file '/usr/lib/python2.7/lib-dynload/_sqlite3.so' contains a
s
I¹m relative new to python and I puzzled by the following strange (to me)
behavior. I was taking pieces from two old scripts to build a new one. When
I began to debug it I got the following error message:
Traceback (most recent call last):
File
"/Users/williamminer/ex2gen/ex2gen-3.0.5/src/Scrip
I have a script which I would now put inside a loop. Is there any way to
³automatically² indent the old script so it can be put inside the new loop.
Doing it by hand seems so inelegant and time consuming.
By the way, thanks for the answer to my previous question.
Thanks!
Buff Miner
--
Enig Asso
On Friday 09 July 2010, Les Schaffer wrote:
> but none of this has anything to do with Python itself. i am sure python
> servers have been running reliably for long periods of time, but i've
> never had to deal with a two-month guarantee before. is there something
> else i am missing here that i s
Hello,
I have a Python app that parses XML files and then writes to text files.
However, the output text file is "sometimes" encoded in some Asian language.
Here is my code:
encoding = "iso-8859-1"
clean_sent = nltk.clean_html(sent.text)
clean_sent = clean_sent.encode(encoding,
als or that sort of thing, I'd like to hear about those too.
Thanks!
--
William Clifford
--
http://mail.python.org/mailman/listinfo/python-list
I am writing a application to calculate pressure drop for a piping
network. Namely a building sprinkler system. This will be a
command line program at first with the system described in xml (at
least that is how I think I want to do it).
An important part of this calculation is finding the 'hydr
Diez B. Roggisch wrote:
> William Purcell wrote:
>
>> I am writing a application to calculate pressure drop for a piping
>> network. Namely a building sprinkler system. This will be a
>> command line program at first with the system described in xml (at
>> least th
Scott David Daniels wrote:
> William Purcell wrote:
>> I am writing a application to calculate pressure drop for a piping
>> network. Namely a building sprinkler system. This will be a
>> command line program at first with the system described in xml
>
> If you
n computer
def __init__(self, rdx, opr):
self._computer = Logic.make_computer(rdx, opr)
def __call__(self, *args):
return self._computer(*args)
This seemed to be working for the limited tests I did on it, while I
was doing them. The following checked out last time I tried:
On Jun 17, 1:28 am, Steven D'Aprano
wrote:
> On Tue, 16 Jun 2009 22:46:14 -0700, William Clifford wrote:
> > I was staring at a logic table the other day, and I asked myself, "what
> > if one wanted to play with exotic logics; how might one do it?"
>
> Fir
tp://pilcrow.madison.wi.us/#pycdb
or Dee (for ideological reasons)
http://www.quicksort.co.uk/
--
William Clifford
--
http://mail.python.org/mailman/listinfo/python-list
gcj 7s
java 7s
shedskin 8s
python + psyco 18s
cython avec malloc *int 18s
cython 55s avec [] python
python 303s (5m3s)
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
(instead of 8)
Let me know if you find better.
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
gt;
> Maybe it's the time difference between using a Python list from Cython
> and using a C "array" allocated with a malloc from Cython.
yes, it's this
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
On 21-07-2009, srepmub wrote:
>
>> With -bw and -O3 -fomit-frame-pointer -msse2 i have 5.5s (instead of 8)
>>
>> Let me know if you find better.
>
> thanks. now I'm wondering how fast does the C version become with
> these flags..? :-)
I don't see an
1s
unladen-2009Q2 145s (2m45)
python2.5 254s (4m14s)
python3.1 300s (5m)
ironpython1.1.1 680s (11m20)
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
om/group/shedskin-discuss/browse_thread/thread/c1f47a7c21897b44
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
On 22-07-2009, George Sakkis wrote:
> On Jul 22, 7:38 am, William Dode wrote:
>
>> I updated the script (python, c and java) with your unrolled version
>> + somes litle thinks.
>>
>> I also tried with python3.1, unladen Q2, ironpython1.1.1
>>
>> Unfort
On 22-07-2009, William Dode wrote:
> c 1.65s
> gcj 1.9s
> java 2.4s
> python2.5 + psyco 2.9s
> shedskin 3.4s
with -bw i have 2.6s
> unladen-2009Q2 125s (2m05)
> Jython 2.2.1 on java1.6.0_12 176s (without array, like shedskin)
> Jython 2.2.1 on java1.6.0_12 334s (with
ing on
>>> how much you C-ify things.
>>
>> Was this link, shown by William, not enough?
>> http://hg.flibuste.net/libre/games/cheval/file/46797c3a5136/chevalx.pyx#l1
>
> I took a stab at converting the recent psyco-optimized code to cython,
> and got a speedup.
aden-swallow will grab the
best of psyco (if they can !) ?
Wait and see ?
Anyway, thanks a lot for your work that we can use NOW !
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
On 24-07-2009, Christian Tismer wrote:
> On 7/24/09 1:04 AM, William Dode wrote:
>> On 23-07-2009, Christian Tismer wrote:
> ...
>
>>> Wasn't the project plan saying the opposite, borrowing
>>> some ideas from psyco? :-)
>>> http://code.google.com/
On 27-07-2009, Bearophile wrote:
> William Dode':
>> I updated the script (python, c and java) with your unrolled version
>> + somes litle thinks.
> [...]
>> c 1.85s
>> gcj 2.15s
>> java 2.8s
>> python2.5 + psyco 3.1s
>> unladen-2009Q2 145s (
ow list ? They wanted to hack on
RE also...
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
versions earlier than 2.6 for testing, although if there's
> sufficient need then I could tweak the sources for 2.5.
I understand now why i could'nt compile it !
So, i would like if it's not too much work for you.
--
William Dodé - http://flibuste.net
Informaticien Indépendant
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to modify an app I wrote a few months ago, but now it dies
on startup (it worked before). The app loads the SQLite Media Monkey
database, and crashes on its first query (when I try to get the number
of podcasts). At the end of this post is a reduced version of the
problem (which produces
william tanksley wrote:
> Oh, this is Python 2.5 on Windows.
New result: this works on Python 2.6. Obviously the SQLite format
changed between the two runs.
I'll call this "problem solved"; my app appears to run now.
-Wm
--
http://mail.python.org/mailman/listinfo/python-list
MRAB wrote:
> I wonder whether it's complaining about the "as count" part because
> "count" is the name of a function, although you do say that the same
> query works elsewhere.
Hey, good catch. Thanks; I'll change that. (It wasn't the problem, but
no doubt someday it could be.)
-Wm
--
http://m
>
> I think it would be nice to have a way of getting the 'true'
> value as the return with an optional value if false. The desire
> comes about when the thing I'm comparing is an element of a collection:
>
>drugs['choice'] if drugs['choice'] else 'pot'
>
> Then I'm tempted to do:
>
>
On May 7, 2013, at 4:31 PM, Martijn Lievaart wrote:
> On Sun, 05 May 2013 17:07:41 -0400, Roy Smith wrote:
>
>> There *are* programming languages worse than PHP. Have you ever tried
>> britescript?
>
> Have you tried MUMPS? :-)
>
> M4
>
Which one? The original MUMPS (Massachusetts General
On May 10, 2013, at 12:55 AM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> The first hard disk I ever worked with stored 20MB in the space of a
>> 5.25" slot (plus its associated ISA controller card).
>
> Heh. The first hard disk I ever worked with stored 2.4 MB in 6U of rack
On May 29, 2013, at 2:23 PM, Ma Xiaojun wrote:
> Hi, all.
>
> pySerial is probably "the solution" for serial port programming.
> Physical serial port is dead on PC but USB-to-Serial give it a second
> life. Serial port stuff won't interest end users at all. But it is
> still used in the EE world
301 - 400 of 564 matches
Mail list logo