It's correct.

A recomendation
Try to get out all input() from the function, because django is a server
side so user don't have a standard input.



2016-02-10 15:22 GMT-06:00 Xristos Xristoou <saxr...@gmail.com>:

> if i dont want refactor my scipt,and use this
> def my_math_func(input1,input2):
>       my code
>      return list_output,output
>
> is that correct ?
>
>
> Τη Τρίτη, 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+unsubscr...@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/e168ac17-6786-487a-af7c-30089b5b0798%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e168ac17-6786-487a-af7c-30089b5b0798%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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+unsubscr...@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%2B5VyNsfcx5GkDMqPm-pLwd-838Nje18X70RzGjxGbPsuUjpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to