Hi everyone, I wrote several fancy functions that may help your coding experience, since they are in very early developing stage, I will be thankful if anyone could try them and give some feedbacks. Currently I have following:
- fstr: a Python f-string like expression
- printf: an easy to use fprintf function, accepts multiple arguments with seperator, end string control.
I will bring more functions or packages like logger when I am available.
The code is open sourced at GitHub with simple examples: https://github.com/bentrainer/MMGA
1 Comment
I believe your functions could be extremely helpful for enhancing the coding experience. Thank you for sharing these ideas. I'd like to offer some initial feedback based on what you've presented: It might be beneficial to consider developing a custom f-string-like expression, which could potentially offer significant advantages, particularly if it were to enhance or streamline f-string functionality. It would be interesting to see if it allows additional formatting options or dynamic evaluation. It would be really beneficial to have a more flexible printf function for Python, especially for users who are familiar with C-style formatting or for cases where fine control over separators and line endings is useful source. Multiple argument handling with end-string control could be a great addition for formatted output in complex print statements.