Great, thank you. When I ran it in the command prompt it worked fine. I noticed that the first column needs to be "pk" with rows starting with integers.
On Nov 13, 11:24 pm, Karen Tracey <[email protected]> wrote: > On Fri, Nov 13, 2009 at 10:57 PM, Zeynel <[email protected]> wrote: > > Thanks, I tried but this did not work either: > > > >>> csv2json.py sw.csv wkw1.Lawyer > > > File "<stdin>", line 1 > > csv2json.py sw.csv wkw1.Lawyer > > ^ > > SyntaxError: invalid syntax > > You need to run the .py script from an OS shell (command prompt), not from > within a Python shell. > > Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=.

