473,406 Members | 2,336 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

python object model diagram


anyone out there know where i might find a python object model diagram?

cheers.

-a
--
================================================== =============================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze. --Nagarjuna
================================================== =============================

Sep 9 '05 #1
5 2396
Ara.T.Howard wrote:

anyone out there know where i might find a python object model diagram?


Python is a programming language; they don't have object model diagrams.

Or maybe you're referring to the Python *source* code? That's in C,
which isn't object oriented and wouldn't have an object model diagram
either.

What is it you really want?

-Peter
Sep 9 '05 #2
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html
http://www.jython.org/docs/javadoc/overview-tree.html

, there's pictures of method resolution order in Python Nutshell, (but
I don't think that's what he's looking for.)

Ara.T.Howard wrote:
anyone out there know where i might find a python object model diagram?


Sep 10 '05 #3

I think he's looking for diagrams of the batteries-included modules and
classes.
My guess is that he thinks there's a set of "framework" classes that is a
lot deeper and class-ier than it is, similar to what you'd find in C++, C#,
Java, etc.

So, OP - who won the guessing game :)

m

"gene tani" <ge*******@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html
http://www.jython.org/docs/javadoc/overview-tree.html

, there's pictures of method resolution order in Python Nutshell, (but
I don't think that's what he's looking for.)

Ara.T.Howard wrote:
anyone out there know where i might find a python object model diagram?

Sep 10 '05 #4
On Fri, 9 Sep 2005, gene tani wrote:
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html
this is along the lines of what i was asking alright.
http://www.jython.org/docs/javadoc/overview-tree.html


can one assume this hierarchy maps well to the actual python/c one? i'd
imagine it's close at least...

thanks for the links!

regards.

-a
--
================================================== =============================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze. --Nagarjuna
================================================== =============================

Sep 10 '05 #5
gene tani wrote:
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html


Hmm... isn't that just a diagram of one guy's set of classes (Bruce, who
wrote a book about data structures apparently), not of anything
particularly specific to Python. For example, standard Python certainly
doesn't have any class called MultisetAsLinkedList.

But you could be right that he's looking for a class hierarchy diagram.
If so, the question is still "of what classes?".

-Peter
Sep 10 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Ajay | last post by:
hi! can you call a Python application from a Java program? does this require any additional package to be installed? thanks cheers
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 241 open ( -6) / 2622 closed (+26) / 2863 total (+20) Bugs : 764 open ( +6) / 4453 closed (+38) / 5217 total (+44) RFE : 150 open...
3
by: Ron Guerin | last post by:
The New York Linux User's Group invites you to a special presentation by Alex Martelli of Google, on the Python Object Model. This presentation will be held at P.J. Clarke's Sidecar, rather than...
0
by: Ron Guerin | last post by:
(date and time inadvertently omitted last time. sorry!) The New York Linux User's Group invites you to a special presentation by Alex Martelli of Google, on the Python Object Model. This...
30
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered...
16
by: Roman Susi | last post by:
Hi! Out of curiosity, how do I draw functions outside classes with UML? How module could be drawn in this case? More theoretical question is if I create classes on the fly, how UML can...
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
5
by: Svenn Are Bjerkem | last post by:
On Jul 23, 1:03 pm, christopher.saun...@durham.ac.uk (c d saunter) wrote: As a start I want to parse VHDL which is going to be synthesised, and I am limiting myself to the entities and the...
0
by: Maric Michaud | last post by:
Le Tuesday 16 September 2008 14:47:02 Marco Bizzarri, vous avez écrit : It is not about QT, it is about MVC. In MVC, code which implement the model should be completely ignorant of the libraries...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.