#๐Ÿ”’ prettify the vscode terminal

19 messages ยท Page 1 of 1 (latest)

foggy osprey
#

the output of codepen looks pretty, while my vscode output does not. can i do something?

hollow crystalBOT
#

@foggy osprey

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

clever umbra
clever cloud
#

try:

print(df.to_markdown()) 
cyan rapids
foggy osprey
clever umbra
# foggy osprey i only want to use vscode

you can use vscode, tho the output you're seeking (the first image) looks very notebook-y, that's why I'm asking
jupyter notebook is like normal python, but you can also mix markdown blocks & code blocks, and you have the ability to only run a chunk of code at a time rather than the entire script; like google colab if you've used that before
also, isn't codepen for html/css/js? what is this codepen you're talking about that runs python

foggy osprey
#

maybe render picture if possible

clever cloud
clever umbra
#

the interface looks something like this

foggy osprey
#

it's a pity there's no beautiful terminal

clever cloud
foggy osprey
#

i want a terminal that treats my input as plain text and treats output as markdown or something else.

tender nest
#

Terminals don't really do that, you can use rich to render markdown in the terminal

hollow crystalBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.