On 5/2/2009 10:01 AM, pallavi wrote:
> Dear Mr.George,
> 
> Thank a lot for your help.
> But, in the python program "science.py"  there are several  functions
> that do some calculations by reading the values in the two input
> files.
> 
> your code:
>        > from science import my_function
>        >
>        > def science_service(request):
> 
> but how can i define and import all the modules in "my_function" as
> you said.
> Or can I directly paste the complete python code under my_function. I
> am confused as I am completely new this field.
> 
> May I request you to let me know if it is possible to make my big
> python program as an executable (science.exe or some thing) and
> directly call it in the views.py for example.
> Your help will be highly appreciated. Eagerly looking forward for your
> help.
> Thank you. Best regards -Pallavi

Hi Pallavi,

I don't have the time or the inclination to teach you Python. You should 
learn that on your own. There are excellent resources on the web to help 
you with that.

Also you should keep a group discussion thread going by replying to the 
group, not to me directly.

-- 
George

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to