2 ms·
I don't know about the most amazing, but I am constantly impressed by how much work you can get done in so little Python. Last script I wrote 1) parses its comm
by gaius 18y ago
I don't know about the most amazing, but I am constantly impressed by how much work you can get done in so little Python. Last script I wrote 1) parses its command line 2) tries a list of servers to find the logfile it needs 3) retrieves and parses that logfile 4) fits a trigonometric polynomial using Fourier series 5) draws the original data plus the curve fit on a graph and saves that on a web server.
90 lines of code.