Oct-24-2020, 04:26 PM
Hi All,
Anyone have any experience with saving a python module on a Mac? I was doing a homework assignment and there were no issues. I saved the file to a location on the Mac for all my homework. I was defining functions in the module, saving it and then running it in IDLE. I stopped last night and everything was functioning fine. When I went back today to finish the assignment, I was adding code to the .py module and saving it but when I hit F5 to run it I kept getting an error saying that I had to save the file first, which I had already done. I tried several times to save the file using several methods as well as closing the file and quitting python. Eventually I saved the text to a word document and deleted the file. Then created a new .py module and pasted the text into it and got it to run after a few tries with new files. The first few attempts at using a new file were not successful.
I also had an instance last week where I was working in a module and completed the assignment. Everything worked. I went to open it the next day and nothing had saved. Even though I had to save is hundreds of times to run the module in IDLE to test the various problems as I was going.
Has anyone else experienced this or know what to do if it happens again?
Thank you in advance for any help you can give me.
Anyone have any experience with saving a python module on a Mac? I was doing a homework assignment and there were no issues. I saved the file to a location on the Mac for all my homework. I was defining functions in the module, saving it and then running it in IDLE. I stopped last night and everything was functioning fine. When I went back today to finish the assignment, I was adding code to the .py module and saving it but when I hit F5 to run it I kept getting an error saying that I had to save the file first, which I had already done. I tried several times to save the file using several methods as well as closing the file and quitting python. Eventually I saved the text to a word document and deleted the file. Then created a new .py module and pasted the text into it and got it to run after a few tries with new files. The first few attempts at using a new file were not successful.
I also had an instance last week where I was working in a module and completed the assignment. Everything worked. I went to open it the next day and nothing had saved. Even though I had to save is hundreds of times to run the module in IDLE to test the various problems as I was going.
Has anyone else experienced this or know what to do if it happens again?
Thank you in advance for any help you can give me.