You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was recommended rich's console.log() as a way to add to a print statement output the number of the line of the print statement itself. With console.log(some_array) the number of it's line is indeed being printed — after a column next to filename. But when I console.log() a single string there is no line number being printed. Is there a way to print one?
The text was updated successfully, but these errors were encountered:
Never mind, it looks like my VSCode terminal wasn't displaying the whole lines for some reason. There are line numbers when printing single strings at the end of the lines, the terminal just crops them sometimes.
I was recommended rich's
console.log()
as a way to add to aprint
statement output the number of the line of theprint
statement itself. Withconsole.log(some_array)
the number of it's line is indeed being printed — after a column next to filename. But when Iconsole.log()
a single string there is no line number being printed. Is there a way to print one?The text was updated successfully, but these errors were encountered: