Ben Finney wrote:
> If you have a problem you'd like a lot of people to look at, the most
> effective way is to make a short, complete example that demonstrates
> exactly the problem you're trying to understand.
I should make a demo, you say? I'm gonna do that next time. Thanks.
--
http://mail.p
Just to expand a little on what others have already said - not only is
the total = list[0] etc.approach more readable, idiomatic, and elegant,
IMO its more semantically correct.
Your constraint that list[0].__class__ has a no-arg constructor is not
strong enough; a more subtle and potentially bug-
"Lawrence D'Oliveiro" <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Hendrik van
> Rooyen wrote:
>
> > "Lawrence D'Oliveiro" <[EMAIL PROTECTED]> wrote:
> >
> > 8<
> >
> >> I wonder if we need another "middle" field for holding
On 10/9/06, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Mon, 09 Oct 2006 15:31:56 +0200, "Diez B. Roggisch"
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>
> > C++ has a lot of wicked, complicated features like overloadable assignment
> > statements and so on, misses GC
See here:
http://wiki.python.org/moin/DistributedProgramming
-Nick V.
Martin Drautzburg wrote:
> Hello all,
>
> I've seen various attempts to add distributed computing capabilities on top
> of an existing language. For a true distributed system I would expect it to
> be possible to instantiate o
At Tuesday 10/10/2006 02:44, [EMAIL PROTECTED] wrote:
>Hello:
>Under win32 XP y select python command line and execute next code with
>results indicated:
>
>Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
>(Intel)] on
>Type "help", "copyright", "credits" or "license" for more info
On 2006-10-09, Aahz <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Antoon Pardon <[EMAIL PROTECTED]> wrote:
>>On 2006-10-08, Aahz <[EMAIL PROTECTED]> wrote:
>>> In article <[EMAIL PROTECTED]>, John J. Lee <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] (Aahz) writes:
>
> T
"Martin Drautzburg" <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I've seen various attempts to add distributed computing capabilities on top
> of an existing language. For a true distributed system I would expect it to
> be possible to instantiate objects of a remote class or to subclass a
> remot
Méta-MCI schrieb:
> Hi, all!
>
>
> Any news, on release Python-2.5 for many modules/lib?
> Some exemples:
>
> Console (Effbot)
> SciPy
> Iconvcodec
> DirectPython
> SendKeys
> Dislin
> PyGame
> Twain
> etc.
>
>
Dislin is recompiled for Python 2.5 and Win
Rob Wolfe wrote:
> > while running:
> > key_command = game.mainwin.getch()
>
> # I've moved erasing messages here
> game.msg.ereasMsg()
Man... I didn't even think of that. It's embarassing. Thanks. It works
perfect now. Again, thanks.
Gasten
--
http://mail.python
> >
> > > E. g. [in Java there is] no operator overloading, but "+"
> > > concatenation of strings. What if you'd like to implement your own
> > > string-derived class? Ah, never mind. Operator overloading is
> > > bad(tm) ;) <= Irony, definitely
> >
> > Definitely? That one strikes me more as sarc
Ray wrote:
> [EMAIL PROTECTED] wrote:
>
>>Is Jython development dead or has it just seemed that way for over a
>>year?. The jython.org website has a recent new appearance (but no new
>>content) and there is some message traffic on the developer site at
>>Sourceforge. However nothing has been rele
On 2006-10-10, Ben Finney <[EMAIL PROTECTED]> wrote:
> "Andy Salnikov" <[EMAIL PROTECTED]> writes:
>
>> "Aahz" <[EMAIL PROTECTED]> wrote:
>> > Antoon Pardon <[EMAIL PROTECTED]> wrote:
>> >>The problem is there is also ground for bugs if you don't use
>> >>"blah is True". If some application natural
"Stuart McGraw" <[EMAIL PROTECTED]> wrote:
> So, does raw_input() ever return unicode objects and if
> so, under what conditions?
>
It returns unicode if reading from sys.stdin returns unicode.
Unfortunately, I can't tell you how to make sys.stdin return unicode for
use with raw_input. I tried
Stuart McGraw schrieb:
> So, does raw_input() ever return unicode objects and if
> so, under what conditions?
At the moment, it only returns unicode objects when invoked
in the IDLE shell, and only if the character entered cannot
be represented in the locale's charset.
Regards,
Martin
--
http://
bryan rasmussen wrote:
E. g. [in Java there is] no operator overloading, but "+"
concatenation of strings. What if you'd like to implement your own
string-derived class? Ah, never mind. Operator overloading is
bad(tm) ;) <= Irony, definitely
>>>
>>>Definitely? That one strikes me mo
On 10/10/06, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Stuart McGraw schrieb:
> > So, does raw_input() ever return unicode objects and if
> > so, under what conditions?
>
> At the moment, it only returns unicode objects when invoked
> in the IDLE shell, and only if the character entered cannot
Edward Diener No Spam wrote:
> Michael wrote:
> > Edward Diener No Spam wrote:
> >
> >> Has there ever been, or is there presently anybody, in the Python
> >> developer community who sees the same need and is working toward that
> >> goal of a common component model in Python, blessed and encourag
> try:
> import curses
> except ImportError:
> print "Missing the Curses-library."
> print "Please install the curses-library correctly."
> SystemExit
~
Does this work ? Maybe *raise SystemExit* ??
--
http://mail.python.org/mailman/listinfo
On 10/10/06, Steve Holden <[EMAIL PROTECTED]> wrote:
> ... in America. It's well-known among Brits that Americans don't
> understand irony. They can be pretty oblique when it come to sarcasms
> too, for that matter.
Ford Prefect: "What?"
-- Theerasak
--
http://mail.python.org/mailman/listinfo/p
"Nick Vatamaniuc" <[EMAIL PROTECTED]> writes:
> Python does not _need_ a component model just as you don't _need_ a RAD
> IDE tool to write Python code. The reason for having a component model
> or a RAD IDE tool is to avoid writing a lot of boiler plate code.
It's also so that applications writte
Hi,
When I want to uninstall my usb disk on windows, the operating systems
sometimes tells me the device is being used by other program. But I
can't find which program is using it. Can I do this using python ?
Thanks.
xiaojf
--
http://mail.python.org/mailman/listinfo/python-list
Theerasak Photha wrote:
>>> So, does raw_input() ever return unicode objects and if
>>> so, under what conditions?
>>
>> At the moment, it only returns unicode objects when invoked
>> in the IDLE shell, and only if the character entered cannot
>> be represented in the locale's charset.
>
> Why o
Edward Diener No Spam wrote:
>> Why not propose something. That is the easiest way to get things moving.
>
> How does one do that ? Propose something here on this NG or is there
> some other official way ?
the first step towards a successful Python proposal is to stop quoting
the entire thread
At Tuesday 10/10/2006 05:17, [EMAIL PROTECTED] wrote:
When I want to uninstall my usb disk on windows, the operating systems
sometimes tells me the device is being used by other program. But I
can't find which program is using it. Can I do this using python ?
I don't know with Python, but Proc
On 10/10/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Martin was probably thinking of the standard distribution.
>
> The 2.3 note says that "raw_input() *can* return Unicode", not that it
> "should" or "must" do it.
Practically speaking, at the heart of the matter: as of Python 2.5
final, does
Hello,
this is my first message sent to the python-list, so
forgive any irregularities.
is it possible to convert MSword docs into PDF format?
i told my future employer that i could, because i knew
of the COM scripting abilites that activePython had.
and i knew there was modules for PDF creation
Paul Rubin schrieb:
> "Nick Vatamaniuc" <[EMAIL PROTECTED]> writes:
>> Python does not _need_ a component model just as you don't _need_ a RAD
>> IDE tool to write Python code. The reason for having a component model
>> or a RAD IDE tool is to avoid writing a lot of boiler plate code.
>
> It's als
Nick Vatamaniuc wrote:
> At the same time one could claim that Python already has certain
> policies that makes it seem as if it has a component model.
every Python object surely qualifies as a component, for any non-myopic
definition of that word, and everything inside a Python program is an
o
On Mon, 09 Oct 2006 11:08:39 +0200, Claus Tondering
<[EMAIL PROTECTED]> wrote:
> I just solved the problem myself:
>
> I wrote:
>> self.destroy()
>
> Writing "self.master.destroy()" instead does the trick.
As an alternative (which is better IMHO), you may consider specializing
Top
On 10/9/06, Magnus Lycka <[EMAIL PROTECTED]> wrote:
> gord wrote:
> > As a complete novice in the study of Python, I am asking myself where this
> > language is superior or better suited than others. For example, all I see in
> > the tutorials are lots of examples of list processing, arithmetic
> >
Theerasak Photha wrote:
> Practically speaking, at the heart of the matter: as of Python 2.5
> final, does or can raw_input() return Unicode under the appropriate
> circumstances, according to user wishes?
didn't Martin just answer that question?
--
http://mail.python.org/mailman/listinfo/pyt
Martin Drautzburg schrieb:
> Hello all,
>
> I've seen various attempts to add distributed computing capabilities on top
> of an existing language. For a true distributed system I would expect it to
> be possible to instantiate objects of a remote class or to subclass a
> remote class and other stu
On 10/10/06, Steve Holden <[EMAIL PROTECTED]> wrote:
> bryan rasmussen wrote:
> E. g. [in Java there is] no operator overloading, but "+"
> concatenation of strings. What if you'd like to implement your own
> string-derived class? Ah, never mind. Operator overloading is
> bad(tm) ;)
On 10/10/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Theerasak Photha wrote:
>
> > Practically speaking, at the heart of the matter: as of Python 2.5
> > final, does or can raw_input() return Unicode under the appropriate
> > circumstances, according to user wishes?
>
> didn't Martin just answer
[EMAIL PROTECTED] enlightened us with:
> is it possible to convert MSword docs into PDF format?
Yes, it is. check out http://www.stuvel.eu/ooo-python#header3. It's
about converting Excel to PDF, but it equally applies to MSWord.
Sybren
--
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/
--
htt
Cameron Laird wrote:
> goon summarizes WSGI resources:
> http://groups.google.com/group/comp.lang.python/msg/f7d67bc039748792
>
THE wsgi resource at the moment is http://wsgi.org . (sorry, I've missed
the original thread)
Stephan
--
http://mail.python.org/mailman/listinfo/python-lis
Hendrik van Rooyen schreef:
> "Lawrence D'Oliveiro" <[EMAIL PROTECTED]> wrote:
>
>
>> In message <[EMAIL PROTECTED]>, Hendrik van
>> Rooyen wrote:
>>
>>> "Lawrence D'Oliveiro" <[EMAIL PROTECTED]> wrote:
>>>
>>> 8<
>>>
I wonder if we nee
On 10/9/06, Christoph Haas <[EMAIL PROTECTED]> wrote:
> Yes, I know Perl makes "0" from anything that doesn't look like a number
> but Python's principle is to never hide errors while Perl makes certain
> assumptions. So Python prefers to complain.
And raises real exceptions moreover, instead of
On 10/7/06, Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
> Just because most Western designers of databases do it wrong doesn't mean
> that a) you should do it wrong, or b) they will continue to do it wrong
> into the future, as increasing numbers of those designers come from Asian
> and other n
bryan rasmussen wrote:
> On 10/10/06, Steve Holden <[EMAIL PROTECTED]> wrote:
>
>>bryan rasmussen wrote:
>>
>>E. g. [in Java there is] no operator overloading, but "+"
>>concatenation of strings. What if you'd like to implement your own
>>string-derived class? Ah, never mind. Operator
On 9 Oct 2006 11:27:40 GMT, Antoon Pardon <[EMAIL PROTECTED]> wrote:
> I honestly don't see why "variable" would be an inappropiate word to use.
> AFAIU, python assignment seems to behave much like lisp and smalltalk
> and I never heard that those communities found the word "variable"
> inappropia
I have been hunting around Google hits for any source code examples of
using sound (preferably WAV) under Jython with no success (minus several
using other toolkits such as JNRI and JES). Does anybody know if any such
examples exist and if so, I would be grateful for a pointer in their
directio
At Monday 9/10/2006 22:14, Kevien Lee wrote:
There is a problem about File path encode ,when i want to parse
an xml file.
xmldoc=minidom.parse("D:\Downloads\1.xml")
IOError: [Errno 2] No such file or directory: 'D:\\Downloads\x01.xml'
See the red line.the file path"D:\Downloads\1.xml" au
Diez B. Roggisch wrote:
> Paul Rubin schrieb:
>
>>"Nick Vatamaniuc" <[EMAIL PROTECTED]> writes:
>>
>>>Python does not _need_ a component model just as you don't _need_ a RAD
>>>IDE tool to write Python code. The reason for having a component model
>>>or a RAD IDE tool is to avoid writing a lot of
Martin Drautzburg wrote:
> Hello all,
>
> I've seen various attempts to add distributed computing capabilities on top
> of an existing language. For a true distributed system I would expect it to
> be possible to instantiate objects of a remote class or to subclass a
> remote class and other stuff
Sybren Stuvel wrote:
> [EMAIL PROTECTED] enlightened us with:
>
>>is it possible to convert MSword docs into PDF format?
>
>
> Yes, it is. check out http://www.stuvel.eu/ooo-python#header3. It's
> about converting Excel to PDF, but it equally applies to MSWord.
>
However, this assumed perfect i
Theerasak Photha wrote:
> On 10/7/06, Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
>
>
>>Just because most Western designers of databases do it wrong doesn't mean
>>that a) you should do it wrong, or b) they will continue to do it wrong
>>into the future, as increasing numbers of those designer
# [EMAIL PROTECTED] / 2006-10-08 11:44:18 +0100:
> That's because assignment isn't an operator - that's why (for example)
>
> print x = 33
>
> would be a syntax error. This is a deliberate design decision about
> which, history shows, there is little use complaining.
Just to clarify: n
Il Tue, 10 Oct 2006 01:27:35 -0700, [EMAIL PROTECTED] ha scritto:
> is it possible to convert MSword docs into PDF format?
> i told my future employer that i could, because i knew
> of the COM scripting abilites that activePython had.
> and i knew there was modules for PDF creation such as
> repor
bryan rasmussen skrev:
> On 10/10/06, Steve Holden <[EMAIL PROTECTED]> wrote:
>> ... in America. It's well-known among Brits that Americans don't
>> understand irony. They can be pretty oblique when it come to sarcasms
>> too, for that matter.
>
> is that 'in America' meant to be an addendum
Roman Neuhauser wrote:
> People who complain often fail to see how
>
>x = foo()
>while x:
>process(x)
>x = foo()
>
>is safer than
>
>while x = foo():
>process(x)
that's spelled:
for x in foo():
process(x)
in Python, or, if foo() just refuses b
On 10/10/06, Max M <[EMAIL PROTECTED]> wrote:
> bryan rasmussen skrev:
> > On 10/10/06, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> >> ... in America. It's well-known among Brits that Americans don't
> >> understand irony. They can be pretty oblique when it come to sarcasms
> >> too, for that matte
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> or for the perhaps-overly-clever hackers,
>
> for x in iter(lambda: foo() or None, None):
> process(x)
for x in takewhile(foo() for _ in repeat(None)):
process (x)
--
http://mail.python.org/mailman/listinfo/python-list
Marc 'BlackJack' Rintsch wrote:
(snip)
Python itself is a RAD tool.
+1 QOTW
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
--
http://mail.python.org/mailman/listinfo/python-list
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> or for the perhaps-overly-clever hackers,
>
> for x in iter(lambda: foo() or None, None):
> process(x)
for x in takewhile(bool, (foo() for _ in repeat(None))):
process(x)
Meh, both are ugly.
--
http://mail.python.org/mailman/listi
"Theerasak Photha" <[EMAIL PROTECTED]> writes:
> Also 'da' for Portuguese, which means roughly same as
> Nederlands/Vlaams. Maybe. As usual: IANAE.
It looks like the same but at least here in Brasil it isn't considered for
sorting ("da Silva" should be sorted under "Silva", "de Souza" under "Souz
On 2006-10-10, Paul Rubin wrote:
> "Fredrik Lundh" <[EMAIL PROTECTED]> writes:
>> or for the perhaps-overly-clever hackers,
>>
>> for x in iter(lambda: foo() or None, None):
>> process(x)
>
> for x in takewhile(foo() for _ in repeat(None)):
>process (x)
>>> for x in takewhile(foo
Steve Holden <[EMAIL PROTECTED]> writes:
> It seems like some sort of free text search on a "full name" field looks like
> the only realistic globally-acceptable (?) option.
This is what we opted doing. Normalization to this level wouldn't add much
since there are a lot of "Smith"s that aren't r
>> Nope. Things like CORBA and COM do have that property, but e.g. the Java
>> beans spec has only a meaning inside the VM. Not sure about .NET, but I
>> can imagine there it's the same thing.
>>
> Well the .NET component model is specifically designed to be
> cross-language, but that's a feature
Edward Diener No Spam wrote:
>
> In the typical RAD development environment, a particular component model
> allows one to drop components, which are classes corresponding to a
> particular inner representation which tells the development environment
> what are the "properties" and "events" of that
Hello!
I need to process some webpages of a forum which is powered by discuz!.
When I login, there are some options about how long to keep the
cookies: forever, month, week, et al. If I choose forever, I don't
need to login each time, and When I open the internet explorer I can
access any pages d
Diez B. Roggisch wrote:
[...]
>>Just the same, one can use IronPython to call components written in
>>other languages. And, I believe, vice versa.
>
>
> Sure, as I can do it in jython. But the key point is: can your ordinary
> python-object be published as a component? At least for jython I can
>
Antoon Pardon <[EMAIL PROTECTED]> writes:
> >>> for x in takewhile(foo() for _ in repeat(None)):
> ... print x
> ...
> Traceback (most recent call last):
> File "", line 1, in ?
> TypeError: takewhile expected 2 arguments, got 1
Yeah, I cancelled and posted a followup
for x in takewhile(boo
Hello Dapu,
You can do the same thing as IE on your forum using urllib2 and
cookielib. In short you need to code a small webcrawler. I can give you
my browser module if necessary.
You might not have the time to fiddle with the coding part or my
browser module so you can also use this particularly
On 2006-10-10, Paul Rubin wrote:
> "Fredrik Lundh" <[EMAIL PROTECTED]> writes:
>> or for the perhaps-overly-clever hackers,
>>
>> for x in iter(lambda: foo() or None, None):
>> process(x)
>
> for x in takewhile(bool, (foo() for _ in repeat(None))):
> process(x)
>
> Meh, both ar
Edward Diener No Spam wrote:
> Michael wrote:
> > Edward Diener No Spam wrote:
> >
> >> Has there ever been, or is there presently anybody, in the Python
> >> developer community who sees the same need and is working toward that
> >> goal of a common component model in Python, blessed and encourage
Alalalala lint.. alalalala lint...
Ehm :-)
Are there any python-code linter out there - or the code is so easy to
write that it always is so perfekt? :-)
/Andy
--
Don't walk in front of me, I might be unable to follow you.
Don't walk after me, I might be unable to lead you.
Just w
On Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
> Are there any python-code linter out there
PyLint (http://www.logilab.org/projects/pylint)
PyChecker (http://pychecker.sf.net)
Christoph
--
http://mail.python.org/mailman/listinfo/python-list
Christoph> On Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
>> Are there any python-code linter out there
Christoph> PyLint (http://www.logilab.org/projects/pylint)
Christoph> PyChecker (http://pychecker.sf.net)
New kid on the block:
PyFlakes http://divmod.org/trac/wi
bryan rasmussen skrev:
> Well irony originally started out as a very specific concept of the
> Ancient Greek drama, this is what we nowadays refer to as Dramatic
> Irony but it is the original irony. Irony then became a literary
> concept for plot elements similar to Dramatic irony in books, or a
Antoon Pardon <[EMAIL PROTECTED]> writes:
> Suppose one has the following intention in mind:
>
> while x = setup():
> if y = pre_process() in ErrorCondition:
> break
> post_process(y)
> else:
> NormalTermination()
Maybe we need a new itertools function:
def forever(func,
Hello all,
Creating a 'Help' menu 'by hand' on the Mac does not work, or rather, it
creates a *second* Help menu.
There are hints about how to do this at:
http://tkinter.unpythonic.net/wiki/Widgets/Menu
but so far those hints have not been enough :-) The following statements are
the r
Hi folks, I've got a question for yas. I'm trying to write code that
will open up a gzipped tar file using gnutar, and copy the list of
files(including their directories) to a list variable in python. From
there, I want to go through the list and delete those files from my
system. That part is e
On 2006-10-10 14:35:30 +0200, [EMAIL PROTECTED] wrote:
> Hi folks, I've got a question for yas. I'm trying to write code that
> will open up a gzipped tar file using gnutar, and copy the list of
> files(including their directories) to a list variable in python. From
> there, I want to go through
Dan Bishop wrote:
> On Oct 9, 11:40 am, Bjoern Schliessmann
>> String eggs = new String();
>>
>> The latter seems totally unnecessary to me, as well as being too
>> verbose
> It is! All you have to write is
>
> String eggs = "";
>
> Unfortunately, the other object types don't have literals.
Nick Vatamaniuc wrote:
> Edward Diener No Spam wrote:
>> Michael wrote:
>
> Python does not _need_ a component model just as you don't _need_ a RAD
> IDE tool to write Python code. The reason for having a component model
> or a RAD IDE tool is to avoid writing a lot of boiler plate code.
> Python
Paul Rubin wrote:
> "Nick Vatamaniuc" <[EMAIL PROTECTED]> writes:
>> Python does not _need_ a component model just as you don't _need_ a RAD
>> IDE tool to write Python code. The reason for having a component model
>> or a RAD IDE tool is to avoid writing a lot of boiler plate code.
>
> It's also
wrote in news:[EMAIL PROTECTED] in
comp.lang.python:
> Hi folks, I've got a question for yas. I'm trying to write code that
> will open up a gzipped tar file using gnutar, and copy the list of
> files(including their directories) to a list variable in python. From
> there, I want to go through
"Edward Diener No Spam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Thinking in Java or C++" as opposed to Python does not mean anything to me
> as a general
> statement. I am well aware of the difference between statically and
> dynamically typed
> languages but why this
Yeah, I got it working with tarfile. Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
>> For example: the overloading of assignment operators, casting
>> operators, copy constructors and the like that, and the fact that
>> one of them is possibly chosen in absence of the other.
>
> Isn't the overloading concept an effect of type strength? In Java,
> you'd have to overload them too.
Diez B. Roggisch wrote:
> Paul Rubin schrieb:
>> "Nick Vatamaniuc" <[EMAIL PROTECTED]> writes:
>>> Python does not _need_ a component model just as you don't _need_ a RAD
>>> IDE tool to write Python code. The reason for having a component model
>>> or a RAD IDE tool is to avoid writing a lot of bo
Gasten wrote:
> Rob Wolfe wrote:
> > > while running:
> > > key_command = game.mainwin.getch()
> >
> > # I've moved erasing messages here
> > game.msg.ereasMsg()
>
> Man... I didn't even think of that. It's embarassing. Thanks. It works
> perfect now. Again, thanks.
Steve Holden wrote:
> Diez B. Roggisch wrote:
> [...]
>>> Just the same, one can use IronPython to call components written in
>>> other languages. And, I believe, vice versa.
>>
>>
>> Sure, as I can do it in jython. But the key point is: can your ordinary
>> python-object be published as a componen
"Edward Diener No Spam" wrote:
> A RAD IDE tool to hook up components into an application or library (
> module in Python ) has nothing to do with terseness and everything to do
> with ease of programming.
python already has excellent and ridiculously easy-to-program ways to hook
things up. afte
Fredrik Lundh wrote:
> Nick Vatamaniuc wrote:
>
>> At the same time one could claim that Python already has certain
>> policies that makes it seem as if it has a component model.
>
> every Python object surely qualifies as a component, for any non-myopic
> definition of that word, and everything
> bryan rasmussen skrev:
>
> > Well irony originally started out as a very specific concept of the
> > Ancient Greek drama, this is what we nowadays refer to as Dramatic
> > Irony but it is the original irony. Irony then became a literary
> > concept for plot elements similar to Dramatic irony in b
Yes! The question rears its head once again! ;o)
I have done some search and trial and horrors.. (PyLog has vanished?)
But I fail to find anything useful when it comes to do Logic
Programming (e.g. Prolog'ish)
in the context of Python.
And yes, I tend to beleive that I need to!
No, I do not really
Edward Diener No Spam wrote:
> There's no doubt that Python's excellent introspection mechanism allows
> an outside RAD-like tool to inspect the workings of any Python object.
> But that does not make it a component model in my original use of the
> term on this thread. A RAD tool needs to know wh
Michael Sparks wrote:
> Edward Diener No Spam wrote:
>> Michael wrote:
>>> Edward Diener No Spam wrote:
>>>
Has there ever been, or is there presently anybody, in the Python
developer community who sees the same need and is working toward that
goal of a common component model in Pyth
I understand that you can use the imp module to programmatically mimic
the "import xyzzy" statement.
But is there any way to programmatically mimic the "from xyzzy import
*" statment?
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch a écrit :
> The code _generated_ by the java compiler, and the C++ compiler, is not the
> issue here. If you as a programmer can write "a" + "b", its fine. Which is
> a thing to reach in C++, a bazillion of string-classes have been
> written
>
>
> and in C++, you can do:
>
>
Ray wrote:
>
> So, what is your main concern here that 2.1 doesn't address? Because if
> your concern is that you're using a dead thing as your environment,
> it's rising from the dead. But if your concern is that you want to use
> features in Python 2.4 in Jython, might as well look for other
>
> There's no doubt that Python's excellent introspection mechanism allows
> an outside RAD-like tool to inspect the workings of any Python object.
> But that does not make it a component model in my original use of the
> term on this thread. A RAD tool needs to know what properties and events
>
I believe some work has been down in pypy to bring logic programming to python.
You might ask pypy-dev
Google leads to
http://codespeak.net/pypy/dist/pypy/doc/howto-logicobjspace-0.9.html
--
http://mail.python.org/mailman/listinfo/python-list
Claus Tondering wrote:
>I understand that you can use the imp module to programmatically mimic
> the "import xyzzy" statement.
"imp" sounds like overkill for that purpose; the usual way is do do that is to
explicitly call __import__:
xyzzy = __import__("xyzzy")
> But is there any way to pro
Claus Tondering wrote:
> I understand that you can use the imp module to programmatically mimic
> the "import xyzzy" statement.
>
> But is there any way to programmatically mimic the "from xyzzy import
> *" statment?
>
See the docs for __import__().
I think imp is pretty much dead nowadays.
reg
Gabriel, Peter:
Many thanks for your clear answers!!
Best regards.
Vizcayno
--
http://mail.python.org/mailman/listinfo/python-list
> While I understand dynamic typing, I still think it is possible to
> create attributes in a Python component model which could tell a RAD
> tool what type the attribute will encompass for the purpose of
> properties and events. Obviously a "name, type" tuple, among other
> possible information wo
1 - 100 of 251 matches
Mail list logo