Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue22820

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:RESTART line with no output
Type:behaviorStage:resolved
Components:Documentation, IDLEVersions:Python 3.6, Python 3.4, Python 3.5, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: terry.reedyNosy List: docs@python, python-dev, r.david.murray, sukari, terry.reedy
Priority:normalKeywords:

Created on2014-11-08 11:23 bysukari, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Messages (4)
msg230845 -(view)Author: Edward Alexander (sukari)Date: 2014-11-08 11:23
Whenever i run my code on Python IDLE editor,the output is as follows:============================== RESTART================================I am a newbie,it seems i cannot move from this point .This is my code:def convert_to_celsius(fahrenheit):    return (fahrenheit - 32) * 5.0 / 9.0convert_to_celsius(80)
msg230853 -(view)Author: R. David Murray (r.david.murray)*(Python committer)Date: 2014-11-08 12:50
Your code doesn't produce any output (ie: there are no print calls).  I don't use Idle myself, but I'm guessing that is why you don't see anything after the restart line.  If that is the case, do you see a place in whatever help or documentation you have read that it would be appropriate to mention this?  (The distinction is that the REPL window automatically prints the return value of whatever you type in, whereas in a program you get output only if you do the print yourself).
msg251485 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2015-09-24 05:40
New changesete7bf0727f7df by Terry Jan Reedy in branch '2.7':Issue#22820: Explain need for *print* when running file from Idle editor.https://hg.python.org/cpython/rev/e7bf0727f7dfNew changeset824cb25448ab by Terry Jan Reedy in branch '3.4':Issue#22820: Explain need for *print* when running file from Idle editor.https://hg.python.org/cpython/rev/824cb25448ab
msg251486 -(view)Author: Terry J. Reedy (terry.reedy)*(Python committer)Date: 2015-09-24 05:42
For anyone who reads the doc, the added explanation should help.
History
DateUserActionArgs
2022-04-11 14:58:10adminsetgithub: 67009
2015-09-24 05:42:59terry.reedysetstatus: open -> closed
versions: + Python 2.7, Python 3.6
messages: +msg251486

assignee:docs@python ->terry.reedy
resolution: fixed
stage: resolved
2015-09-24 05:40:30python-devsetnosy: +python-dev
messages: +msg251485
2014-11-08 12:50:38r.david.murraysetassignee:docs@python
type: crash -> behavior
components: + Documentation
versions: + Python 3.4, Python 3.5, - Python 3.3
nosy: +r.david.murray,docs@python,terry.reedy

messages: +msg230853
2014-11-08 11:23:39sukaricreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp