Re: Python

2025-12-15 Thread mm0fmf via Python-list

On 14/12/2025 23:29, Lawrence D’Oliveiro wrote:

On 14 Dec 2025 11:56:42 GMT, Stéphane CARPENTIER wrote:


My issues with python are:
- It's using indentations, so when I comment a block of code to see


''' and ''' are your friend

And maybe stop using edlin etc. and invest in a modern editor that knows 
the language and so helps you by making life easier.


--
https://mail.python.org/mailman3//lists/python-list.python.org


Re: Python

2025-12-15 Thread Alexander Schreiber
mm0fmf  wrote:
> On 14/12/2025 23:29, Lawrence D’Oliveiro wrote:
>> On 14 Dec 2025 11:56:42 GMT, Stéphane CARPENTIER wrote:
>> 
>>> My issues with python are:
>>> - It's using indentations, so when I comment a block of code to see
>
> ''' and ''' are your friend
>
> And maybe stop using edlin etc. and invest in a modern editor that knows 
> the language and so helps you by making life easier.

"The ed utility is the standard text editor."

SCNR,
   Alex.
-- 
"Opportunity is missed by most people because it is dressed in overalls and
 looks like work."  -- Thomas A. Edison
-- 
https://mail.python.org/mailman3//lists/python-list.python.org


Re: Python

2025-12-15 Thread Greg Ewing via Python-list
Any decent programming editor will have a facility for selecting a group 
of lines and adding/removing the appropriate commenting characters.


(If your editor doesn't have that, then by definition it's not decent. :-)
--
https://mail.python.org/mailman3//lists/python-list.python.org


Re: Python

2025-12-15 Thread c186282

On 12/15/25 07:57, mm0fmf wrote:

On 14/12/2025 23:29, Lawrence D’Oliveiro wrote:

On 14 Dec 2025 11:56:42 GMT, Stéphane CARPENTIER wrote:


My issues with python are:
- It's using indentations, so when I comment a block of code to see


''' and ''' are your friend

And maybe stop using edlin etc. and invest in a modern editor that knows 
the language and so helps you by making life easier.


  Not much fun in THAT !!!  :-)

  Me, I use 'nano' as much as possible.

  Larger, complex, programs ... sometimes I have
  to use IDLE or Geany because they can make
  guide-lines showing indentation levels. Once
  that's fixed, back to 'nano'  :-)
--
https://mail.python.org/mailman3//lists/python-list.python.org