Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 07-11-2019, 09:50 AM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 105,238

Rep: Reputation: 117Reputation: 117
LXer: Working With Dictionaries In Python

Published at LXer:

We already know how to create lists, they are comma separated values. Dictionaries are also comma separated key-value pairs. Dictionaries in python are declared very similar to JSON. Have a look at the following code.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Python Advanced Dictionaries LXer Syndicated Linux News 0 11-19-2016 08:09 AM
LXer: Python Dictionaries LXer Syndicated Linux News 0 11-18-2016 06:12 AM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
Accessing nested dictionaries in Python DiagonalArg Programming 13 08-20-2005 08:37 PM
Python function arguments are dictionaries? johnMG Programming 1 07-24-2004 06:29 PM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration