Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24990
| References | <5ddf03db-a5b1-4996-b9ce-6447ad89a3df@nw7g2000pbb.googlegroups.com> <jt7aai$bu5$1@dont-email.me> |
|---|---|
| Date | 2012-07-07 08:13 +1000 |
| Subject | Re: stuck in files!! |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1875.1341612834.4697.python-list@python.org> (permalink) |
On Sat, Jul 7, 2012 at 4:21 AM, Alex <foo@email.invalid> wrote: > Chirag B wrote: > >> i want to kno how to link two applications using python for eg:notepad >> txt file and some docx file. like i wat to kno how to take path of >> those to files and run them simultaneously.like if i type something in >> notepad it has to come in wordpad whenever i run that code. > > Text and docx files are not "applications"; you don't "run" them. You > can "open" them with applications like Notepad or Microsoft Word, and > you can open two files simultaneously in two different applications (or > in two windows within the same application). > > Other than that, I don't understand what you mean by "link" them or > what it means for something typed in Notepad to "come in wordpad." The nearest I can think of has nothing to do with Python, but all to do with the applications concerned: DDE. Back in the early 90s it was a much-touted technology on OS/2 - you could fire up Mesa (spreadsheet), hotlink a particular group of cells to a table in DeScribe, edit one and see the other change instantly. It was pretty cool for its day. How you'd go about implementing it today I don't know, but there's a few options available. Really depends on what the OP actually wants to achieve: Duplicate typing, shared text, simultaneous editing? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
stuck in files!! Chirag B <chirag.b.93@gmail.com> - 2012-07-06 04:53 -0700
Re: stuck in files!! Thomas Jollans <t@jollybox.de> - 2012-07-06 16:56 +0200
Re: stuck in files!! andrea crotti <andrea.crotti.0@gmail.com> - 2012-07-06 17:46 +0100
Re: stuck in files!! "Alex" <foo@email.invalid> - 2012-07-06 18:21 +0000
Re: stuck in files!! Chris Angelico <rosuav@gmail.com> - 2012-07-07 08:13 +1000
Re: stuck in files!! alex23 <wuwei23@gmail.com> - 2012-07-08 18:45 -0700
csiph-web