Skip to content

Getting EOF error in Python Interactive when using multi-line Triple Quotes #3562

@smithalexk

Description

@smithalexk

I'm receiving an EOF error in the Python Interactive window when I try to use multi-line Triple Quote strings in a Python File. I'm on version 2019.3.5709-dev of the Python extension.

Expected behaviour

Outputs string with no errors, as is shown in the iPython example in the terminal (see screenshot).

Actual behaviour

image

Steps to reproduce:

  1. Create Python file with Triple Quote string over multiple lines and pass it to the Python Jupiter Notebook. E.g,:
    """ Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
    Duis sed pulvinar tellus. Praesent libero velit, pellentesque 
    vestibulum euismod in, vehicula sit amet turpis.
    """

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions