3 ms·
> this should be a lesson: if you're going to do a "hacker" resume, it should be perfect and actually parse/compile and run. It does parse/compile and run. Tr
by studer 16y ago
> this should be a lesson: if you're going to do a "hacker" resume, it should be perfect and actually parse/compile and run.
It does parse/compile and run. Try it.
- generalk 16y agoTraceback (most recent call last): File "/tmp/resume.py", line 2, in <module> from companies import YourCompany ImportError: No module named companies Am I missing something?
- studer 16y agoYeah, you're so completely missing the point of his code that I have to question the intelligence of both yourself and everyone who's upvoted your message. Is this stupid night on Hacker News, or what's going on here? (And yes, I'm 100% serious. Your reply is the dumbest thing I've ever seen on this site.)
- ElliotH 16y agoYup, the companies namespace is theoretical (containing presumably every company in existence) and contains a class YourCompany - that represents the interviewer's company. Because companies doesn't actually exist there is an import error. If you were to create a class to substitute in you'd need something like: class YourCompany: def unit_tests_code(): return True ...