Page 1 of 1

Is os.chdir/getcwd working?

Posted: Sun Aug 24, 2014 9:03 am
by pro_skub
Hi all,

Got my Pyboard a few days ago.

I'm just going through the functions of the os module, and os.getcwd and os.chdir doesn't seem to exist at all, at least when using the REPL prompt!
All the other functions listed at http://micropython.org/doc/module/os/ appear to work just fine. What gives?

Re: Is os.chdir/getcwd working?

Posted: Sun Aug 24, 2014 4:42 pm
by dhylands
It.may be that you need to flash newer firmware. Chdir and getcwd were only added recently.

Re: Is os.chdir/getcwd working?

Posted: Sun Aug 24, 2014 5:51 pm
by pro_skub
Ah, I see. Thanks.