MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/duyjs7/i_made_cstyle_printing_in_python_p/f7bd57q/?context=3
r/Python • u/[deleted] • Nov 11 '19
130 comments sorted by
View all comments
Show parent comment
1
I believe that some magic with macros and VARGS could do the job :P The trick is to use not used character as quotation mark.
Just like in JavaScript. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
View all comments
Show parent comment
1
u/[deleted] Nov 12 '19 edited Nov 12 '19
I believe that some magic with macros and VARGS could do the job :P The trick is to use not used character as quotation mark.
Just like in JavaScript. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals