PDA

View Full Version : Algorithms textbooks in Python?



Paul Miller
July 27th, 2008, 12:00 AM
Does anyone happen to know of any good algorithms textbooks (preferably freely available) using Python? I am actually sort of hoping the answer is "no," because I am in the process of writing one. :)

What do folks think of the prospect of a new textbook at the advanced undergraduate level in algorithms using Python?

Thanks!

Paul

Kadrus
July 27th, 2008, 12:13 AM
That will be good :-).
I found this book though: Data Structures and Algorithms
with Object-Oriented Design Patterns in Python.

Wybiral
July 27th, 2008, 12:22 AM
The language doesn't matter that much. Most books use pseudocode to express the algorithms, as the actual implementations shouldn't matter.

slavik
July 27th, 2008, 12:49 AM
The language doesn't matter that much. Most books use pseudocode to express the algorithms, as the actual implementations shouldn't matter.
QFT and I would suggest taking a book and simply writing Python examples.

DirtDawg
July 27th, 2008, 01:06 AM
I, for one, think this is a great idea. As a hobbyist, I really only understand Python with any depth. Also, I've been looking for a book about algorithms and something with some concrete examples I can run and observe would be great.

Mordred
July 27th, 2008, 11:54 AM
Don't know books about algorithms in python. But as already said, it doesn't really matter what programming language the examples are written in.
You should be able to understand them and translate them to python if you like.

I particularly like this book on algorithms:

http://www.amazon.com/Algorithms-Parts-1-4-Fundamentals-Structure/dp/0201350882

It is also available in C and Java