On 2012-02-29, Ali Gholami Rudi wrote:
> "Oleksandr Gavenko (aka gavenkoa)" <gaven...
>> Originally i ask this question at:
>> When all my code stay in single file - all ok. But when come time to
>> code to several files I get error:
>> ValueError: Attempted relative import in non-package
> This does not seem to be a ropemacs error. As the error says, you are
> doing a relative import outside a package; probably a script (python
> xyz.py) or the interactive python prompt.
Ok, I agree that this is not rope problem... I type C-c C-c and get error in
>>> Traceback (most recent call last):
File "/tmp/py4140IWr", line 5, in <module>
from .blogger import *
ValueError: Attempted relative import in non-package
But among other question have some that relative to ropemacs...
I have such project structure:
and blog4y.py must import blogger.py and wordpress.py.
Emacs create <root>/blog4y/.ropeproject/config.py and
Is that right path for .ropeproject?
How to tell to ropemacs that under <root>/blog4y/ live 'blog4y' package with 3
Another question is how to tell to ropemacs to reload file that I edit?
"M-x revert-buffer" or ropemacs automatically detect buffer saving?