python - Permission denied in write block at neo library -


i have spike2 files (*.smr) , want convert first in matlab files , in h5 files. when try write block throws me error: [errno 13] permission denied: '\mismr.mat'

maindir = '\pyedmond'; datadir = '\pyedmond'; os.chdir(maindir) fname='\mismr.smr' fullfname = datadir+fname r = spike2io(filename = fullfname) w = neomatlabio(filename= fname[:-4]+'.mat') seg = r.read_segment() bl = block(name='a block') bl.segments.append(seg) w.write_block(bl) 

how can permission ? using windows 10. , python 3.5


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -