SD Card and Python

Steve Holton sph0lt0n at gmail.com
Mon Dec 24 13:36:44 EST 2007


On Dec 24, 2007 1:12 PM, 7150 <gyeager at litenverden.com> wrote:

> I am beginning to work with Python.
>
> I want to place a project in a directory called pyProject on my SD card.
>
> I know how to add a directory to the exiting path:
>
>    import sys
>    sys.path.append("/x/pyProject")
>
> I do not know how to specify the SD card and directory in the path
> statement.


The SD card would be mounted under /media or /mnt depending on the build.
However, it is only auto-mounted if present at boot-up  If you insert it
while the XO is running, you'll need to mount it manually.

See:
  http://wiki.laptop.org/go/Tests/SD_card


>
> Thanks in advance!
> _______________________________________________
> community-support mailing list
> community-support at lists.laptop.org
> http://lists.laptop.org/listinfo/community-support
>



-- 
Steve Holton
sph0lt0n at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/community-support/attachments/20071224/700a7a40/attachment.htm 


More information about the community-support mailing list