Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: change dictionary value

Python: change dictionary value
{filelink=16004}

con_str = {"host":"127.0.0.1", "database":"mysql", "user":"root", "pwd":"mysql"}
con_str['host']='localhost'
print con_str

Users who found this page were searching for:

  • how to change values in a dictionary in python
  • change value in dictionary python
  • python dictionay value change
  • python change numerical value in dictionary
  • how to change a value in dictionary python
  • python dictionary change value
  • python change dict value
  • python change values in dictionary
  • changing dictionary values python
  • change dictionary value python

No comments yet.

Leave a Comment