On 07/07/12 04:35, Steven D'Aprano wrote:
I find it ironic that you are suggesting removing the debugger to make
it easier to debug the code :)
But the pdb.trace() calls are not needed for debugging. The
interactive debugger will work just fine without them.
They are for very specialised use.
On 07/07/2012 09:34, Alan Gauld wrote:
On 07/07/12 04:35, Steven D'Aprano wrote:
I find it ironic that you are suggesting removing the debugger to make
it easier to debug the code :)
But the pdb.trace() calls are not needed for debugging. The
interactive debugger will work just fine without
I am currently coding a 'text-based adventure game', and im having a bit of
trouble with while loops. Here is my code so far: #Text-based Adventure RPG
#The player travels through different towns and dungeons
#The overall goal of the game is simple; the player must make it to the final
town,
On 7/7/2012 5:57 AM myles broomes said...
I am currently coding a 'text-based adventure game', and im having a bit
of trouble with while loops. Here is my code so far:
Please paste in the traceback you're getting, and please set your mail
client program for plain text when posting. What I
On 07/07/12 13:57, myles broomes wrote:
I am currently coding a 'text-based adventure game', and im having a bit
of trouble with while loops. Here is my code so far:
What kind of trouble? You have lots of while loops, which loop?
And do you get an error message? If so please post it - all of
Hey all, I have a question on using self-modifying code/code generation in
Python;
namely how to do it.
I've posted on Stack Overflow and a python forum on this topic, and apparently
the current approach I'd devised wastoo difficult.
The idea was, for every Python operator and statement
On 07/07/12 22:19, Aaron Tp wrote:
Hey all, I have a question on using self-modifying code/code generation in
Python;
namely how to do it.
Self generating code is hard to do.
Writing code is hard for intelligent humans, writing code to generate
code is even harder.
To write code that
Aaron Tp, 07.07.2012 23:19:
I have a question on using self-modifying code/code generation
in Python; namely how to do it.
Don't.
Seriously, the answer you should ask yourself is: why do you think the
genetic algorithm (or whatever you are trying to do exactly) would come up
with any