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 <kmtra...@gmail.com> wrote:
> On Fri, Nov 13, 2009 at 10:57 PM, Zeynel <azeyn...@gmail.com> 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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to