Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27962 > unrolled thread
| Started by | Pervez Mulla <mullapervez@gmail.com> |
|---|---|
| First post | 2012-08-26 23:20 -0700 |
| Last post | 2012-08-27 11:05 -0400 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
Calling External (Perl)Script in Python Pervez Mulla <mullapervez@gmail.com> - 2012-08-26 23:20 -0700
Re: Calling External (Perl)Script in Python Ben Finney <ben+python@benfinney.id.au> - 2012-08-27 17:01 +1000
Re: Calling External (Perl)Script in Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-08-27 11:05 -0400
| From | Pervez Mulla <mullapervez@gmail.com> |
|---|---|
| Date | 2012-08-26 23:20 -0700 |
| Subject | Calling External (Perl)Script in Python |
| Message-ID | <fa5c51df-24dc-48a6-b3d6-777df211e5f6@googlegroups.com> |
Hi, I am trying to call perl script in my python view.py and store that data in logfile .... On shell I am able to display data. I wanna call that data on logfile , How can i do this .......? I wanna call perl objects in python ... So , How can I pass all that stuff in python(firstname, lastname, username).... Please help Pervez
[toc] | [next] | [standalone]
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2012-08-27 17:01 +1000 |
| Message-ID | <873938es2i.fsf@benfinney.id.au> |
| In reply to | #27962 |
Pervez Mulla <mullapervez@gmail.com> writes: > I am trying to call perl script in my python view.py and store that > data in logfile .... To run external programs and connect to their standard streams, use the ‘subprocess’ module <URL:http://docs.python.org/library/subprocess.html> from the Python standard library. -- \ “If we don't believe in freedom of expression for people we | `\ despise, we don't believe in it at all.” —Noam Chomsky, | _o__) 1992-11-25 | Ben Finney
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2012-08-27 11:05 -0400 |
| Message-ID | <mailman.3878.1346079960.4697.python-list@python.org> |
| In reply to | #27962 |
On Sun, 26 Aug 2012 23:20:01 -0700 (PDT), Pervez Mulla
<mullapervez@gmail.com> declaimed the following in
gmane.comp.python.general:
> Hi,
>
> I am trying to call perl script in my python view.py and store that data in logfile ....
I believe this is the third time this summer this question has been
asked... A search of the archives should show it up easily.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web