Tuesday, February 9, 2016

Re: mathematical function and django connect

I think you want to show  a form with a text input where the user could insert some input eg. math equation to sent to the server. In the server you what to get the input and use it in the standard input of your script, in your script you made what you want (included input validation)  finally the view sent to template the standard output of your script.


If it is something like that you need to used popen  to call your script or used a linux pipe to connect programs or other approach if you script is in Python

El martes, 9 de febrero de 2016, Xristos Xristoou <saxri89@gmail.com> escribió:
>
> THNX for response but that toturial not answer on my questions
> Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε:
>>
>> hello,
>>
>> i create some python mathematical function on python idle,
>> i want to create website where the user import value numbers on the function
>> and take the results from that.
>> question one,how to connect my mathematical function on the django?
>> question two,how to connect input and output from the scipts in the website ?
>> the second question i ask because input and output from the function is a dynamic define from the user
>>
>>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f42b86ac-3fc5-4336-b9f7-dc950d069702%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
"La utopía sirve para caminar" Fernando Birri



--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAG%2B5VyNq-CFWnbLhp%2BCCD4oq527aS7_v-jEq3cNh7AO6O02Vmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment