cancel
Showing results for 
Search instead for 
Did you mean: 
Databricks Free Edition Help
Engage in discussions about the Databricks Free Edition within the Databricks Community. Share insights, tips, and best practices for getting started, troubleshooting issues, and maximizing the value of your trial experience to explore Databricks' capabilities effectively.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

RianOC
by New Contributor
  • 1015 Views
  • 1 replies
  • 0 kudos

input() ignores newlines, truncates after 200 characters

Is there any setting to respect newlines and not truncate for input?Also you can see the input text overflows over outside the box when the browser is narrow which is not desirable. 

RianOC_0-1732546464647.png
  • 1015 Views
  • 1 replies
  • 0 kudos
Latest Reply
rdokala
New Contributor III
  • 0 kudos

WorkaroundsOption A — Print first, input separately (cleanest)prompt = (('o' * 200)+ '\n'+ ('?' * 200)+ '\n'+ ('-' * 200))print(prompt)x = input("> ")

  • 0 kudos