• SyntaxError: multiple statements found while compiling a single stateme

    From Sohail Ahmad@21:1/5 to All on Sun Aug 7 11:56:23 2022
    kindly please help me about issues
    SyntaxError: multiple statements found while compiling a single statement how to solve this issues

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe Pfeiffer@21:1/5 to Sohail Ahmad on Sun Aug 7 14:53:51 2022
    Sohail Ahmad <sohailahmad2594@gmail.com> writes:

    kindly please help me about issues
    SyntaxError: multiple statements found while compiling a single statement how to solve this issues

    Please post the code that got the error. Preferably several lines
    before the actual error, and the line with the error itself.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Ram@21:1/5 to Joe Pfeiffer on Sun Aug 7 22:00:02 2022
    Joe Pfeiffer <pfeiffer@cs.nmsu.edu> writes:
    Please post the code that got the error. Preferably several lines
    before the actual error, and the line with the error itself.

    The error message "SyntaxError: multiple statements found
    while compiling a single statement" can appear in the Shell
    of IDLE when multiple lines are pasted to the Shell window
    via the clipboard with a single paste operation. Instead
    one can paste and execute each statement with a separate
    paste operation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)