Tagged Questions
4
votes
1answer
76 views
Cutting strings into smaller ones based on specific criteria
So, I've got this largish (for me) script, and I want to see if anybody could tell me if there are any ways to improve it, both in terms of speed, amount of code and the quality of the code. I still ...
2
votes
3answers
71 views
How can I optimize this hash string function?
I'm writing a function which gets two strings and a number k as an input, and outputs a string with length k which is present in ...
1
vote
1answer
304 views
Automatically indent a whole block of text into str.format
I wondered if there was any better way of doing so.
I had a hard time figuring it out (it seemed nobody else already tried to do so).
...