looking for IDE advice or workflow tips

Olexandr Melnyk omelnyk at gmail.com
Mon Aug 4 14:16:44 EDT 2008


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, kpierce8 at gmail.com <kpierce8 at gmail.com> 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080804/5b4940db/attachment.html>


More information about the Python-list mailing list