Is os.chdir/getcwd working?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
pro_skub
Posts: 2
Joined: Sun Aug 24, 2014 8:46 am

Is os.chdir/getcwd working?

Post by pro_skub » Sun Aug 24, 2014 9:03 am

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?

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Is os.chdir/getcwd working?

Post by dhylands » Sun Aug 24, 2014 4:42 pm

It.may be that you need to flash newer firmware. Chdir and getcwd were only added recently.

pro_skub
Posts: 2
Joined: Sun Aug 24, 2014 8:46 am

Re: Is os.chdir/getcwd working?

Post by pro_skub » Sun Aug 24, 2014 5:51 pm

Ah, I see. Thanks.

Post Reply