Simon Forman wrote:
Do ','.join(clean) to make a single string with commas between the
items in the set. (If the items aren't all strings, you'll need to
convert them to strings first.)
And if the items themselves could contain commas, or quote characters,
you might like to look at the csv
On 2006-07-26 19:08:44, Carl J. Van Arsdall wrote:
Also, threading's condition and event constructs are used a lot
(i talk about it somewhere in that thing I wrote). They are easy to use
and nice and ready for me, with a server wouldn't I have to have things
poll/wait for messages?
How
Gerhard Fiedler wrote:
On 2006-07-26 19:08:44, Carl J. Van Arsdall wrote:
Also, threading's condition and event constructs are used a lot
(i talk about it somewhere in that thing I wrote). They are easy to use
and nice and ready for me, with a server wouldn't I have to have things
Thank you all for the replies, i now have a better solution.
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Sybren Stuvel wrote:
It has nothing to do with the print command, and everything with
floating point precision. See http://docs.python.org/tut/node16.html
how about the discrepancy between
print 1.2345
1.2345
print %10.3f % 1.2345# seems like a bug
1.234
the first one, print
[EMAIL PROTECTED] wrote:
how about the discrepancy between
print 1.2345
1.2345
print %10.3f % 1.2345# seems like a bug
1.234
the first one, print knows enough to recognize and print it as 1.2345.
however, in the second line, when it is round off, it doesn't know it
is
Bruno Desthuilliers wrote:
Gerhard Fiedler wrote:
On 2006-07-25 04:06:24, Steve Holden wrote:
Dennis Lee Bieber wrote:
On Mon, 24 Jul 2006 17:35:50 -0300, Gerhard Fiedler [EMAIL PROTECTED]
declaimed the following in comp.lang.python:
It is surprising in the sense that binding
Whenever I try to use the FreeSans font with SDL,
either through PyGame or Soya, I get disappointing
results. The characters come out slightly
higglety-pigglety -- randomly displaced up or down
a pixel or so from the baseline.
Something about the calculation of the font height
seems to be off,
[EMAIL PROTECTED] wrote:
I do understand (and verified) that if I define f2 within f1, it works
as expected. But in the learning pyton 2nd edition at page 205 it is
said that Programs are much simpler if you do not nest defs within
defs (juste before the code mentioned in my initial message).
Hi all,
ive been trying to create a thumbnail using the ffmpeg converter
running the ffmpeg.exe using the subprocess module with the following
code
import subprocess
p = subprocess.Popen([ffmpeg.exe -i video.mpg, -f mjpeg -ss 5 -vframes
1 -s 160x120 -an video.gif], shell=True,
r = re.compile(r'(?:\([^\)]*\)|\[[^\]]*\]|\S)+')
r.findall(s)
['(a c)b(c d)', 'e']
Ah, it's exactly what I want! I thought the left and right
sides of | are equal, but it is not true.
In theory, they *should* be equal. I was baffled by the nonparity
of the situation. You *should be
Patch / Bug Summary
___
Patches : 401 open ( +3) / 3342 closed ( +8) / 3743 total (+11)
Bugs: 896 open ( -8) / 6035 closed (+24) / 6931 total (+16)
RFE : 224 open ( +2) / 233 closed ( +2) / 457 total ( +4)
New / Reopened Patches
__
Greg Ewing wrote:
Whenever I try to use the FreeSans font with SDL,
either through PyGame or Soya, I get disappointing
results. The characters come out slightly
higglety-pigglety -- randomly displaced up or down
a pixel or so from the baseline.
Something about the calculation of the font
I know this is a trivial function, and I've now spent more time
searching for a surely-already-reinvented wheel than it would take to
reinvent it again, but just in case... is there a published,
open-source, function out there that takes a string in the form of
hh:mm:ss (where hh is 00-23, mm is
Paul McGuire wrote:
Comparitive timing of pyparsing vs. re comes in at about 2ms for pyparsing,
vs. 0.13 for re's, so about 15x faster for re's. If psyco is used (and we
skip the first call, which incurs all the compiling overhead), the speed
difference drops to about 7-10x. I did try
John Henry wrote:
Carl,
OS writers provide much more tools for debugging, tracing, changing
the priority of, sand-boxing processes than threads (in general) It
*should* be easier to get a process based solution up and running
andhave it be more robust, when compared to a threaded solution.
-
On 2006-07-26 21:38:06, Carl J. Van Arsdall wrote:
Also, threading's condition and event constructs are used a lot
(i talk about it somewhere in that thing I wrote). They are easy to use
and nice and ready for me, with a server wouldn't I have to have things
poll/wait for messages?
How
Carl J. Van Arsdall wrote:
Alright, based a on discussion on this mailing list, I've started to
wonder, why use threads vs processes.
In many cases, you don't have a choice. If your Python program
is to run other programs, the others get their own processes.
There's no threads option on that.
[EMAIL PROTECTED] wrote:
I know this is a trivial function, and I've now spent more time
searching for a surely-already-reinvented wheel than it would take to
reinvent it again, but just in case... is there a published,
open-source, function out there that takes a string in the form of
On Wed, 2006-07-26 at 20:18 -0700, John Machin wrote:
[EMAIL PROTECTED] wrote:
I know this is a trivial function, and I've now spent more time
searching for a surely-already-reinvented wheel than it would take to
reinvent it again, but just in case... is there a published,
open-source,
Gerhard Fiedler wrote:
Carl J. Van Arsdall wrote:
Well, I guess I'm thinking of an event driven mechanism, kinda like
setting up signal handlers. I don't necessarily know how it works under
the hood, but I don't poll for a signal. I setup a handler, when the
signal comes, if it comes,
print %10.3f % 1.2345# seems like a bug
1.234
the first one, print knows enough to recognize and print it as 1.2345.
however, in the second line, when it is round off, it doesn't know it
is 1.2345 any more.
That is because it isn't 1.2345 anymore. 1.2345 cannot be
Sybren Stuvel wrote:
Steve Jobless enlightened us with:
The first case can be just a typo, like:
x.valeu = 5
I make typos all the time. Without a spell checker, this message
would be unreadable :).
Then learn to read what you type, as you type it. Typing without
errors can be
Bugs item #1526585, was opened at 2006-07-21 17:18
Message generated for change (Comment added) made by arigo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1526585group_id=5470
Please note that this message will contain a full copy of the comment thread,
Bugs item #978833, was opened at 2004-06-24 11:57
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=978833group_id=5470
Please note that this message will contain a full copy of the comment thread,
Bugs item #1512124, was opened at 2006-06-25 15:45
Message generated for change (Comment added) made by ronaldoussoren
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1512124group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1526585, was opened at 2006-07-21 10:18
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1526585group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1528620, was opened at 2006-07-25 22:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1528620group_id=5470
Please note that this message will contain a full copy of
Bugs item #1525469, was opened at 2006-07-19 14:06
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1525469group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1442493, was opened at 2006-03-03 16:45
Message generated for change (Comment added) made by taleinat
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1442493group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1528620, was opened at 2006-07-25 13:34
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1528620group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1501291, was opened at 2006-06-05 18:34
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1501291group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1528593, was opened at 2006-07-25 21:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1528593group_id=5470
Please note that this message will contain a full copy of
Bugs item #1528620, was opened at 2006-07-25 22:34
Message generated for change (Settings changed) made by ostkamp
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1528620group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1442493, was opened at 2006-03-03 09:45
Message generated for change (Comment added) made by kbk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1442493group_id=5470
Please note that this message will contain a full copy of the comment thread,
Bugs item #1529269, was opened at 2006-07-26 23:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1529269group_id=5470
Please note that this message will contain a full copy of
Bugs item #1529269, was opened at 2006-07-26 23:17
Message generated for change (Settings changed) made by ostkamp
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1529269group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1529297, was opened at 2006-07-26 15:02
Message generated for change (Settings changed) made by macquigg
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1529297group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1513611, was opened at 2006-06-27 14:06
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1513611group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1521947, was opened at 2006-07-13 10:39
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1521947group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1513611, was opened at 2006-06-27 17:06
Message generated for change (Comment added) made by fdrake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1513611group_id=5470
Please note that this message will contain a full copy of the comment
201 - 241 of 241 matches
Mail list logo