Python script isn't producing text in data file
alister
alister.nospam.ware at ntlworld.com
Thu Dec 11 04:16:01 EST 2014
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 at 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!
More information about the Python-list
mailing list