If you split your code into functions (what you should really do), you can
use a simple unit-testing like setup: make a caller script for every
function, so you can test them separately.

On 8/4/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm a novice developer at best and often work with the R statistical
> programming language. I use an editor called TINN-R which allows me to
> write a script, then highlight a few lines and send them to the
> interpreter. I am using pythonwin and it lacks this funtionality (that
> I can tell) and when I copy and paste lines into the interpreter only
> the first line is evaluated and the rest appears as returned text.
>
> Is there an editor that allows me to send a few lines out of many
> lines of code at a time?
>
> or
>
> How does one check small blocks of code without typing them each time,
> running an entire script (with other code) or creating a small script
> for every code block?
>
> For example say lines 1-100 work fine and now I'm working on lines
> 101-105. Should I create a small script with just those lines?
>
> Thanks for any advice
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Sincerely yours,
Olexandr Melnyk
http://omelnyk.net/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to