Sean wrote:
Was wondering if there was any difference between these two functions.
I have read some text that said file() wasn't introduced until 2.2 and
that it was synonymous with open(). Does this mean that I should be
using file() where I used open() before?
FYI, I submitted a patch to
Ron Garret schreef:
But this topic does bring up a legitimate question: I have a bunch of
code that generates HTML using PRINT statements. I need to convert all
this code to return strings rather than actually printing them (so I can
use the results to populate templates). In Lisp I
In article [EMAIL PROTECTED],
JanC [EMAIL PROTECTED] wrote:
Something like this:
py import cStringIO
py import sys
py
py def foo():
... print test
...
py f = cStringIO.StringIO()
py sys.stdout = f
py foo()
py s = f.getvalue()
py sys.stdout = sys.__stdout__
You should always
Hello,
Alex Martelli wrote:
The DictMixin class from the UserDict module is *not* deprecated -- only
the UserDict class from the same module. (If you found info saying
otherwise pls provide a URL: the info is wrong and I'll try to get it
fixed -- thanks!). DictMixin's purpose is exactly as you
Thanks. I have disabled my firewall. But still failed.
It is a bit strange that echo server UDP works. Only TCP doesn't.
Regards,
SeSe
Kartic wrote:
Hi,
My experience with Twisted is also limited but let me try to help you.
I tried the same combo as you and it worked well with the following
*** WARNING **
Este mensaje ha sido analizado por MDaemon AntiVirus y ha encontrado
un fichero anexo(s) infectado(s). Por favor revise el reporte de abajo.
AttachmentVirus name Action taken
Paul Rubin schreef:
The AOL web server also uses tcl as a built-in dynamic content
generation language (i.e. sort of like mod_python), or at least it
used to.
It still does:
AOLserver is America Online's Open-Source web server. AOLserver is the
backbone of the largest and busiest production
Ron Garret [EMAIL PROTECTED] writes:
(with-output-to-string (s)
(let ( (*standard-output* s) )
(call-html-generating-code)
s))
Is there an equivalent Python trick to capture a function call's output
as a string?
I've sometimes replaced sys.stdout (and/or sys.stderr) to
In article [EMAIL PROTECTED],
Simo Melenius [EMAIL PROTECTED] wrote:
I've sometimes replaced sys.stdout (and/or sys.stderr) to
capture/redirect debugging information in existing code that has
unwisely just printed error and warning messages, instead of using
sys.stderr or error logging
Kartic wrote:
Looks like this is the documented outcome. You could alternatively try
setting a little XML-RPC app to invoke 'shutdown -s' on the remote PC
from your PC (e.g. using Twisted Python).
Or invoke 'shutdown -s -m \\machinename' on the local machine to shutdown a
remote machine.
Ron Garret wrote:
In article [EMAIL PROTECTED],
Erik Bethke [EMAIL PROTECTED] wrote:
I have NEVER experienced this kind of programming joy.
Just wait until you discover Lisp!
;-)
I've had it with all those lisp posts lately ;-)
There were functional and non-functional programming languages
Hello All,
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly says Python can be used for commercial applications. Is there
any
On Mon, 2005-01-03 at 08:52, Ross La Haye wrote:
How can an and operator be emulated in regular expressions in Python?
Specifically, I want to return a match on a string if and only if 2 or more
substrings all appear in the string. For example, for a string s = 'Jones
John' and substrings sg0
On Mon, 2005-01-03 at 19:00, [EMAIL PROTECTED] wrote:
Hello All,
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly says
jfj == jfj [EMAIL PROTECTED] writes:
jfj There were functional and non-functional programming
jfj languages (the first being *much* simpler to
jfj implement). There is a *reason* people chose C over
jfj lisp. It's not that we were all blind and didn't see the
jfj amazingness
Hi,
can I make sure that Python uses only async-signal safe glibc
functions in signal handlers?
For example, you must not call malloc or free in signal handlers, see
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html#tag_02_04_03
The reason is, that if a signal is caught
On Mon, 03 Jan 2005 13:05:48 +0200, Ville Vainio wrote:
jfj == jfj [EMAIL PROTECTED] writes:
jfj There were functional and non-functional programming
jfj languages (the first being *much* simpler to
jfj implement). There is a *reason* people chose C over
jfj lisp. It's not
On Mon, Jan 03, 2005 at 01:46:54AM -0600, Ian Bicking wrote:
Kendall Clark wrote:
Between this pressure (which isn't new, since as Steve points out, I
was talking about this in Python community last year, and I wasn't
nearly the first) and the growing popularity of Ruby on Rails, there's
some
Hello everyone,
I was wondering how to remove comments away form a file.
So that's why I made this script.
===
#!/usr/bin/env python
import sys
import string
import time
helptext = usage: python rmcomment [oldfile] [newfile] [comment]
def rmcomment(oldfile,
Peter Hansen [EMAIL PROTECTED] writes:
Roy Smith wrote:
Terry Reedy [EMAIL PROTECTED] wrote:
None has been reserved because there is no known good use for
overriding it.
Should I infer from the above that there's a known bad use?
Yes: making None equal to the integer 3. That's one of
Just wrote:
In article [EMAIL PROTECTED],
Simo Melenius [EMAIL PROTECTED] wrote:
I've sometimes replaced sys.stdout (and/or sys.stderr) to
capture/redirect debugging information in existing code that has
unwisely just printed error and warning messages, instead of
using
sys.stderr or
Is anyone aware of issues with Py2exe and extensions compiled with
cygwin/mingw for Python 2.3? I have an extension that wraps access to
some C DLLs. The generated executable always segfaults at startup,
although things work fine when running through the normal python
interpreter. I had a
Sean McIlroy wrote:
I've got a bunch of Frames, all packed into the root window with
side=TOP, and in each Frame I've got a Checkbutton packed with
side=LEFT. I expected the Checkbuttons to be flush with the left edge
of the window, but they're not, and it looks a little gross. How do I
get them
Title: RE: removing comments form a file
[Noud Aldenhoven]
#- Hello everyone,
#-
#- I was wondering how to remove comments away form a file.
I remade it:
#!/usr/bin/env python
import sys
import time
helptext = usage: python rmcomment oldfile newfile
(Not sure if my other message arrived)
I am guilty of using this idiom, too.
The standard library
http://www.python.org/dev/doc/devel/lib/module-sys.html#l2h-396
says:
__stdin__
__stdout__
__stderr__
These objects contain the original values of stdin, stderr and
stdout at the start of the
Hi,
I have the following convern: I have Tkinter applications that require a zoom
box, and have had the following behavior without changing a line of code:
1) Mandrake 10.0/KDE 3.2/Python 2.3: no zoom box
2) Mandrake 10.0/KDE 3.2/Python 2.4: zoom box shows
3) Mandrake 10.1/KDE 3.3/Python 2.4:
In article [EMAIL PROTECTED],
Alex Martelli [EMAIL PROTECTED] wrote:
Bulba! [EMAIL PROTECTED] wrote:
True. I have a bit of interest in economics, so I've seen e.g.
this example - why is it that foreign branches of companies
tend to cluster themselves in one city or country (e.g.
It's not just
In article [EMAIL PROTECTED],
Terry Reedy [EMAIL PROTECTED] wrote:
Steve Holden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Well clearly there's a spectrum. However, I have previously written that
the number of open source projects that appear to get stuck somewhere
between
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
Roy Smith wrote:
I think you've hit the nail on the head. In awk (and perl, and most
shells, and IIRC, FORTRAN), using an undefined variable silently gets
you a default value (empty string or zero). This tends to propagate
errors and make
Philippe C. Martin wrote:
Hi,
I have the following convern: I have Tkinter applications that require a zoom
box, and have had the following behavior without changing a line of code:
1) Mandrake 10.0/KDE 3.2/Python 2.3: no zoom box
2) Mandrake 10.0/KDE 3.2/Python 2.4: zoom box shows
3) Mandrake
You cold do something like this:
import re
commentpattern = re.compile('.*(?=//)|.*(?!//)')
stringwithcomment = 'Blah di blah // some comment'
match = commentpattern.match(stringwithcomment)
match.group()
'Blah di blah '
stringwithoutcomment = 'Blah di blah'
match =
In article [EMAIL PROTECTED],
Just [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Simo Melenius [EMAIL PROTECTED] wrote:
I've sometimes replaced sys.stdout (and/or sys.stderr) to
capture/redirect debugging information in existing code that has
unwisely just printed error and
Title: RE: Compiler benefits (was: The Industry choice)
[EMAIL PROTECTED]
#- I think your point was that the checking present in modern Fortran
#- compilers, or PyCheckers, but absent from core Python, is a net
#- benefit. That I grant. I'm reluctant to argue for a change in
#- Python. I
By zoom box I meant one of the top right button/box one uses to
maximize/unmaximize the current window.
--
*
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
*
--
http://mail.python.org/mailman/listinfo/python-list
In article [EMAIL PROTECTED],
jfj [EMAIL PROTECTED] wrote:
Ron Garret wrote:
In article [EMAIL PROTECTED],
Erik Bethke [EMAIL PROTECTED] wrote:
I have NEVER experienced this kind of programming joy.
Just wait until you discover Lisp!
;-)
I've had it with all those
Mike Meyer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Every time you call newwindow, you rebind self.new to the window just
created. So any close button that works will close the last window opened.
You need to create a separate class for new windows, each with it's
own
In article [EMAIL PROTECTED],
Mark Carter [EMAIL PROTECTED] wrote:
.
.
.
Don't start me! Dammit, too late ...
I've noticed that they have an overwhelming obsession with GUIs, too.
They design wizards for everything. Damn
Shaw-PTI (www.pti-us.com) uses Python in their software. See:
http://www.pti-us.com/pti/news/index.cfm and search 2004 PSS/E User Group
Meeting
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello All,
I am trying to convince my client to use Python in his new product. He
is
Miklós P wrote:
Paul Rubin wrote:
John Fabiani [EMAIL PROTECTED] writes:
I'm wondering if there is a module available that will open a dbf
So far (more than a minute) I have discovered a reader only. So if you
have
a URL or a search string it would be very helpful.
TIA
John
Yes, dBase Python
Well, I think a we can say that a framework for Non Content Oriented
Web Apps is something that can help in
(*) creating N tier data aware web applications
(*) creating data-aware controls (forms etc.).
(*) managing different data sources transparently(ZODB,
MySQL,PostGreSQL, etc).
(*) de-coupling
Philippe C. Martin wrote:
By zoom box I meant one of the top right button/box one uses to
maximize/unmaximize the current window.
This is a known problem in tcl/tk. See http://minilien.com/?7O2BAOm9t0
There is apparently a patch available. Latest tcl/tk versions apparently include
the
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello All,
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly
Tuesday January 4th is the first Tuesday of the month and the Vancouver
Python, Zope and Plone user's group will have its monthly meeting at
ActiveState.
The topic is What's new in Python 2.4:
Among other things, we will discuss:
* Function/method decorators
* Generator
In article [EMAIL PROTECTED],
Mark Carter [EMAIL PROTECTED] wrote:
.
.
.
Don't start me! Dammit, too late ...
...
Honestly, I thought (real) engineers were supposed to be clever.
You might want to read this:
Hello everyone,
I am happy to announce the release of CherryPy-2.0-beta.
CherryPy-2 is a pythonic, object-oriented web development framework.
CherryPy-2 is a redesign of CherryPy-1 (the unpythonic features have
been removed): no more compilation step, pure python source code (no
more
At Sunrise Software International, we build commercial applications for
Cabletron and the Florida DMV. This was ~10 years ago; so no useful docs
available, but we had no problems with license.
-Original Message-
From: Richards Noah (IFR LIT MET) [mailto:[EMAIL PROTECTED]
Sent: Monday,
Esmail Bonakdarian wrote:
Basically, I would like to be able to create some basic animations
where I can help visualize various sorting algorithms (for instance
http://ciips.ee.uwa.edu.au/~morris/Year2/PLDS210/sorting.html#insert_anim)
or graph searches (coloring nodes as each gets visited).
Have a look a the new CherryPy (http://www.cherrypy.org).
It allows developers to build web applications in much the same way
they would build any other object-oriented Python program.
This might corespond to what you're looking for.
Remi.
--
http://mail.python.org/mailman/listinfo/python-list
John Reese [EMAIL PROTECTED] writes:
In comp.lang.python, [I] wrote:
[...]
I instead copied it (to urllib3.py) and made the following changes:
a. in AbstractDigestAuthHandler.get_authorization, call
req.get_method() instead of req.has_data() and 'POST' or 'GET'
(python has a
Jonas Galvez [EMAIL PROTECTED] writes:
Christopher J. wrote:
I tried this, but it didn't work:
conn.request(GET, /somepage.html, None,
{AUTHORIZATION: Basic username:password})
[...]
import re, base64, urllib2
userpass = ('user', 'pass')
url = 'http://somewhere'
request =
Lee Harr [EMAIL PROTECTED] writes:
[...]
I think it looks pretty good. The only problem I see is section 5
where it says:
5. Did we miss your concern?
Please add a comment to this page.
but the page is immutable.
pedant
Hopefully one of the site maintainers will read this and
Just schreef:
You should always save stdout instead of using __stdout__. It may not be
the same!
You're right, especially when this code would execute in an (at
programming time) unknown context.
--
JanC
Be strict when sending and tolerant when receiving.
RFC 1958 - Architectural
Roman Suzi wrote:
I wish lambdas will not be deprecated in Python but the key to that is
dropping the keyword (lambda). If anybody could think of a better syntax for
lambdas _with_ arguments, we could develop PEP 312 further.
Some suggestions from recent lambda threads (I only considered the ones
here is the place that I host my websites with .
If your still looking for a good host check out
http://frontpage-web-hosting.org
--
http://mail.python.org/mailman/listinfo/python-list
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly says Python can be used
On 17 Dec 2004 15:53:51 -0800, rumours say that [EMAIL PROTECTED]
[EMAIL PROTECTED] might have written:
The BASICs of my youth also supported graphics and sounds.
PLAY CGFEDCGFEDCGFEFB
Now wait a minute, shouldn't that be...
PLAY CGFEDCGFEDCGFEFD ? :^)
You tell us :)
***
music.py --
I am running Python 2.3 on Windows XP and am trying to connect to an
ODBC datasource. I have done this many times on this same box but this
time I get an error message saying
dbi.operation-error: [WSOCK32.DLL]Connection refused, is the host
listener running? (#10061) in LOGIN
Not having seen
[EMAIL PROTECTED] wrote:
Is anyone aware of issues with Py2exe and extensions compiled with
cygwin/mingw for Python 2.3? I have an extension that wraps access
to
some C DLLs. The generated executable always segfaults at startup,
although things work fine when running through the normal
Anders J. Munch wrote:
Another way is the strategy of it's easier to ask forgiveness than to
ask permission.
If you replace:
if(not os.path.isdir(zfdir)):
os.makedirs(zfdir)
with:
try:
os.makedirs(zfdir)
except EnvironmentError:
pass
then not only will your
It's me [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Richards Noah (IFR LIT MET) [EMAIL PROTECTED] wrote in
message
news:[EMAIL PROTECTED]
Begging your pardon, but a better resource would be the brochure
available
(http://www.pti-us.com/PTI/company/brochures/PSSE.pdf). It
Ian Bicking wrote:
Steve Holden wrote:
I did actually do some sort-of-related work in this area, which I
presented at PyCon DC 2004 - you can access the paper at
http://www.python.org/pycon/dc2004/papers/18/Setting_A_Context.pdf
An audience member mentioned the Smalltalk and Scheme-based work
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly says Python can
Hi there,
got it. Note the root.distroy()-command.
-pekka-
- CODE STARTS
from Tkinter import *
from ScrolledText import ScrolledText
import tkFont
class Message_box:
# Graphical message box for printing unicode texts
def __init__(self, myParent):
self.myContainer1 =
Kendall Clark wrote:
On Sun, Jan 02, 2005 at 10:03:10AM -0500, Steve Holden wrote:
I did actually do some sort-of-related work in this area, which I
presented at PyCon DC 2004 - you can access the paper at
http://www.python.org/pycon/dc2004/papers/18/Setting_A_Context.pdf
An audience member
Terry Reedy wrote:
Steve Holden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Well clearly there's a spectrum. However, I have previously written that
the number of open source projects that appear to get stuck somewhere
between release 0.1 and release 0.9 is amazingly large, and
[EMAIL PROTECTED] wrote:
[some spam]
Those people don't even provide python hosting, how lame.
(Yes, I know, I shouldn't have clicked the link).
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
In article [EMAIL PROTECTED],
Steve Holden [EMAIL PROTECTED] wrote:
Aahz wrote:
In article [EMAIL PROTECTED],
Paul Rubin http://[EMAIL PROTECTED] wrote:
I was pretty skeptical of Java's checked exceptions when I first used
them but have been coming around about them. There's just
Craig Ringer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Mon, 2005-01-03 at 08:52, Ross La Haye wrote:
How can an and operator be emulated in regular expressions in Python?
Regular expressions are designed to define and detect repetition and
alternatives. These are easily
Steven Bethard wrote:
The only ones that make me a little nervous are examples like:
inspect.py: def formatargspec(args, varargs=None, varkw=None,
...
formatvarargs=lambda name: '*' + name,
formatvarkw=lambda name: '**' + name,
[EMAIL PROTECTED] wrote:
Hello All,
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly says Python can be used for commercial
It's me wrote:
Shaw-PTI (www.pti-us.com) uses Python in their software.
... but the Python Powered logo is conspicuous by its
absence from their site. Too bad that some commercial
exploiters of Python don't advertise that fact more often.
Every little bit helps!
Steve
--
I have seen some previous messages about such a problem. I have this
problem but it is not clear what the solution really was.
I am running FC2, python 2.3.3
the script i have sock.py runs if i say something like :
python sock.py
but ./sock.py results in a :bad interpreter error
how do i
I'm a great believer that avoiding query strings in URL's is good
practise ( http://www.holloway.co.nz/book/9 for good arguments why).
How tricky is it to remap URL's to query strings in cherryPy? Also how
much does it complicate matters to run cherryPy under an existing
webserver? Is any
Steve Holden wrote:
Aahz wrote:
In article [EMAIL PROTECTED],
Steve Holden [EMAIL PROTECTED] wrote:
Aahz wrote:
In article [EMAIL PROTECTED],
Paul Rubin http://[EMAIL PROTECTED] wrote:
I was pretty skeptical of Java's checked exceptions when I first used
them but have been coming around about
Anders J. Munch wrote:
Another way is the strategy of it's easier to ask forgiveness than
to
ask permission.
If you replace:
if(not os.path.isdir(zfdir)):
os.makedirs(zfdir)
with:
try:
os.makedirs(zfdir)
except EnvironmentError:
pass
then not only
Stephen Waterbury [EMAIL PROTECTED] wrote:
Shaw-PTI (www.pti-us.com) uses Python in their software.
... but the Python Powered logo is conspicuous by its
absence from their site. Too bad that some commercial
exploiters of Python don't advertise that fact more often.
Companies use all sorts of
John J. Lee wrote:
Lee Harr [EMAIL PROTECTED] writes:
[...]
I think it looks pretty good. The only problem I see is section 5
where it says:
5. Did we miss your concern?
Please add a comment to this page.
but the page is immutable.
pedant
Hopefully one of the site maintainers will read this and
On Mon, 2005-01-03 at 12:24 -0800, [EMAIL PROTECTED] wrote:
I have seen some previous messages about such a problem. I have this
problem but it is not clear what the solution really was.
I am running FC2, python 2.3.3
the script i have sock.py runs if i say something like :
python
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have seen some previous messages about such a problem. I have this
problem but it is not clear what the solution really was.
I am running FC2, python 2.3.3
the script i have sock.py runs if i say something like :
python sock.py
Well that's it, how do I make Windows Application with Python ???
Is there simple way that works 100% ? How can I rework visual design
done in VS 2003 to use it for my python program ?
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 03 Jan 2005 12:24:09 -0800, RajaSrinivasan wrote:
I have seen some previous messages about such a problem. I have this
problem but it is not clear what the solution really was.
I am running FC2, python 2.3.3
the script i have sock.py runs if i say something like :
python
[EMAIL PROTECTED] wrote:
Hello All,
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly says Python can be used for commercial
I'm a great believer that avoiding query strings in URL's is good
practise ( http://www.holloway.co.nz/book/9 for good arguments why).
CherryPy also supports that out of the box:
class Book:
def default(self, categoryName, bookId):
...
cpg.root.book = Book()
If you go to
Ron Garret wrote:
In article [EMAIL PROTECTED],
jfj [EMAIL PROTECTED] wrote:
Ron Garret wrote:
In article [EMAIL PROTECTED],
Erik Bethke [EMAIL PROTECTED] wrote:
I have NEVER experienced this kind of programming joy.
Just wait until you discover Lisp!
;-)
I've had it with all those lisp
[EMAIL PROTECTED] wrote:
the script i have sock.py runs if i say something like :
python sock.py
but ./sock.py results in a :bad interpreter error
how do i troubleshoot something like this?
sounds like you've been editting the script on a windows machine, and
it's inserted it's evil
On Sat, 01 Jan 2005 10:47:41 +1100, richard wrote:
Bob Horvath wrote:
I have a Zope/Plone combination that I have been having POSKeyErrors
with for a while now. Are there any newsgroups that deal with Zope?
No, but there is a mailing list - see zope.org
Also, try google searching for
In article [EMAIL PROTECTED],
Steve Holden [EMAIL PROTECTED] wrote:
Aahz wrote:
In article [EMAIL PROTECTED],
Steve Holden [EMAIL PROTECTED] wrote:
Aahz wrote:
That's funny -- Bruce Eckel talks about how he used to love checked
exceptions but has come to regard them as the horror that they
[EMAIL PROTECTED] wrote:
Well, you can easily run CherryPy behind Apache (see
http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/BehindApache).
Since CherryPy provides a WSGI interface (although it's still
experimental), you can also run your CherryPy app with any
WSGI-compatible HTTP server (although
Just [EMAIL PROTECTED] writes:
In article [EMAIL PROTECTED],
Simo Melenius [EMAIL PROTECTED] wrote:
... sys.stdout = sys.__stdout__
Aargh, I can't believe how widespread this idiom is :-(. See my other
reply in this thread: DON'T use sys.__stdout__. Ever.
It probably does the
Terry Reedy wrote:
Craig Ringer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Mon, 2005-01-03 at 08:52, Ross La Haye wrote:
How can an and operator be emulated in regular expressions in
Python?
Regular expressions are designed to define and detect repetition and
On 21 Dec 2004 15:20:35 -0800, rumours say that John Machin
[EMAIL PROTECTED] might have written:
Subtle distinction: A metER is a measuring device. A MetRE is a unit of
distance.
In this case, English (compared to American English) is closer to the
original metron [1]. Now, if only you people
BOOGIEMAN wrote:
Well that's it, how do I make Windows Application with Python ???
Is there simple way that works 100% ? How can I rework visual design
done in VS 2003 to use it for my python program ?
Close your eyes, see this model-view-controller in your application,
rewrite it in Python using
Steve Holden wrote:
Whereas the bleached bones of the failed open source projects are
visible for all to see on the SourceForge beach.
It occurs to me that the value of those projects can be judged
in a number of ways. One of them is in how much those involved
in the projects have learned from
Steve Holden wrote:
Look at the Pyrex package to get you started thinking about remote
execution and client/server communications. This lets a program on one
machine call methods on objects on another machine.
Steve meant to say Pyro, not Pyrex. The former is what
he actually described. The
[EMAIL PROTECTED] wrote:
Hello All,
I am trying to convince my client to use Python in his new product. He
is worried about the license issues. Can somebody there to point me any
good commercial applications developed using python ?. The licence
clearly says Python can be used for commercial
Craig Ringer wrote:
My first thought would be to express your 'A and B' regex as:
(A.*B)|(B.*A)
with whatever padding, etc, is necessary. You can even substitute in the
sub-regex for A and B to avoid writing them out twice.
That won't work because of overlaps. Consider
barkeep
with a
BOOGIEMAN wrote:
Well that's it, how do I make Windows Application with Python ???
Is there simple way that works 100% ? How can I rework visual design
done in VS 2003 to use it for my python program ?
What do you mean by Windows Applications? I'm running
Python on Windows XP, so every program I
It's me [EMAIL PROTECTED] writes:
Well, now that they are API based, they can easily add any script language
they so wish through SWIG (www.swig.org).
Maybe not LISP. SNOBOL would be the right thing to do. (*NOT*)
SWIG generates wrappers for GUILE, which is Scheme, which looks enough
like
On Mon, 03 Jan 2005 22:57:22 +0100, Jarek Zgoda wrote:
Close your eyes, see this model-view-controller in your application,
rewrite it in Python using one of its MVC frameworks.
You see? It's easy, like that!
Yes, only if I'd know what you're talking about :(
--
On Mon, 03 Jan 2005 17:19:22 -0500, Peter Hansen wrote:
What do you mean by Windows Applications? I'm running
Python on Windows XP, so every program I write with
Python is a Windows application by my definition. Obviously
you are using a different one.
(And if you just mean it has a GUI,
1 - 100 of 137 matches
Mail list logo