The tricky part here is providing the input for the interactive tool. For shell scripts there is a software called expect, you may want to look for Python alternatives. Of course, if this interactive tool reads sequential input from stdin and sends output to stdout, there are much easier solutions, as in this case you can simply use a subprocess (which in itself can be tricky, if the tool is not well tested for malicious input). On 12 May 2015 16:59, "SUBHABRATA BANERJEE" <subhabrata.bane...@gmail.com> wrote:
> Dear Group, > > I want to integrate an interactive Python code, (it takes user input, > processes input and gives output), with Django. > I am new to Django, using Python2.7.9 on Windows 7 Professional. > > I am researching on it, but as it is a room for Django experts, I am > trying to post this > question, if anyone may kindly suggest how may I proceed? An example or > web based tutorial would be great. > > Regards, > Subhabrata Banerjee. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/10699b8a-3e40-42e6-a131-85d78e55a5ec%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/10699b8a-3e40-42e6-a131-85d78e55a5ec%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBUJoAND1Yx6Skm3BVY6Fn4xaVprLDfZqQs-5VSqJk777%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.