Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json data iteration through loop in python #67234

Closed
satyanani40 mannequin opened this issue Dec 13, 2014 · 2 comments
Closed

json data iteration through loop in python #67234

satyanani40 mannequin opened this issue Dec 13, 2014 · 2 comments

Comments

@satyanani40
Copy link
Mannequin

satyanani40 mannequin commented Dec 13, 2014

BPO 23045
Nosy @stevendaprano

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-12-13.05:05:30.291>
created_at = <Date 2014-12-13.04:57:15.947>
labels = ['invalid']
title = 'json data iteration through loop in python'
updated_at = <Date 2014-12-13.05:05:30.289>
user = 'https://bugs.python.org/satyanani40'

bugs.python.org fields:

activity = <Date 2014-12-13.05:05:30.289>
actor = 'steven.daprano'
assignee = 'none'
closed = True
closed_date = <Date 2014-12-13.05:05:30.291>
closer = 'steven.daprano'
components = []
creation = <Date 2014-12-13.04:57:15.947>
creator = 'satyanani40'
dependencies = []
files = []
hgrepos = []
issue_num = 23045
keywords = []
message_count = 2.0
messages = ['232594', '232595']
nosy_count = 2.0
nosy_names = ['steven.daprano', 'satyanani40']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue23045'
versions = []

@satyanani40
Copy link
Mannequin Author

satyanani40 mannequin commented Dec 13, 2014

I have json data in following format
{"message":["frappe","websocerp","erpnext"]}

I want each name (frappe, websocerp, erpnext) in three iteration

after that i can use as
frappe.something.get_data()
websocerp.something.get_data()
erpnext.something.get_data()

@stevendaprano
Copy link
Member

This is a bug tracker for issues in the Python language and standard library, not a service for learning how to program using Python.

If you have an actual bug to report, you should give more detail including the actual code you used, the result you expected, and the result you actually got.

Otherwise you should try asking your question on the python-list@python.org mailing list, the comp.lang.python newsgroup, /r/python on Reddit, StackOverflow, or one of the many other public forums for discussing Python programming issues.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant