On 08 Jan 2005 15:50:48 -0800, Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> Stephen Thorne <[EMAIL PROTECTED]> writes:
> > Unresolved Problems:
> > 1) How do you handle duck types, i.e. a method that accepts StringIO,
> > cStringIO or any other
Roger Binns wrote:
You may also find a talk I gave at baypiggies in July 2004 of interest.
http://bitpim.org/papers/baypiggies/
It covers the various issues in doing a "real world" Python application,
including packaging [etc -- lots of great stuff ...]
*Very* nice presentation -- THANKS!
Especia
the python-list@python.org and I was extremely confused until
you pointed out the crossposting.
Maybe that mail2news gateway should be upgraded to point out
crossposted usenet posts...
Stephen.
--
http://mail.python.org/mailman/listinfo/python-list
n't find it...
>
> for example:
> z=[i+2 for i in range(10) if i%2==0]
> what if I want i to be "i-2" if i%2 is not equal to 0?
z = [i+2-(i%2)*4 for i in range(10)]
C'mon, who needs an 'if' statement when we have maths!
Stephen.
--
http://mail.python.org/mailman/listinfo/python-list
#x27;: 10, 'c': 3}]
>
> But I'd like to put the "updated" method on the "dict" object, which is what
> I can't seem to figure out.
> Yeah I know that's "bad", but to my mind so is polluting the global
> namespace with the "upda
On 12 Jan 2005 16:21:29 -0800, PJDM <[EMAIL PROTECTED]> wrote:
> Maybe P3K will have an integer literal like "n_b" for "the integer n in
> base b".
I would actually like to see pychecker pick up conceptual errors like this:
import datetime
datetime.datetime(2005,
-src'),
(re.compile(r'[Mm]akefile') , 'text/x-makefile'),
]
for regexp, mimetype in extensionlist:
if regexp.match(filename):
return mimetype
if you were really concerned about efficiency, you could use something like:
class SimpleMatch:
def __init__(self, pattern
= 9600'. The OP was more
interested in how to write his program so he could react to com port
input in a timely manner in the face of having blocking procedures
elsewhere in his code.
Regards,
Stephen Thorne
[1] http://pyserial.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list
there's wxMozilla, which is for embedding mozilla's rendering engine
(I assume that's what you mean by 'Gecko') within wxpython/wxwidgets.
Stephen.
On 11 Jan 2005 07:10:57 -0800, Cordula's Web <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'd l
On Thu, 13 Jan 2005 05:18:57 GMT, Bengt Richter <[EMAIL PROTECTED]> wrote:
> On Thu, 13 Jan 2005 12:19:06 +1000, Stephen Thorne <[EMAIL PROTECTED]> wrote:
>
> >On Thu, 13 Jan 2005 01:24:29 GMT, Bengt Richter <[EMAIL PROTECTED]> wrote:
> >> extensiondict
> for i in [x for x in os.listdir(src) if os.path.isfile(os.path.join(src,
> x)) and len(x.split('.')) > 1 and x.split('.')[-1].lower() == 'm3u']:
> os.remove(os.path.join(src, i))
>
> if __name__ == '__main__':
> _test()
import g
kay, given the requirements.
f = file('mybinfile')
contents = f.read().replace(oldbinstring, newbinstring)
f.close()
f = file('mybinfile','w')
f.write(contents)
f.close()
Will do it, and do it accurately. But it will also read the entire
file into memory.
Stephen.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 13 Jan 2005 17:05:39 +1000, Egor Bolonev <[EMAIL PROTECTED]> wrote:
>
> "Stephen Thorne" <[EMAIL PROTECTED]> ÑÐÐÐÑÐÐ/ÑÐÐÐÑÐÐÐ Ð
>
> ÑÐÐÐÑÑÑÐÐ: news:[EMAIL PROTECTED]
> On Thu, 13 Jan 2005 15:55:10 +1000, Egor Bolonev <[EMAIL PROTE
Michael Hoffman wrote:
Denis S. Otkidach wrote:
Certainly, it can be done more efficient:
Yes, of course. I should have thought about the logic of my code before
posting. But I didn't want to spend any more time on it than I had to. ;-)
Bah, you satanic types are so lazy.
--
http://mail.python.org
there's someone writing 'dabo', which is apparently "wxpython but more python".
Stephen.
On Mon, 17 Jan 2005 15:13:07 +0100, A. Klingenstein <[EMAIL PROTECTED]> wrote:
> Which other GUI library for Python other than wxpython has native
> widgets for MS Wi
collegebabe2004 wrote:
wow! Aren't we getting ahead of ourselves? ...
Well I'm like "yuhhh!" Like, you know, Japanese ...
oh I am *so* shur!
--
http://mail.python.org/mailman/listinfo/python-list
60*24; }
Parse Error, neither is anything except + and -:
class Foo { var $bar = 256 & 18; }
Parse Error, and definately not variables:
$baz = 12;
class Foo { var $bar = $baz*2; }
I compute 60*60*24 every time around the loop:
foreach ($myarray as $value) { $x = 60*60*24*$value; }
Thankful, Former PHP Programmer,
Stephen Thorne.
--
http://mail.python.org/mailman/listinfo/python-list
e
easily wrapped around with a simple, pythonic wrapper.
It even has a .createTable() function for those times when you don't
even want to log into the database.
Regards,
Stephen Thorne.
--
http://mail.python.org/mailman/listinfo/python-list
ts_kwargs):
def decorator(f)
def closure(*arg, **kwargs):
kwargs.update(constants_kwargs)
return f(*arg, **kwargs)
return closure
return decorator
Regards,
Stephen Thorne
--
http://mail.python.org/mailman/listinfo/python-list
read any data, but
at this point if the file wasn't there, the OS would have throw you an
error.
> (2) >>> hesjustsleeping = f.read()
The entire file is read directly into a single python str.
Regards,
Stephen Thorne.
--
http://mail.python.org/mailman/listinfo/python-list
t = list(itertools.dropwhile(dropPredicate, mylist))
assert mylist == ['somecontentsxxx', 'd', 'e', 'f']
This will drop everything at the start of the list for which
'dropPredicate' returns true. This will mean that even if
dropPredicate retu
Martin v. LÃwis wrote:
Jarek Zgoda wrote:
So why are there non-UNICODE versions of wxPython??? To save memory or
something???
Robin Dunn has an explanation here:
http://wiki.wxpython.org/index.cgi/UnicodeBuild
... which is the first hit from a Google search on
"wxpython unicode build".
Also, from t
function
that actually fulfills the requirements.
This can be used in the original poster's situation to output data in
(almost) readable binary format using something like the following:
f = file('myfile', 'rb')
while 1:
bytes = f.read(8)
if not bytes:
break
print ' '.join([bstr(ord(c)) for c in bytes])
Regards,
Stephen Thorne
--
http://mail.python.org/mailman/listinfo/python-list
On 20 Jan 2005 19:24:43 -0800, Johnny Lin <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Is there a way to automate the unbinding of multiple variables? Say I
> have a list of the names of all variables in the current scope via
> dir(). Is there a command using del or something like that that will
> itera
Steve Holden wrote:
It seems to me the misunderstanding here is that XML was ever intended
to be generated directly by typing in a text editor. It was rather
intended (unless I'm mistaken) as a process-to-process data interchange
metalanguage that would be *human_readable*.
The premise that XML
Fredrik Lundh wrote:
Stephen Waterbury wrote:
The premise that XML had a coherent design intent
stetches my credulity beyond its elastic limit.
the design goals are listed in section 1.1 of the specification.
see tim bray's annotated spec for additional comments by one
of the team me
Peter Hansen wrote:
If merely thinking about the purpose of XML doesn't make it
clear where Steve got that idea ...
I meant no disparagement of Steve, and it is quite clear
where he got that (correct!) idea ...
It's also clear that the XML user community sees
that as part of *their* purpose in appl
Paul Rubin wrote:
Stephen Waterbury <[EMAIL PROTECTED]> writes:
I should note that I have to deal with XML a lot, but always
kicking and screaming (though much less now because of Fredrik's
Elementtree package ;). Thanks, Fredrik and Peter, for the
references. ;)
I love this old ran
ht all the same. Either launch Python from VM
Validator, or inject VM Validator into your running Python.exe process.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
otally accurate (multiple execution pipelines,
plus multithreading considerations).
You have to choose the system that works best for you. In many cases
RDTSC works OK.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon
due to power management.
Try running multiple apps at the same time you are doing your
measurement, each of which has a variable loading. Each of these apps is
contributing to the count returned by RDTSC. That is what I was
referring to.
Stephen
--
Stephen Kellett
Object Media Limited
espace is good or bad, just
> want to know.
http://logix.livelogix.com/
don't know why you'd bother tho. any competant programmer already
indents code exactly like python requires you to.
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
n the lead, oh look! The Ferrari has blue
screened. The new regulations to reduce speeds in F1 are working, that
has really slowed him down...
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
ad assumed
Python would call for simplicity). Hence the differing results.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
out this
limitation disappearing in python :).
Regards,
Stephen Thorne
--
http://mail.python.org/mailman/listinfo/python-list
t(x)
y = float(y)
Or, more concisely:
for line in f.readlines():
x, y = map(float, line.split())
Regards,
Stephen Thorne
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 27 Jan 2005 00:02:45 -0700, Steven Bethard
<[EMAIL PROTECTED]> wrote:
> Stephen Thorne wrote:
> > f = file('input', 'r')
> > labels = f.readline() # consume the first line of the file.
> >
> > Easy Option:
> > for line in f.readli
(beta)
http://www.softwareverify.com/pythonPerformanceValidator/index.html
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
In message <[EMAIL PROTECTED]>, Franz
Steinhaeusler <[EMAIL PROTECTED]> writes
best if it would be graphical like performance analysis from DevPartner
for Visual C++?
Python Performance Validator
http://www.softwareverify.com/pythonPerformanceValidator/index.html
Stephen
--
Stephen Ke
not a beginner being stupid, but somone who has been
around long enough to know better.
Stephen.
--
http://mail.python.org/mailman/listinfo/python-list
bject,
> Alex> 'subclasses'.join(['_'*2]*2)...?-)
>
> Now he has two problems. ;-)
I nearly asked that question, then I realised that 'getattr' is quite
easy to remove from the global namespace for the code in question, and
assumed that they had already
= line.split()
if len(elems) == 1:
raise ValueError, "Invalid line in file %r" % line
sitelist[elem[0]] = elem[1:]
:)
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
all_names))
which would not have worked correctly, it would have thrown an
exception because "Aahz\n".split()[1] does not exist.
I guess the second iteration would use name[1:] instead...
unfortunately-not-going-to-pycon-ly y'rs.
Stephen Thorne
--
http://mail.python.org/mailman/listinfo/python-list
ny of us to move on without worrying
> about the effect that the perl-python postings may have on these newcomers.
I'd just like the python-list@python.org mailing list to drop his
posts on the floor so I don't have to read them.
But thats me.
Stephen.
--
http://mail.python.org/mailman/listinfo/python-list
ddesk*
I'm using gmail, and I can set up the filter trivially
(from:[EMAIL PROTECTED] -> delete), but I just wasn't thinking clearly. I
was cursing not having the ability to use a procmail filter while the
solution was right in front of me.
Regards,
Stephen.
--
http://mail.python.org/mailman/listinfo/python-list
fort.
http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/5b50153e3fb84862
http://tinyurl.com/4awat
type(arg1) == types.IntType
def multi_type(t):
return multi(lambda x:type(x) == t)
@multi_type(types.IntType)
def foo(x):
return someOperationOnInt(x)
@multi_type(types.F
Daniel Bickett wrote:
This is certainly a worthy topic. There are several IDEs for Python
(one I like very much being Komodo) that have plenty of fancy
debugging features and advanced operations, however I have yet to
encounter (elsewhere) the convenience that comes with being able to
press F5 and
d similar threads in comp.lang.ruby and
comp.lang.java.*.
You are a troll.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
n that website without scrolling.
Use Google or a different search engine to find the obvious website.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
guy lateur wrote:
> So, ideally, I'd like to program as much as possible in python (I'm
> pretty new to that, too, btw), and only use VBA if needed - say, to
> call python objects/methods (+ wxGUI, please).
>
If you are new to Python and want to use it with COM, definitely get
yourself a copy of
http://www.softwareverify.com
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
--
http://mail.python.org/mailman/listinfo/python-list
Is there a python solution that someone could recommend for the following:
I'd like to take a directory of photos and create a pdf document with
four photos sized to fit on each (landscape) page.
Thanks.
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
increases in software productivity they are hiring the
wrong people.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
--
http://mail.python.org/mailman/listinfo/python-list
from refactoring
tools are the least of your worries. Hiring good staff that know how to
write, test and debug software is very much more important than the
amount of time a refactoring tool will save.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk/software.htm
st factor in at a fraction of 1% of productivity. I
don't really class improvements at that level as much to be shouted
about :-)
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, As
In message <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes
>T can be silent in England too ..
>
>frui'
>cricke'
Both of those words (fruit and cricket) have the letter T sounded.
Stephen (Nationality: English).
--
Stephen Kellett
Object Media Limitedhtt
new Wrox book besides the O'Reilly/Friedl Owl book.
http://www.uhacc.org/tech_docs/guides/regex1.php
also regex2.php, and regex3.php
Only the delimiters have been changed to protect the innocent,
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
Bah, sorry about the incorrect email and name!
--
http://mail.python.org/mailman/listinfo/python-list
John Reese wrote:
> Morning. I've been running into an error message pertaining to SSL
> that I don't understand, and I was hoping someone had some insight.
> Gmail provides POP access over SSL on port 587, so I tried to use
> poplib.POP_SSL, with the following results:
[snip]
> Any suggestions
John Reese wrote:
> Morning. I've been running into an error message pertaining to SSL
> that I don't understand, and I was hoping someone had some insight.
> Gmail provides POP access over SSL on port 587, so I tried to use
> poplib.POP_SSL, with the following results:
GMail uses port 995.
--
h
put", so I
> guess that would be a Py3K idea, and maybe the whole I/O concept
> will be rethought then (if the "print" statement is going to go away,
> anyway).
I don't see as "break input() using code" -> "not until py3k" as a
logical cause/ef
>wanna stop by my homemade glory hole?
I don't think anyone on this group will be interested in trying their
Python with that. Take it somewhere else.
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
W
Jonathon Blake wrote:
> [ Editing/creating msaccess databases on a Linux Box, and WINE _not_
> installed.]
I'm pretty sure I don't understand what you are wanting to do. You say
you have "msaccess databases on a Linux Box" and you are not using the
Jet Database engine. As far as I know, MS A
things up
>implementing some of the functions in C. So I need profiling.
You haven't said which platform you are on. If you are on Windows you
may want to try Python Performance Validator.
http://www.softwareverify.com
Stephen
--
Stephen Kellett
Object Media Limitedhttp:/
eLongRunningOperation()
print somereturnvalue
http://svn.twistedmatrix.com/cvs/sandbox/radix/newdefgen.py?view=markup&rev=14348
--
Stephen Thorne
Development Engineer
--
http://mail.python.org/mailman/listinfo/python-list
t a significant percentage
of your programs time is being spent inside this function?
If you don't, then you're wasting your time doing unnecessery optimisation.
--
Stephen Thorne
Development Engineer
--
http://mail.python.org/mailman/listinfo/python-list
es,
parameters and return values. Python Bug Validator.
http://www.softwareverify.com
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
--
ation. The equivilence actually
looks like:
'> a = []
'> l1 = range(4)
'> l2 = range(3)
'> for b in l1:
'> for i in l2:
'> a.append(i*2*b)
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
ltiple regular expressions. The following is
still incredibly hideous.
'>>> for m in xsearch(foo_pattern, subject):
'>>> pass
'>>> else:
'>>> for m in xsearch(bar_pattern, subject):
'>>> pass
'>>> else:
'>>> pass
Thankyou for your time.
Stephen Thorne
[1] Actual confusement may vary.
--
http://mail.python.org/mailman/listinfo/python-list
ation.
> >>> def f(*args,**kw):
> ... print args, kw
> ...
> >>> f(*[1,2])
> (1, 2) {}
> >>> f(*[1,2],x=1)
>File "", line 1
> f(*[1,2],x=1)
> ^
> SyntaxError: invalid syntax
the * and ** must occur at the end.
f(x=1, *[1,2]) is valid.
Stephen.
--
http://mail.python.org/mailman/listinfo/python-list
ou go. Failed the test. He is an AI. A human wouldn't make this
mistake.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
Ruby
crowd almost seemed incendiary - pretty much accused them of having a
lame language.
Most newcomers do not carry around a sense of entitlement that could
flatten a small village.
That has to rate as one of the funniest things I've read on usenet in
years.
Cheers
Stephen
--
Stephen Kell
In message <[EMAIL PROTECTED]>, Ilias Lazaridis
<[EMAIL PROTECTED]> writes
And yet there is not one company that has someone devoted full-time
to developing Python. Not even Guido.
Who's "Guido"?
LOL Falling off my chair!!
--
Stephen Kellett
O
. As
others have said, "do some work yourself".
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
Ruby. It was less time than he has spent complaining - and
that included rebuilding Python/Ruby, inspecting the source for what I
needed and performing many experiments before I succeeded.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:
In message <[EMAIL PROTECTED]>, Stephen Kellett
<[EMAIL PROTECTED]> writes
Hi Robert,
Weird, you hit "reply" and the newsreader does a "post". C'est la vie.
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:htt
pect them to purchase a .NET compiler or go through a
See above.
Regards
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
In message <[EMAIL PROTECTED]>, Stephen Kellett
<[EMAIL PROTECTED]> writes
Studio Express (downloadable from the Microsoft's website). This DLL is
(to my understanding) part of Visual Studio 7.1 and Visual Studio
Express.
My mistake. Visual Studio Express is going to be part of
its
obvious you have put some effort in before making your comments. In
other words I am not behaving in a contradictory way to what I specified
above.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
x27;m not sure I'm the person you are addressing (until
I saw the above, now I'm confused).
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
--
http://mail.python.org/mailman/listinfo/python-list
hrough a bunch of configuration hassle that scares me away from
What configuration hassle? Can't be any harder than specifying a
different CRT surely?
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.
ed elsewhere, I'd love a link to
that resource, if you have it.
I'm probably not the best person to answer such a question. I'm mainly a
C/C++ (with Java under protest) person dabbling in Python/Ruby.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co
In message <[EMAIL PROTECTED]>, Stephen Kellett
<[EMAIL PROTECTED]> writes
In message <[EMAIL PROTECTED]>, Pat
<[EMAIL PROTECTED]> writes
if I have both versions of Python installed - 2.3.5 and 2.4? Is there
an easy way to detect this and switch between the two dlls?
Eas
n't even start work without them, so I had them "taken for
granted" in my thoughts. I can see your problem :-) but I have no easy
answer. Sorry.
--
Stephen Kellett
Object Media Limitedhttp://www.objmedia.demon.co.uk
RSI Information:http://www.objmedia.demon.co.uk/rsi.html
x27;t correctly follow
this at the moment, IIRC).
Lots of points from Tony stating a different point of view. I'll assume
you are correct. However, surely if you Python 2.4 installed they'll
have this DLL anyway, so the point is moot, unless of course, Python 2.4
is in breach as well.
to tell
you).
Of course, based on your behaviour here (and currently in comp.lang.ruby
where you are spinning a nice yarn in not bothering to read up on the
answers people give you, even when their answers are detailed), I have
not much hope of you taking the above approach.
Stephen
--
Stephen Ke
In message <[EMAIL PROTECTED]>, Steve Horsley
<[EMAIL PROTECTED]> writes
Stephen Kellett wrote:
Who's "Guido"?
LOL Falling off my chair!!
I think the expression you are looking for is ROFL!
:-) Yes, but with that I could've been standing up before ending u
t
this threshold today) until you mend your ways. Do 1 and 2 and you'll
get your questions answered much faster than your current approach.
The most amazing thing is the number of times you've been told this by
so many different people and so many different newsgroups and yet you
*st
In message <[EMAIL PROTECTED]>, Ilias Lazaridis
<[EMAIL PROTECTED]> writes
MinGW compatibility is not [only] my need.
It is an community need [at least partially]
Clearly not. If it was, using your logic, it would already exist.
--
Stephen Kellett
Object Media Lim
..to this/g'" trick looks handy.
> Does Python have a similar trick? Or, is there a shorter Python recipe for
> the given problem?
sure.
python -c 'import os; os.system("sed -i s/change this/...tothis/g")'
Using-the-right-tool-for-the-job-ly-y'rs
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
ates your arrogance, selfishness
and utter contempt for those replying to you.
And then you have the gall to blame your failure on others...
Next you'll be telling me the world is flat and held up by an infinite
array of tortoises.
--
Stephen Kellett
Object Media Limitedhttp://www.objmedi
ing code that interacts with the library to see how best to use it.
I think its a bit like going back to a book after a few years. Its worth
returning because you will have forgotten some of what was so good first
time around.
Stephen
--
Stephen Kellett
Object Media Limitedhttp://www.objm
le as his network news postings. One of the first things
I did was check out his website. I didn't gain a lot as it is written in
his typical automaton style. It actively discourages you from engaging.
Thats quite an achievement for a static piece of text.
Stephen
--
Stephen Kellett
O
on my hands
I'd try to write an IlliasBot to see how far I got before I was found
out. But I'm way too busy, so someone else will have to do it. I just
hope they do it in Python or Ruby so that these languages get more
publicity.
Stephen
--
Stephen Kellett
Object Media Limitedhttp:
people are just poking you with a stick to
> watch you jump?
jump:
[EVALUATION] - E02 - Support for MinGW Open Source Compiler
Essence:
http://groups-beta.google.com/group/comp.lang.python/msg/5ba2a0ba55d4c102
Lol, this guy is hopeless :-)
Who's Guido?
--
Stephen Kellett
Object Media Limi
In message <[EMAIL PROTECTED]>, Ilias Lazaridis
<[EMAIL PROTECTED]> writes
Stephen Kellett wrote:
[...]
Who's Guido?
Guido is the one, who should care by time about the status of the
python-community.
Who is care by time?
--
Stephen Kellett
Object Media Limitedhttp://www.obj
twisted's 'Manhole', which allows you to
execute code in the server process.
It may require twisted-ising your application however.
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
Mark wrote:
Long story short
here is a contemporary logo design by myself:
http://www.imagezilla.com/img.php?im=1182129642_logo.png
Any comments welcome...
*runs*
Heh. As a graphic design, I think it's very nice.
Unfortunately, it's probably a bit too "scary" as
a logo for Python the language
for x in range(repeats):
value = value ** .5 + 1000*x + 46
return value
[EMAIL PROTECTED] tmp]$ cat recursive.py
def rec(afunc,n,x):
y = afunc(x)
if n == 0:
return y
else:
return rec(afunc,n-1,y)
def myfunc(x):
return x**.5 + 1000 * x + 46.
def calculate(r
isn't exactly the way I ended up doing it, due to the application
(all on a LAN, not the internet) I'm actually pulling the 'real'
program every time and leaving it in a directory under
tempfile.gettempdir()
Its a bit messy, but it actually works on both windows and linux
201 - 300 of 1209 matches
Mail list logo