Hey,

If you can predict what Python libraries you will depend on, then use Python 3 if those libraries are already ported to it.

If not, then use Python 2. Python 2.7 is the current (and almost certainly the last ever) 2.x version.

GraphVis is good for visualising graphs. It produces diagrams like this:
http://www.graphviz.org/Gallery.php

There are several Python bindings or wrappers for GraphViz, four are listed here:
http://www.graphviz.org/Resources.php

Best of luck,

    Jonathan



On 24/01/2011 21:04, Russell Cumins wrote:
Hi Sebastian,

As far as I am aware the Python 3.x series is where the development of the language is going, The devs specifically broke backwards compatibility in order to tidy up the language. What this means is that there are loads of Python libraries that will not work with it or have not been ported to it.

I would recommend trying Python 2.6 along with the corresponding Pygame release for that version. As it just works and is fairly simple to learn.

Pygame
http://www.pygame.org/download.shtml

Kind Regards,

Russell Cumins

On 24 January 2011 19:27, Sebastian Komianos <seb...@nerdvana.gr <mailto:seb...@nerdvana.gr>> wrote:

    Good evening everyone,

    I am a newcomer to Python and I am using it for my dissertation
    (not a PhD, just a Bachelor! :)) project.

    I've reached the point where I need to create a few very basic
    undirected graphs. I spent the last hour or so searching online
    but have so far failed to find a library that works with Python 3.
    NetworkX (http://networkx.lanl.gov/index.html) looked great and is
    quite popular from what I've gathered but its drawing module is
    not Python 3 compatible. Which is a pity because all I wanted is
    some very very basic graphs. All the other libraries I've found so
    far either don't support drawing or are extremely complex for my
    needs.

    Now, maybe the solution is to use Python 2.6 instead. Before
    starting working on my project I knew nothing about Python, which
    is one of the reasons I chose it over, say, Java, and thought that
    the 3rd version is the way to go. Is it not?

    Thank you very much for your time in advance,


    ---
    Sebastian Komianos
    http://about.me/sebkom
    http://twitter.com/sebkom


    _______________________________________________
    python-uk mailing list
    python-uk@python.org <mailto:python-uk@python.org>
    http://mail.python.org/mailman/listinfo/python-uk



_______________________________________________
python-uk mailing list
python-uk@python.org
http://mail.python.org/mailman/listinfo/python-uk

--
Jonathan Hartley      Made of meat.      http://tartley.com
tart...@tartley.com   +44 7737 062 225   twitter/skype: tartley


_______________________________________________
python-uk mailing list
python-uk@python.org
http://mail.python.org/mailman/listinfo/python-uk

Reply via email to