How can I use display() instead of print() in python VS Code? I wanted to plot a more stylish table, instead of print, but I can do display() only in Jupyter
1 Answer
Although far from reproducing Jupyter's display(), texttable library lets you print out stylish tables easily.
1 Comment
Emi OB
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
displayfunction is defined by libraries in the Jupyter ecosystem. Plain python scripting isn't going to support rich output.display()HTML or text, if text you might include the required sub-module from the Jupyter module