Mac OSX File System Organization

Before we get into Pygame on Python3, we have to learn a little about how to access the command line, how to navigate the file system hierarchy, how to run python programs, and how make files executable. This will make it much easier to run your programs, especially since running your Pygame program in Wing IDE 101 can be problematic and on the Mac OSX system it will usually hang.

Commands we will be learning:

  • how to launch “terminal”
  • pwd
  • ls, ls -l
  • cd
  • mkdir
  • mv
  • rm
  • cp
  • python3 ______
  • nano
  • cat
  • #!/usr/local/bin/python3
  • chmod 755, chmod +x
  • ./_____

If you get lost, here are a couple of websites that the tutorial is based on:

http://linuxcommand.org/lts0020.php

http://linuxcommand.org/lts0050.php

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s