Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!131.211.84.183.MISMATCH!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python,': 0.02; 'python': 0.09; 'subject:files': 0.09; 'typed': 0.09; 'sat,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mesa': 0.16; 'nearest': 0.16; 'subject:stuck': 0.16; 'wrote:': 0.17; 'alex': 0.17; 'duplicate': 0.17; 'implementing': 0.17; '(or': 0.18; 'windows': 0.19; 'code.': 0.20; 'file.': 0.20; 'received:209.85.214.174': 0.21; 'txt': 0.22; 'header:In-Reply- To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'options': 0.27; 'run': 0.28; 'cells': 0.29; 'file': 0.32; 'could': 0.32; 'text,': 0.33; 'to:addr:python-list': 0.33; 'that,': 0.34; 'received:google.com': 0.34; 'text': 0.34; 'path': 0.35; 'open': 0.35; 'table': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'really': 0.36; 'but': 0.36; 'depends': 0.36; 'available.': 0.37; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'mean': 0.38; 'some': 0.38; 'nothing': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'link': 0.60; 'back': 0.62; 'fire': 0.62; 'day.': 0.63; 'different': 0.63; 'within': 0.64; 'jul': 0.65; 'today': 0.67; 'wat': 0.84; 'instantly.': 0.91; 'subject:!!': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6pFiro2cTgcjXlckyxGqFArEV9EzA6OQFn5JX4Jxazk=; b=DvjmkrmHMN/1+m2HNXDk7Tl1M+Zq+x9qpr80S47BZGg+m5UIsHGEo4xsRBpxqwXO2i Ie1R5fTsA0vS3cjQ+4HeMbMYH8fwyXLS9J8VtPCO0ifjU+CFUknhPW/IdXEcT0Kl5SBx yX8Ylfx4mT/MlB7aiwURjam8NjaHc+BQ9S+i8ZMMUGQ/E2ghXQtXrmDZu0SNsbPeFMCv JIfXwYyHVxMsr3/LhCxSUyxilR4nb0Nj0YvXsEeMs3zlRT4tZurjhV/JxiINicsvHZUZ Dh5B2YDfah+5C2HRFVBmk9NZTm5r06qJzECxEaWmm0N9N0asPO9ByK2u2ira3ZTQRYV1 cYRQ== MIME-Version: 1.0 In-Reply-To: References: <5ddf03db-a5b1-4996-b9ce-6447ad89a3df@nw7g2000pbb.googlegroups.com> Date: Sat, 7 Jul 2012 08:13:51 +1000 Subject: Re: stuck in files!! From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341612834 news.xs4all.nl 6943 [2001:888:2000:d::a6]:37498 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24990 On Sat, Jul 7, 2012 at 4:21 AM, Alex 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