[IPython-dev] edited file is readonly how to change?

Ville M. Vainio vivainio at gmail.com
Tue Dec 12 13:33:07 CST 2006


On 12/9/06, Jesus Aguillon <jesus at aguillon.com> wrote:

> When I edit a file from within IPython and it has a syntax error, the next
> time time I try to edit the file it is opened as read-only.  I am using
> Windows XP SP2,  IPython 0.7.3b3.r1975 and Gvim 7.0.
>
> I can work around this by writing the file using w! from within vim.  Is
> there a way to clear the read-only status on the file without leaving
> IPython?  (It is cleared when I exit IPython)

How do you "edit" the file? Executing %edit, or running vim directly?

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-dev mailing list