For problem set 6 - sentimental, what are the exact specifications?
Explanation of the question:
While working on the first problems in this problem set, I made programs which could be checked with
style50 foo.py and which could be run using
python -m foo.
Later on, I noticed that the hints told us to run the programs using
python foo.py. But I cannot see anything like that in the specifications ...
Does that mean that we have to test that our program can also work with
python foo.py, or is it good enough if they can work with
python -m foo?
Background: I happen to know that some programs do not work with
python foo.py while they work perfectly when called from another program (or from the command line using
python -m foo). Don't know whether than can also happen the other way round.
- Are we supposed to port all our programs from C to python for this exercise? (in other words: learning how to port a program)
- Or is it good enough if we write these programs in python from scratch? (in other words: learning to code in another language)
Off topic: After carefully reading that additional question, I've decided to port my credit.c program to python (and try to keep it readable). In my case, I think I can learn more that way (for this particular program). But that's just a personal decision, not quite related to the general question.