Tagged Questions
0
votes
1answer
122 views
Format JSON objects in python
I have json objects in a notepad(C:\data.txt).There are millions of records I just used one record as an example.But I want to see only data on my notepad like:
1 123-567-9876 TEST1 TEST 717-567-9876 ...
0
votes
1answer
136 views
How to skip default encoding done by web.py render or what is the best way to decode it as JSON variable?
I have a python dictionary being passed to javascript in web.py framework. The double quotes in the dict are replaced by special characters and I am unable to get back to original format. Is there any ...
-3
votes
1answer
44 views
How do you format this in Python?These are just 6 records as Json objects
I need to format this string.These are just 6 records of JSON arrays/objects.I need to write a python code to remove all " ,. I want to see only real data in a single row.
Can someone help me with ...
1
vote
0answers
85 views
json decode exception python
Sample server
I have a python script as mentioned below copied to /var/www/cgi-bin folder with permissions set to 775.
#!/usr/bin/env python
print "Content-type: text/plain\n\n";
print ...