In <[EMAIL PROTECTED]>, Michael Sperlle wrote:
> What's wrong with using three sets of double-quotes?
One can't comment out code that contains multiline strings. Especially
nested comment out does not work.
> I do it with kwrite and it works like a charm.
Why not Ctrl+D (comment) and Ctrl+Shif
What's wrong with using three sets of double-quotes? I do it with kwrite
and it works like a charm.
--
http://mail.python.org/mailman/listinfo/python-list
> You should use a decent editor that could automatically
> comment/uncomment code upon your request.
The Zeus for Windows IDE has just such a feature:
http://www.zeusedit.com/python.html
To do this in Zeus you basically mark the lines of text
that need commenting then use the Macros, Add Com
Rick Zantow wrote:
>> Thank you! I don't suppose you have any tricks to make it work with
>> UTF-8 data outside the cp1252 character set, do you?
>>
>
> Sadly, I don't. TP claims Unicode support, but I'm not sure what they
> mean; it does seem to be restricted to cp1252.
TP will correctly read
Kent Johnson <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Rick Zantow wrote:
>> Kent Johnson <[EMAIL PROTECTED]> wrote in news:44310867$1_1
>> @newspeer2.tds.net:
>>
>>> Sion Arrowsmith wrote:
Out of curiousity, is there a modern editor which *doesn't* allow
you to comment/un
Rick Zantow wrote:
> Kent Johnson <[EMAIL PROTECTED]> wrote in news:44310867$1_1
> @newspeer2.tds.net:
>
>> Sion Arrowsmith wrote:
>>> Out of curiousity, is there a modern editor which *doesn't* allow you
>>> to comment/uncomment a selected bunch of lines of code?
>>>
>> TextPad is my editor of ch
Kent Johnson wrote:
> Sion Arrowsmith wrote:
> > Eric Deveaud <[EMAIL PROTECTED]> wrote:
> >> some moderns editors allow you to comment/uncomment a selected Bunch
> >> of lines of code
> >
> > Out of curiousity, is there a modern editor which *doesn't* allow you
> > to comment/uncomment a select
Kent Johnson <[EMAIL PROTECTED]> wrote in news:44310867$1_1
@newspeer2.tds.net:
> Sion Arrowsmith wrote:
>> Eric Deveaud <[EMAIL PROTECTED]> wrote:
>>> some moderns editors allow you to comment/uncomment a selected Bunch
>>> of lines of code
>>
>> Out of curiousity, is there a modern editor wh
Sion Arrowsmith wrote:
> Eric Deveaud <[EMAIL PROTECTED]> wrote:
>> some moderns editors allow you to comment/uncomment a selected Bunch
>> of lines of code
>
> Out of curiousity, is there a modern editor which *doesn't* allow you
> to comment/uncomment a selected bunch of lines of code?
>
Tex
Eric Deveaud <[EMAIL PROTECTED]> wrote:
>some moderns editors allow you to comment/uncomment a selected Bunch
>of lines of code
Out of curiousity, is there a modern editor which *doesn't* allow you
to comment/uncomment a selected bunch of lines of code?
--
\S -- [EMAIL PROTECTED] -- http://ww
[EMAIL PROTECTED] wrote:
> Like in C we comment like
> /*
> Bunch of lines of code
> */
>
scite has a feature where you modify your delimiter in block comments,
i.e. what comes after "#"
http://scintilla.sourceforge.net/SciTEDoc.html
--
http://mail.python.org/mailman/listinfo/python-list
I often use
if 0:
bunch of lines of code
That way, it's very easy to reenable the code, or to add an else, etc.
I can even put things like 'if 0 and USE_FOO_FEATURE' to document what
is being commented out. It's much more flexible than commenting out.
--
Want to play tabletop RPGs over the i
Eric Deveaud wrote:
> [EMAIL PROTECTED] wrote:
>
>> Eric Deveaud wrote:
>>
>>> [EMAIL PROTECTED] wrote:
>>>
Like in C we comment like
/*
Bunch of lines of code
*/
Should we use docstring """ """
>>> I would say NO. docstring are disp
[EMAIL PROTECTED] wrote:
>
> Eric Deveaud wrote:
> > [EMAIL PROTECTED] wrote:
> > > Like in C we comment like
> > > /*
> > > Bunch of lines of code
> > > */
> > >
> > > Should we use docstring """ """
> >
> > I would say NO. docstring are displayed by pydoc, thus a pydoc on your
> > code wi
Eric Deveaud wrote:
> [EMAIL PROTECTED] wrote:
> > Like in C we comment like
> > /*
> > Bunch of lines of code
> > */
> >
> > Should we use docstring """ """
>
> I would say NO.
> docstring are displayed by pydoc, thus a pydoc on your code will display some
> inconsistent information ;-)
>
d
[EMAIL PROTECTED] wrote:
> Like in C we comment like
> /*
> Bunch of lines of code
> */
>
> Should we use docstring """ """
I would say NO.
docstring are displayed by pydoc, thus a pydoc on your code will display some
inconsistent information ;-)
> Or there is something else too ??
some m
[EMAIL PROTECTED] wrote:
> Like in C we comment like
> /*
> Bunch of lines of code
> */
>
> Should we use docstring """ """
>
> Or there is something else too ??
>
> Every help is appreciated.
>
> Thanks
Hi,
Maybe this sounds simplier than regexp and so, just use the """ marker like
this :
"
>>Or there is something else too ??
>
> You should use a decent editor that could automatically
> comment/uncomment code upon your request.
In Vim, you can map a key to do the following:
:s/^/#
to comment the highlighted lines, and
:s/^#
to uncomment them. To map them, you c
Em Qui, 2006-03-30 às 15:21 -0800, [EMAIL PROTECTED] escreveu:
> Like in C we comment like
> /*
> Bunch of lines of code
> */
>
> Should we use docstring """ """
>
> Or there is something else too ??
You should use a decent editor that could automatically
comment/uncomment code upon your request
Like in C we comment like
/*
Bunch of lines of code
*/
Should we use docstring """ """
Or there is something else too ??
Every help is appreciated.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo