All Questions
3 questions
-1
votes
1
answer
252
views
Decoding a string encoded by Caesar Cipher and some delimiters [closed]
I have the following code which I seek to optimize. The result of the bruteforce I already have but I'm just trying to learn some more python using the same example.
The code in the data needs to be ...
1
vote
1
answer
336
views
Pokemon search engine
I am making a simple function to find and match any possibilities what Pokémon the user wants. This is accomplished by taking in the input (what the user thinks the Pokémon is named) and compare its ...
22
votes
4
answers
10k
views
Regex to parse semicolon-delimited fields is too slow
I have a file with just 3500 lines like these:
filecontent= "13P397;Fotostuff;t;IBM;IBM lalala 123|IBM lalala 1234;28.000 things;;IBMlalala123|IBMlalala1234"
...