Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94760
| Return-Path | <cameron@cskk.homeip.net> |
|---|---|
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:code': 0.07; 'subject:file': 0.07; 'cc:addr:python-list': 0.09; 'behave': 0.09; 'python': 0.10; 'file,': 0.15; '"file': 0.16; '.py': 0.16; "computer's": 0.16; 'executable.': 0.16; 'file?': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'idle,': 0.16; 'idle.': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'wrote:': 0.16; 'solution.': 0.18; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'issue.': 0.20; 'posted': 0.21; 'cheers,': 0.22; 'file.': 0.22; 'cc:no real name:2**0': 0.22; 'downloaded': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; "doesn't": 0.26; 'question': 0.27; 'fine': 0.28; 'invoke': 0.29; 'windows,': 0.29; "i'm": 0.30; 'code': 0.30; 'run': 0.33; 'problem': 0.33; 'adjust': 0.33; 'idle': 0.33; 'received:com.au': 0.33; 'worked': 0.34; 'running': 0.34; 'saved': 0.35; 'but': 0.36; 'possible': 0.36; 'subject:work': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'someone': 0.38; 'files': 0.38; 'does': 0.39; 'subject:the': 0.39; "didn't": 0.39; 'save': 0.60; 'your': 0.60; 'john': 0.61; 'believe': 0.66; 'cameron': 0.66; 'answer.': 0.72; 'sounds': 0.76; 'click': 0.76 |
| Date | Thu, 30 Jul 2015 12:06:33 +1000 |
| From | Cameron Simpson <cs@zip.com.au> |
| To | john <johnreysecoya@gmail.com> |
| Cc | python-list@python.org |
| Subject | Re: My code won't work if I double click the saved file |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii; format=flowed |
| Content-Disposition | inline |
| In-Reply-To | <04881038-a14e-4469-be33-7fcd77496f67@googlegroups.com> |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| References | <04881038-a14e-4469-be33-7fcd77496f67@googlegroups.com> |
| X-Optus-CM-Score | 0 |
| X-Optus-CM-Analysis | v=2.1 cv=ItbjC+Lg c=1 sm=1 tr=0 a=7VRakydLWw4CnqwyGz1TSg==:117 a=7VRakydLWw4CnqwyGz1TSg==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=vrnE16BAAAAA:8 a=yEdEr6MRgwAA:10 a=kj9zAlcOel0A:10 a=zOBTXjUuO1YA:10 a=pGLkceISAAAA:8 a=uPZiAMpXAAAA:8 a=x7YYPoOObfMvrmk3piIA:9 a=CjuIK1q_8ugA:10 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1085.1438223859.3674.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1438223859 news.xs4all.nl 2855 [2001:888:2000:d::a6]:55822 |
| X-Complaints-To | abuse@xs4all.nl |
| Path | csiph.com!usenet.pasdenom.info!news.stben.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
| Xref | csiph.com comp.lang.python:94760 |
Show key headers only | View raw
On 29Jul2015 00:20, john <johnreysecoya@gmail.com> wrote:
>I have windows 8 running on my computer and I think I downloaded python 2 and 3 simultaneously or I think my computer has built in python 2 and I downloaded python 3. And now when I ran my code in IDLE, the code works fine but when I save my program and double click the save file, it will run but it doesn't worked like it used to work in IDLE.
>
>Can someone explain the possible problem I'm currently facing?
>
>I just want my program to run perfectly in both IDLE and when I double click the saved file.
>
>I posted my question in stackoverflow but I didn't find an answer.
>
>http://stackoverflow.com/questions/31692156/i-think-my-computer-has-built-in-python-2-and-i-installed-python-3
This sounds like what is known as a "file association" issue. Your computer's
desktop is perhaps associating .py files with the python2 executable. I do not
use Windows, but I believe you can adjust these associations.
However, the first question (to verify that this is the issue) is: if you
deliberately invoke python2 and execute your code with it, does it behave the
same way as when you currently double click on the file?
Cheers,
Cameron Simpson <cs@zip.com.au>
The mere existence of a problem is no proof of the existence of a solution.
- Yiddish Proverb
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
My code won't work if I double click the saved file john <johnreysecoya@gmail.com> - 2015-07-29 00:20 -0700 Re: My code won't work if I double click the saved file Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-29 21:06 +0100 Re: My code won't work if I double click the saved file Cameron Simpson <cs@zip.com.au> - 2015-07-30 12:06 +1000 Re: My code won't work if I double click the saved file Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-30 09:49 +0100
csiph-web