6 Replies - 1041 Views - Last Post: 27 June 2012 - 08:32 PM Rate Topic: -----

#1 smoothedatol412  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 78
  • Joined: 22-May 12

Python Data Structures

Posted 19 June 2012 - 02:05 AM

Is it possible to create data structure with Python, like someone might do with C or Java?
If so, are there any resources or eBooks on the web that might help in the programming task?
Is This A Good Question/Topic? 0
  • +

Replies To: Python Data Structures

#2 Eric115  Icon User is offline

  • coderさん
  • member icon

Reputation: 63
  • View blog
  • Posts: 696
  • Joined: 19-January 09

Re: Python Data Structures

Posted 19 June 2012 - 02:35 AM

It sure is, I am not sure about any ebooks on such a topic, but there is a good tutorial in the python section of this website.
I tend to use dictionaries a lot and when I was starting out with them, I found this tutorial very useful as well.
Hope I could help!

This post has been edited by Eric115: 19 June 2012 - 02:37 AM

Was This Post Helpful? 2
  • +
  • -

#3 smoothedatol412  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 78
  • Joined: 22-May 12

Re: Python Data Structures

Posted 19 June 2012 - 03:07 AM

Thank you for the quick reply,
but I am looking more for programmer defined data structures like Linked List or Binary Trees.
Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6039
  • View blog
  • Posts: 23,436
  • Joined: 23-August 08

Re: Python Data Structures

Posted 19 June 2012 - 03:16 AM

You mean like this tutorial, which I can see right on this page?

Attached Image
Was This Post Helpful? 3
  • +
  • -

#5 smoothedatol412  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 78
  • Joined: 22-May 12

Re: Python Data Structures

Posted 19 June 2012 - 03:37 AM

Yes that would do just fine
Was This Post Helpful? 0
  • +
  • -

#6 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Python Data Structures

Posted 19 June 2012 - 10:31 AM

Also, here's a snippet I made of a Queue class and a Stack Class.

This post has been edited by atraub: 19 June 2012 - 10:38 AM

Was This Post Helpful? 1
  • +
  • -

#7 Akelo  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 96
  • Joined: 12-December 07

Re: Python Data Structures

Posted 27 June 2012 - 08:32 PM

This book is pretty awesome when it comes to data structures in python. I loved it.

http://techbus.safar...n/9780470618295
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1