If you are editing a file in the Sage library, you need to run 'sage -b' to incorporate your changes.
On Tuesday, January 24, 2017 at 12:58:26 AM UTC-8, pp wrote: > > Hi all, > I'm trying to import one Python module in Sage 7.3 (using `import`). It is > properly working. The problem arises when I edit this Python file: Sage is > still using the first version of the file. Even after I delete the Python > file, it still uses the first version of this file. > > Also, unlike Python, no `pyc` file is generated (I searched with `sudo > find . -name "<filename>.pyc"`). So, basically I cannot see any possible > way to import a Python module after it has been edited. > > Can anyone help? > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.