Questions about input lines (maximum length and continuation)

Robert Dodier robert.dodier at gmail.com
Wed Jul 4 05:41:20 CEST 2007


Hello,

I'm planning to write a program which automatically generates
Python code.

(1) Is there a limit on the length of a line in a Python program?

(2) From what I understand, symbols, operators, and numbers
cannot be broken across lines continued with the backslash
character. Is there any way to allow symbols, operators, and
numbers to be broken across lines?

Thanks a lot for any information. I appreciate your help.

Robert Dodier




More information about the Python-list mailing list