By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,302 Members | 1,788 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,302 IT Pros & Developers. It's quick & easy.

python's library support

P: n/a
I am a newbie in python, and I have a feeling that python provides less
library support than perl www.cpan.org This seems a big discussion
topic.

I want to know if there is extensive algorithm library support in
python. I know there is a pretty neat module in perl to implement graph
theory. Is there a graph theory module in python?

Thanks,

Feb 4 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Sean wrote:
I am a newbie in python, and I have a feeling that python provides less
library support than perl www.cpan.org This seems a big discussion
topic.

I want to know if there is extensive algorithm library support in
python. I know there is a pretty neat module in perl to implement graph
theory. Is there a graph theory module in python?

Thanks,


Python's standard library is actually quite extensive; it's one of the
language's greatest strengths:

http://www.python.org/doc/2.4.2/lib/lib.html

However, it is perhaps true that it is lacking in the raw algorithm
department. On the subject of graphs, a quick Google search brings up
this nice-looking library:

https://networkx.lanl.gov/

For computationally intensive array manipulation, there's always good
ol' numarray:

http://www.stsci.edu/resources/softw...dware/numarray

The standard library can do quite a lot, and if it fails you, there's
more than likely a third-party library available.

-Kirk McDonald
Feb 4 '06 #2

P: n/a
Sean wrote:
I am a newbie in python, and I have a feeling that python provides less
library support than perl www.cpan.org This seems a big discussion
topic.

I want to know if there is extensive algorithm library support in
python. I know there is a pretty neat module in perl to implement graph
theory. Is there a graph theory module in python?


http://networkx.sourceforge.net

And several others if you google a bit.

--
Robert Kern
ro*********@gmail.com

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Feb 4 '06 #3

P: n/a
Sean wrote:
I am a newbie in python, and I have a feeling that python provides less
library support than perl www.cpan.org This seems a big discussion
topic.

I want to know if there is extensive algorithm library support in
python. I know there is a pretty neat module in perl to implement graph
theory. Is there a graph theory module in python?

Thanks,


You might have a look around at the cheese shop:

http://cheeseshop.python.org/pypi

---J

--
(remove zeez if demunging email address)
Feb 4 '06 #4

P: n/a
Robert Kern>And several others if you google a bit.

Yes:
http://sourceforge.net/projects/pynetwork/

Bye,
bearophile

Feb 4 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.