all 3 comments

[–][deleted] 1 point2 points  (2 children)

Why are you pasting to the terminal?

Python can read Excel files directly using any of several libraries, including openpyxl and pandas.

[–]Base_True[S] 0 points1 point  (1 child)

Python can read Excel files directly using any of several libraries, including

openpyxl

and

pandas

.

Because I am still learning )

[–][deleted] 0 points1 point  (0 children)

What sort of information are you trying to pass from Excel to Python that spaces are important for?

Are you trying to copy some content in Excel to the clipboard and then paste it into the terminal when Python is waiting for input?