Dear All,
I am looking for some advice about a design decision. I want to write a
curses-based editor (for OWL ontologies). This should then be usable via ssh,
etc. Ontology files may be large, and quite complex. Current editors (e.g.
Protege) have multiple tabs to cope with this.
The
On 04/27/10 12:19, Dave Angel wrote:
Note also that if you insert or delete from the list while you're
looping, you can get undefined results. That's one reason it's common
to build a new loop, and just assign it back when done. Example would
be the list comprehension you showed earlier.
I
On 4/26/2010 10:19 PM, Dave Angel wrote:
Note also that if you insert or delete from the list while you're
looping, you can get undefined results.
The results are not undefined. They m,ight be unexpected, but that is
due to an invalid assumption.
The behavior is explained in section 7.3
I'm writing a class that inherits the inbuilt dict class and want some
of my own code to run at initialisation, on the other hand, I still
want the original dict.__init__ function to run. Can I ask the class
to run the original __init__ and then my own function at
initialisation automatically? If
On Wed, 28 Apr 2010 07:24:48 am C M Caine wrote:
I'm writing a class that inherits the inbuilt dict class and want
some of my own code to run at initialisation, on the other hand, I
still want the original dict.__init__ function to run. Can I ask the
class to run the original __init__ and then
On Wed, 28 Apr 2010 08:08:12 am Steven D'Aprano wrote:
Some people argue that you must call dict.__init__ even though it
doesn't do anything. Their reasoning is, some day its behaviour might
change, and if you don't call it in your subclass, then your class
may break. This is true, as far as
Steven D'Aprano st...@pearwood.info wrote
On Wed, 28 Apr 2010 07:24:48 am C M Caine wrote:
I'm writing a class that inherits the inbuilt dict class and want
some of my own code to run at initialisation, on the other hand, I
still want the original dict.__init__ function to run. ...
This is
Here is my code, I need to display my float value as a string.
item.set_prix str(float(prix))
Thank You
--
Marc-O. Rompré
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
Oups my posting was too big!!!
On Tue, Apr 27, 2010 at 11:04 PM, Marco Rompré marcodrom...@gmail.comwrote:
Why is none of my items button works In this, I have two files and in
my second file I imported all the function of the first one
Here is my codes and my error code for the two
On 04/28/10 12:35, Marco Rompré wrote:
Here is my code, I need to display my float value as a string.
item.set_prix str(float(prix))
print prix
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
On Tue, Apr 27, 2010 at 10:12 PM, Marco Rompré marcodrom...@gmail.com wrote:
Oups my posting was too big!!!
On Tue, Apr 27, 2010 at 11:04 PM, Marco Rompré marcodrom...@gmail.com
wrote:
Why is none of my items button works In this, I have two files and in
my second file I imported all
11 matches
Mail list logo