Forums

Saving a word document as .py file

I can´t save a .docx file as .py file

I´m doing 6. Modules right now and want to import fibo.py module

Anyone have a suggention to solve this?

Thanks in advance

A docx file is in an entirely different format to a Python file. You cannot just save a docx as a Python file. If the fibo.py module is somehow in a docx, then you cannot import it.

I understand! Thanks for clarifying that. What text editor can I use then to save in .py?

I think I got it now, sorry for newbeginner questions.

great! Thanks for letting us know!