Torsten Bronger wrote:
>
Another example: is Java the bytecode, which is compiled from
Java the language, interpreted or not? Even when the HotSpot JIT
cuts in?
>>> It is partly interpreted and partly compiled. That's why it's
>>> faster than Python.
>> But Python is partly interpr
PS: I forgot to mention that some of the "print"s are made from wxPython
timer events.
Philippe
Philippe Martin wrote:
> Hi,
>
> I have a program at a customer's site that seems to have random problem
> which eventually come down to not being able to read/write from serial
> ports.
>
> I trap
How about r"\s+[\n\r]+|\s+$" ?
Franz Steinhaeusler wrote:
> Hello, I need a regularexpression, which trims trailing whitespaces.
>
> While with unix line endings, it works;
> but not with Window (Dos) CRLF's:
>
>
import re
retrailingwhitespace = re.compile('(?<=\S)[ \t]+$', re.MULTILI
thank everyone!!!
the code:
import os
import time
source = [r'e:\temp\code',r'e:\temp\domains']
target_dir = r'e:\temp\bak'
target = target_dir+time.strftime('%Y%m%d%H%M%S')+'.rar'
rar_cmd = "D:\\Progra~1\\WinRAR\\rar.exe a -idcdp %s %s" % (target,'
'.join(source))
print rar_cmd
if os.system(rar_
On 2006-02-23, Paul Probert <[EMAIL PROTECTED]> wrote:
>>In similar situation I would start to blame the hardware for the
>>problem, so below a kind of checklist to go through:
>
> Thanks for the reply. I should have mentioned, this happens to just
> about every machine in our collection of ab
I have edited PyAtom, and now it should be in better conformance with the
PEP 8 guidelines. It is available from the same place as before:
http://www.blarg.net/~steveha/pyatom.tar.gz
--
Steve R. Hastings"Vita est"
[EMAIL PROTECTED]http://www.blarg.net/~steveha
--
http://mail.python.or
Thanks a lot Skip. Sure that this will help.
Learned two things: how to do it and to look at the docs for 2.5 also.
These samples are not in the 2.4.2 reference guide.
RudyOn 2/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Rudy> I'm having problems writing unicode to a csv file.Rud
Dennis Lee Bieber <[EMAIL PROTECTED]> writes:
> Any chance they all tend to have slow clocks, and are getting bitten
> by a semi-random NTP time update; my machine tends to run the NTP update
> at 7-day intervals (including time of day), counting from the last
> successful synchronization.
T
I would like to use the power of Python to build some list structures
for me.
Namely i have organized a bunch of folders that have soundfiles in them
and would like Python to slurp up all the .aif/.aiff (or .wav whatever)
files in a given set of directories. My friend hacked up this is perl:
$fil
os.chdir() ?
thank you!
--
"Dennis Lee Bieber" <[EMAIL PROTECTED]>
news:[EMAIL PROTECTED]
> On Fri, 24 Feb 2006 11:36:08 +0800, "Ã÷Ãòä»Ã" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
> > thank everyone!!!
> >
> I'd had to run to work so couldn't test, b
and one example of a slightly fancier version would be a variation that
looks recursively into subdirectories and makes separate lists for each
subdirectory encountered.
so if i had a directory called "~/snd/"
and in "~/snd/" i had:
"~/snd/one/"
"~/snd/two/"
"~/snd/three/"
each with soundfiles
kpp9c wrote:
> Namely i have organized a bunch of folders that have soundfiles in them
> and would like Python to slurp up all the .aif/.aiff (or .wav whatever)
> files in a given set of directories. My friend hacked up this is perl:
>
> $files = `ls /snd/Public/*.aiff`;
You could use posix.popen
..I hope that you are aware that xml is *case sensitive*
--
http://mail.python.org/mailman/listinfo/python-list
201 - 213 of 213 matches
Mail list logo