Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82354
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.roellig-ltd.de!open-news-network.org!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf04.am4!fx21.am4.POSTED!not-for-mail |
|---|---|
| From | alister <alister.nospam.ware@ntlworld.com> |
| Subject | Re: Python script isn't producing text in data file |
| Newsgroups | comp.lang.python |
| 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> |
| User-Agent | Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Lines | 71 |
| Message-ID | <lhdiw.13369$607.464@fx21.am4> (permalink) |
| NNTP-Posting-Host | 82.9.78.47 |
| X-Complaints-To | http://netreport.virginmedia.com |
| X-Trace | 1418289361 82.9.78.47 (Thu, 11 Dec 2014 09:16:01 UTC) |
| NNTP-Posting-Date | Thu, 11 Dec 2014 09:16:01 UTC |
| Organization | virginmedia.com |
| Date | Thu, 11 Dec 2014 09:16:01 GMT |
| X-Received-Body-CRC | 2838231426 |
| X-Received-Bytes | 3493 |
| Xref | csiph.com comp.lang.python:82354 |
Show key headers only | View raw
On Wed, 10 Dec 2014 20:23:56 -0800, Docfxit wrote: > On Wednesday, December 10, 2014 7:55:17 PM UTC-8, Ben Finney wrote: >> Docfxit <docfxit@gmail.com> writes: >> >> > I am happy to paste it into a post. The reason I didn't is because >> > it's very large. The Python script is 1239 lines long. >> >> That's too long to direct us toward, no matter where you put it. >> >> Your task, then, is to construct a *much* smaller and simpler example >> that still demonstrates the behaviour you want explained. >> >> Once you have that, one of two things will be true: >> >> * It will be small and clear enough that we can discuss it here >> usefully. Or >> >> * You will have understood the problem well enough to solve it >> yourself. >> >> Please, construct a Short, Self-Contained, Complete Example >> <URL:http://sscce.org/> of code that exhibits the behaviour. >> >> -- >> \ "When cryptography is outlawed, bayl bhgynjf jvyy unir >> | >> `\ cevinpl." --Anonymous >> | >> _o__) >> | >> Ben Finney > > 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. That should then be your first port of call, check the Python documentation & step through the code manually. > > 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. it is probably just as easy to add print statements into a copy of the code so you can where the code has got to & what your Values are. > 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. > > winpdb.py is located in: -same version > C:\Python27\Lib\site-packages C:\winpdb-winpdb > > winpdb is located in: > C:\winpdb-winpdb > > Is winpdb supposed to be in c:\python27? > > If it is, how is it supposed to get there? (Some install?) > > Thanks, > > Docfxit -- You canna change the laws of physics, Captain; I've got to have thirty minutes!
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