Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: psss...I want to move from Perl to Python Date: Fri, 29 Jan 2016 22:08:01 -0500 Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de s8lCFdmMFiNzTSUVzVZ8vA13ot3prSPnuMgptXuA/RFg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'compiler': 0.05; 'mentioned,': 0.07; 'cursor': 0.09; 'grep': 0.09; 'ide': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrong,': 0.09; 'python': 0.10; 'jan': 0.11; 'exception': 0.13; 'output': 0.13; '2016': 0.16; '3:51': 0.16; 'editor,': 0.16; 'ides': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'traceback.': 0.16; 'wrote:': 0.16; 'debugging': 0.18; 'runs': 0.18; 'exceptions': 0.22; 'own.': 0.22; 'am,': 0.23; 'select': 0.23; 'bit': 0.23; 'needed.': 0.23; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; '(it': 0.29; 'perl': 0.29; 'that.': 0.30; 'code': 0.30; 'generally': 0.32; 'usually': 0.33; 'idle': 0.33; 'jump': 0.33; 'traceback': 0.33; 'editor': 0.34; 'file': 0.34; 'something': 0.35; 'there': 0.36; 'lines': 0.36; 'received:71': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'display': 0.37; 'received:org': 0.37; 'integration': 0.38; 'goes': 0.39; 'does': 0.39; 'subject:from': 0.39; 'enough': 0.39; 'to:addr:python.org': 0.40; 'easy': 0.60; 'ever': 0.60; '30,': 0.63; 'click': 0.76; 'received:fios.verizon.net': 0.91; 'subject:want': 0.93 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-71-185-227-36.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102271 On 1/29/2016 3:51 PM, Chris Angelico wrote: > On Sat, Jan 30, 2016 at 7:42 AM, Fillmore wrote: >> - Is there a good IDE that can be used for debugging? all free IDEs for Perl >> suck and it would be awesome if Python was better than that. >> > > Debugging Python code is generally easy enough without an IDE; any > time something goes wrong, you get an exception with a very pretty > traceback. That's usually enough on its own. A little bit of editor > integration can help you jump to the lines mentioned, in the same way > that you might get that with C compiler errors; that's all I've ever > needed. When one runs code from an IDLE editor, output and exceptions go to the IDLE Shell. Right click on a traceback line and select 'Go to file/line' and IDLE will display the file in an IDLE editor (opening it if necessary) and put the cursor on the proper line. (It does the same with grep output.) -- Terry Jan Reedy