Magnus Lycka <[EMAIL PROTECTED]> writes:
> Mike Meyer wrote:
>> In that case, you're using the wrong IDE. I run the Python interpeter
>> inside of Emacs. I edit my code in another buffer. In the source code
>> buffer, I hit M-C-x, and the current version of the function I'm
>> currently editing ge
On Wed, 09 Nov 2005 18:04:02 +, Steve Holden wrote:
>>>how can such a dynamic language like python not be able to do this.
>>
>>
>> Do you try to ignore the syntax and grammar of the programming language
>> you are coding in too, or only English?
>>
> That's rather unkind. I'd judge we are
I used Visual Basic a long time in the past and I know what you mean.
The ability to step through code line by line was very useful in a
language where you often didn't know what was happening. I
particularly loved the ability to hover the mouse over any variable or
expression and see the value a
Mike Meyer wrote:
> In that case, you're using the wrong IDE. I run the Python interpeter
> inside of Emacs. I edit my code in another buffer. In the source code
> buffer, I hit M-C-x, and the current version of the function I'm
> currently editing gets sent to the interpreter. Reload is pretty eas
Steven D'Aprano:
> You write a function:
>
> def myfunct(s):
> # input arg s is a string
> foo = s*3
> bar = s.upper() + foo # LINE 2
> blob = foo.lower() + bar
> return blob
>
> You enter the debugger and single-step to the marked line LINE 2. Then you
> edit the code to t
Steve Holden <[EMAIL PROTECTED]> writes:
> Steven D'Aprano wrote:
>> On Tue, 08 Nov 2005 13:38:28 -0500, python wrote:
> [...]
>>>as i mentioned even micro$soft can do this using statically type languages
>>>like visual basic and csharp.
>>> also, both visualbasic and csharp have goto statements,
Steven D'Aprano wrote:
> On Tue, 08 Nov 2005 13:38:28 -0500, python wrote:
[...]
>>as i mentioned even micro$soft can do this using statically type languages
>>like visual basic and csharp.
>>also, both visualbasic and csharp have goto statements, which i do to not use
>>in final code but can be
On Tue, 08 Nov 2005 13:38:28 -0500, python wrote:
> thanks for all that have replied so far.
> i still find it __very__ hard to believe that i cannot edit code inside a
> function while debugging it.
You write a function:
def myfunct(s):
# input arg s is a string
foo = s*3
bar = s.u
python wrote:
> so how can i use python to debug code and change that code without having to
> restart the code.
I don't know how well the commercial GUIs, such as Wing IDE
manage to handle debugging. Perhaps that's worth looking into.
It's my impression that debugger support in Python is weaker
Hi Dave,
Currently there is no python debugger (that I know of) that does it,
altough tools are beggining to get to it (another example outside of the
python world is that eclipse already does it for java). If you use the
pdb (that is the command-line debugger that comes along with python),
yo
thanks for all that have replied so far.
i still find it __very__ hard to believe that i cannot edit code inside a
function while debugging it.
as i mentioned even micro$soft can do this using statically type languages like
visual basic and csharp.
also, both visualbasic and csharp have goto stat
"python" <[EMAIL PROTECTED]> writes:
> i am a long time windows user and have had a great way to learn new api.
There's a better way. See below.
> to write some code and then run it.
> if there is an error, the debugger will load.
> then i can figure out what the eror is, just touch up the ocde a
On Monday 07 November 2005 16:56, python wrote:
>
> so how can i use python to debug code and change that code without having
> to restart the code.
look into reload()
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com
hello and thanks for reading this,
i have been a dos/windows user using some form of the basic language for 30
years now.
i own and run a small programming company and there is one feature that keeps
me in the windows/basic world.
while i will agree that it has not evolved well, it does have on
14 matches
Mail list logo