question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting raw text from options

See original GitHub issue

Is there a way to get a python raw string version of an input option?

I am hoping to get a user defined string, similar to --option="M$_B$ $\alpha$ $\beta$", without the user needing to properly escape special characters. Simply parsing the option using a raw string should be sufficient.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kieruncommented, Oct 17, 2019

That doesn’t appear to have anything to do with using click.

I opened an issue under poetry…

1reaction
benjaminrosecommented, Aug 13, 2019

After continued investigation it appears to be neither bash nor click but something to do with the way poetry handles the arguments following poetry run.

Thank you for the help. For completeness, I’ll post a link to the full solution once this is understood/resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copy/Extract HTML Dropdownlist Options in Plain Text - TechBrij
Select Regular Expression as Search Mode and click on Replace All. If options are already in new line then no need to use...
Read more >
Get selected option text with JavaScript - html - Stack Overflow
First rule when trying to use regex—keep searching Stack Overflow until you see the solution that doesn't need regex—cheers :) – Mirror318. Oct...
Read more >
Read email messages in plain text - Microsoft Support
Click Options. Click Trust Center, and then click Trust Center Settings. Click Email Security. Under Read as Plain Text, select the Read all...
Read more >
How to Get HTML Dropdownlist Options in Plain Text With ...
... video tutorial of following post to extract text from dropdownlist: http://techbrij.com/copy-extract-html-drop-down-list- options - text.
Read more >
String.raw() - JavaScript - MDN Web Docs
The static String.raw() method is a tag function of template literals. ... It's used to get the raw string form of template literals...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found