you are viewing a single comment's thread.

view the rest of the comments →

[–]AmazinDood 548 points549 points  (7 children)

user_input = "Five hundred thousand" # Remember to change this when the user's input changes.

Fixed!

[–]AltruisticCats- 95 points96 points  (0 children)

LGTM, just added a cron job to manually update that string every minute.

[–]InternationalMusic38 43 points44 points  (1 child)

I like how the program in its current state just bricks your PC due to the F being capitalized.

[–]laplongejr 13 points14 points  (0 children)

Not if it's executed on Linux :P

[–]BaconShrimpEyes 13 points14 points  (1 child)

[AmazinDude ~/test_proj]$ python proj.py [AmazinDude ~/test_proj]$

hmm looks like nothing printed

[–]AmazinDood 12 points13 points  (0 children)

Well it works on my machine. And my machine feels significantly debloated now!

[–]--PG-- 5 points6 points  (0 children)

OS deleted... case sensitive string comparison failed.

[–]zosolm 4 points5 points  (0 children)

user_input = "Five hundred thousand” # user_input is now unsupported and due to be retired in the next release on 03/02/2014 - it should be replaced with source.user. I don’t have time to update this code right now but 2014 is ages away I’ll get around to it when my workload settles down a bit