GIDForums  

Go Back   GIDForums > Computer Programming Forums > Python Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Oct-2005, 04:27
crystalattice's Avatar
crystalattice crystalattice is offline
Aspiring author
 
Join Date: Apr 2004
Location: Japan (again)
Posts: 1,671
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice
Post

Re: Beginning Python Tutorial (Part 5)


I just posted a GID Community blog entitled: Beginning Python Tutorial (Part 5).

Quote:
Python Dictionaries

Next to lists, dictionaries are one of the most useful data types in Python. Python dictionaries are unordered collections of objects, typed to a keyword. Python lists, on the other hand, are ordered collections that use an offset. Because of their construction, dictionaries can replace many "typical" search algorithms and data structures found in C and related languages. read more...

Please let me know what you think.

This is an auto-generated message posted by GIDNetwork™ on behalf of the author.
__________________
Start Programming with Python-A beginner's guide to programming and the Python language.

Interested in pen & paper role playing games from the "golden age" of gaming? Visit Old School Role-Playing Games
  #2  
Old 10-Jan-2017, 10:35
rc_data_sci rc_data_sci is offline
New Member
 
Join Date: Jan 2017
Posts: 1
rc_data_sci is on a distinguished road

Re: Beginning Python Tutorial (Part 5)


@crystallattice

Referring your sentence:

"The previous examples showed keys as string objects, but any non-mutable object (like lists) can be used for a keyword."

...but aren't lists mutable objects?
  #3  
Old 10-Jan-2017, 10:45
crystalattice's Avatar
crystalattice crystalattice is offline
Aspiring author
 
Join Date: Apr 2004
Location: Japan (again)
Posts: 1,671
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice

Re: Beginning Python Tutorial (Part 5)


You are correct. It should have been "tuples", not "lists". However, this whole tutorial is very old. I highly recommend you look at the new material I have created at https://python-ebook.blogspot.com.
__________________
Start Programming with Python-A beginner's guide to programming and the Python language.

Interested in pen & paper role playing games from the "golden age" of gaming? Visit Old School Role-Playing Games
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Beginning Python Tutorial (Part 4) crystalattice Python Forum 0 02-Sep-2005 21:44
Re: Beginning Python Tutorial (Part 3) crystalattice Python Forum 0 16-Aug-2005 02:51
Re: Beginning Python Tutorial (Part 1) crystalattice Python Forum 5 01-Aug-2005 17:14
Re: Beginning Python Tutorial (Part 2) crystalattice Python Forum 2 31-Jul-2005 12:25
[Tutorial] Pointers in C (Part II) Stack Overflow C Programming Language 0 27-Apr-2005 17:36

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:51.


vBulletin, Copyright © 2000 - 2017, Jelsoft Enterprises Ltd.