Jimmy, Does it NEED to be embedded into the page? I ask because something like this would be a lot easier if you executed server-side, and simply returned the output to the front-end using AJAX.
Would that serve your purpose here, or am I misunderstanding the original question? -- Joey "JoeLinux" Espinosa Software Developer http://about.me/joelinux On Nov 12, 2011 5:32 AM, "jc" <jimmy.case...@gmail.com> wrote: > Hi, > > Is it possible to drop a Python script (around 50 lines) into one of your > django pages? Would this be embedding into the template code? I am > experimenting with doing this but I haven't had any luck in finding out how. > > An example of what I am trying to do is to place a script like this > http://www.goldb.org/**ystockquote.html<http://www.goldb.org/ystockquote.html> > and > see if I can't drop it into a page like this http://demo.** > satchmoproject.com/category/**book/fiction/<http://demo.satchmoproject.com/category/book/fiction/> > and > have it print out the info on the page. > > First thing that comes to mind is once I figure out how to embed the > script, how will I execute it? > > thanks, > jimmy > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/heUngZyYuE8J. > To post to this group, send email to django-users@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=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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=en.