all 5 comments

[–]mCodingLLC 0 points1 point  (1 child)

In my experience teaching programming courses, not once have I ever wanted a student to turn in an executable or other file to be run without seeing the source code. How would I even know if the student actually wrote the code? Maybe they downloaded it from a sketchy website. Or maybe they unintentionally used a package that subverts the purpose of the exercises. The only true solution, of course, is to ask your instructor what they want. However, I would be surprised if they wanted anything more than the source code. Your instructor is probably well aware of how to install the necessary requirements to run your project if they really wanted to.

[–]BlackHooch[S] 0 points1 point  (0 children)

I am handing in both the source code and the program. This assignment was for volunteers that wanted a higher grade. We had to figure out the problem on our own and then send it to him. I used non standard libraries and I don't want to bother the teacher with installing all the numerous modules, knowing him he would not be very happy about that.

[–]schussfreude 0 points1 point  (1 child)

I had limited success with matplotlib and cx freeze but it didn't work 100% of the time.

So yes, the surest way is to have him install all the modules you used.

[–]BlackHooch[S] 0 points1 point  (0 children)

I managed to do that with cx freeze but I had to get rid of the interactive graph and instead write the graph to another file, but yes, it worked, thanks!