On Mon, 13 Aug 2012 22:12:48 -0700, mullapervez wrote:
> Hi,
> I wanna call perl script in HTML form n store that data in DB using
> Python.
> How can i do this.......??
> Please help me
Okay, let me give you some general advice first, then some programming advice
If your question looks like you have put no thought into the question, you will get answers that also have no thought put into them.
Try to write proper English sentences. We will make allowances for non-
native English speakers, and simple typos, but if u cnt b bothrd 2 rite gd we cnt b bothrd 2 answr gd ethr.
To solve your programming problem, break it up into smaller pieces:
1) write some code to get a perl script from some HTML;
2) write some more code to take a perl script and run it, collecting the results;
3) write some more code to take those results and put them into a database;
4) finally write some code to put the first three pieces together.
Do you need help on any of these? If so, please tell us:
- What is your experience with Python? Complete newbie, beginner, intermediate, advanced, expert, guru. Do you know any other programming languages?
On Mon, 13 Aug 2012 23:21:34 -0700, Pervez Mulla wrote:
> I wanna call perl objects using Python . I checked in internet ,I can
> make use of inline function for this, But in HTML......??
You need to explain more about your problem, because I don't understand what you want to do in detail.
On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, Pervez Mulla wrote:
> Hi,
> I wanna call perl script in HTML form n store that data in DB using Python.
> How can i do this.......??
> Please help me
> Thank you
> Pervez
On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, Pervez Mulla wrote:
> Hi,
> I wanna call perl script in HTML form n store that data in DB using Python.
> How can i do this.......??
> Please help me
> Thank you
> Pervez
On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, Pervez Mulla wrote:
> Hi,
> I wanna call perl script in HTML form n store that data in DB using Python.
> How can i do this.......??
> Please help me
> Thank you
> Pervez
On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, Pervez Mulla wrote:
> Hi,
> I wanna call perl script in HTML form n store that data in DB using Python.
> How can i do this.......??
> Please help me
> Thank you
> Pervez
Hey Steven ,
Thank you for your response,
I will in detail now about my project,
Actually the project entire backend in PERL language , Am using Django framework for my front end .
I have written code for signup page in python , which is working perfectly .
In HTml when user submit POST method, it calling Python code ....Instead of this I wanna call perl script for sign up ......
below in form for sign up page in python ....
form.py
from django import forms
from django.contrib.auth.models import User
from django.forms import ModelForm
from user_profile.models import Profile
> Actually the project entire backend in PERL language , Am using Django framework for my front end .
> I have written code for signup page in python , which is working perfectly .
> In HTml when user submit POST method, it calling Python code ....Instead of this I wanna call perl script for sign up ......
> below in form for sign up page in python ....
Good that's finally an explanation, so the question you can ask google
was "how do I call an external process from Python",
which has absolutely nothing to with HTML, and is very easy to find
out (hint: subprocess).