Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82338
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.83.MISMATCH!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:text': 0.05; 'subject:Python': 0.06; 'subject:file': 0.07; 'debugger': 0.09; 'method,': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'language.': 0.14; 'mostly': 0.14; 'both,': 0.16; 'debugger.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'removed,': 0.16; 'win7': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'trying': 0.19; 'pieces': 0.19; 'thu,': 0.19; 'working.': 0.19; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'error': 0.23; "aren't": 0.24; 'removed.': 0.24; 'simpler': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'script': 0.25; 'least': 0.26; 'header:In- Reply-To:1': 0.27; 'dec': 0.30; 'heading': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'getting': 0.31; 'usually': 0.31; 'bunch': 0.31; 'strip': 0.31; 'figure': 0.32; 'run': 0.32; 'says': 0.33; 'maybe': 0.34; 'could': 0.34; 'problem': 0.35; "can't": 0.35; 'created': 0.35; 'tool': 0.35; 'something': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'interaction': 0.36; 'subject:data': 0.36; 'too': 0.37; 'sometimes': 0.38; 'thank': 0.38; 'issue': 0.38; 'pm,': 0.38; 'enough': 0.39; 'how': 0.40; 'even': 0.60; 'new': 0.61; "you're": 0.61; 'back': 0.62; "you'll": 0.62; 'taking': 0.65; 'size.': 0.65; 'between': 0.67; 'brand': 0.72; 'cut': 0.74; 'conquer.': 0.84; 'disappears': 0.84; 'divide': 0.84; 'isolate': 0.84; 'missing.': 0.84; 'remove.': 0.84; 'working,': 0.84; 'to:none': 0.92; 'technique': 0.93 |
| 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:cc :content-type; bh=ee9LzpY6pVAicObqbACrkK6KcOyvCn8d6fBO2p4HGyU=; b=GeJFiW74BoWb2zTGnPVa4uHA9r19wUBu5utweXP6J4+fhJkcB3TSLowGDfWkAQ8AdJ Uk1DjpWHNqiETTgOmPlp43v6LiIVaItYAN+LarBHfjM0ttk4DzrVSUhC9B+y9AQmy0yV 4mHVjyzqyd6iuu+/QQTJn5wXtDx9MQw/2x9ArEfYgVP0ZMOHo8D8MyJsmGiHqj3TBJEY cEuqsxzwviHxas3f8YneHpYbsQ+/ET9tTBuWeR/0Xwa+gupFoevO7vt+I+OB9vfHficL Cot2YjTd2YM6eGZuJS8w2OS41uHkRkjovkzXHci1DRamGb3IQXMCSAlIOG/eTYmISfWk eJmA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.62.104 with SMTP id x8mr29651212igr.2.1418272538288; Wed, 10 Dec 2014 20:35:38 -0800 (PST) |
| In-Reply-To | <6ed2a699-51ee-4e7b-9ae0-d2082fa4dc08@googlegroups.com> |
| References | <fc9502a3-ee87-4dfc-ab03-a39edd2e45ca@googlegroups.com> <mailman.16832.1418253072.18130.python-list@python.org> <6da205c3-f6b9-411a-b880-0b0386ea09ac@googlegroups.com> <mailman.16833.1418262301.18130.python-list@python.org> <2e1114f0-2f7e-4397-9160-941bdfba01af@googlegroups.com> <mailman.16838.1418270105.18130.python-list@python.org> <6ed2a699-51ee-4e7b-9ae0-d2082fa4dc08@googlegroups.com> |
| Date | Thu, 11 Dec 2014 15:35:38 +1100 |
| Subject | Re: Python script isn't producing text in data file |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.16840.1418272541.18130.python-list@python.org> (permalink) |
| Lines | 26 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1418272541 news.xs4all.nl 2954 [2001:888:2000:d::a6]:46007 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 5774 |
| X-Received-Body-CRC | 3853302472 |
| Xref | csiph.com comp.lang.python:82338 |
Show key headers only | View raw
On Thu, Dec 11, 2014 at 3:23 PM, Docfxit <docfxit@gmail.com> wrote: > Thank you all for the encouragement to make it smaller. > I don't know enough about Python to figure out how to isolate where the problem is happening. > > Maybe it would be best If I could get some help in getting a debugger working so I can try to work through the script one line at a time. I have started to install a debugger but I can't get it working. > I'm working in Win7 Pro. I'm trying to get Winpdb working. > I have an error when I run the debugger. It says winpdb is missing. A debugger is a nice tool when you can get it working, but at the moment, it sounds like you're heading down the path of yak shaving. I would recommend taking a much MUCH simpler approach: divide and conquer. Strip out a bunch of code, try the program again. If it still has the problem, you know the problem wasn't in the code you just removed. If it doesn't, you know the problem _was_ in that code. (If you just created a brand new problem, back out the change and try something different.) By this method, you can usually cut a problem down to size. Sometimes you'll find that the problem disappears when any of several pieces of code is removed, which means it's some sort of interaction between them; in that case, keep both, but see how much other code you can remove. As long as the issue you're seeing is at least mostly deterministic, this sort of technique will help you to pin it down, even if you aren't too familiar with the language. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python script isn't producing text in data file Docfxit <docfxit@gmail.com> - 2014-12-10 15:04 -0800
Re: Python script isn't producing text in data file Docfxit <docfxit@gmail.com> - 2014-12-10 15:07 -0800
Re: Python script isn't producing text in data file Chris Angelico <rosuav@gmail.com> - 2014-12-11 10:11 +1100
Re: Python script isn't producing text in data file sohcahtoa82@gmail.com - 2014-12-10 17:32 -0800
Re: Python script isn't producing text in data file Chris Angelico <rosuav@gmail.com> - 2014-12-11 12:44 +1100
Re: Python script isn't producing text in data file Steven D'Aprano <steve@pearwood.info> - 2014-12-11 02:41 +0000
Re: Python script isn't producing text in data file Chris Angelico <rosuav@gmail.com> - 2014-12-11 13:50 +1100
Re: Python script isn't producing text in data file Docfxit <docfxit@gmail.com> - 2014-12-10 19:30 -0800
Re: Python script isn't producing text in data file Chris Angelico <rosuav@gmail.com> - 2014-12-11 14:40 +1100
Re: Python script isn't producing text in data file Ben Finney <ben+python@benfinney.id.au> - 2014-12-11 14:52 +1100
Re: Python script isn't producing text in data file Docfxit <docfxit@gmail.com> - 2014-12-10 20:23 -0800
Re: Python script isn't producing text in data file Chris Angelico <rosuav@gmail.com> - 2014-12-11 15:35 +1100
Re: Python script isn't producing text in data file Ben Finney <ben+python@benfinney.id.au> - 2014-12-11 15:38 +1100
Re: Python script isn't producing text in data file Grant Edwards <invalid@invalid.invalid> - 2014-12-11 05:22 +0000
Re: Python script isn't producing text in data file Steven D'Aprano <steve@pearwood.info> - 2014-12-11 05:18 +0000
Re: Python script isn't producing text in data file Tim Golden <mail@timgolden.me.uk> - 2014-12-11 06:07 +0000
Re: Python script isn't producing text in data file alister <alister.nospam.ware@ntlworld.com> - 2014-12-11 09:16 +0000
Re: Python script isn't producing text in data file Peter Otten <__peter__@web.de> - 2014-12-11 10:30 +0100
Re: Python script isn't producing text in data file Docfxit <docfxit@gmail.com> - 2014-12-11 13:27 -0800
Re: Python script isn't producing text in data file Grant Edwards <invalid@invalid.invalid> - 2014-12-11 05:19 +0000
Re: Python script isn't producing text in data file alister <alister.nospam.ware@ntlworld.com> - 2014-12-11 09:06 +0000
Re: Python script isn't producing text in data file Steven D'Aprano <steve@pearwood.info> - 2014-12-11 02:47 +0000
Re: Python script isn't producing text in data file Docfxit <docfxit@gmail.com> - 2014-12-10 19:47 -0800
csiph-web