Installing gedit for python programming in Mac OS X

By: Zed A. Shaw Emailed: 1770 times Printed: 2515 times    

Latest comments
By: rohit kumar - how this program is work
By: Kirti - Hi..thx for the hadoop in
By: Spijker - I have altered the code a
By: ali mohammed - why we use the java in ne
By: ali mohammed - why we use the java in ne
By: mizhelle - when I exported the data
By: raul - no output as well, i'm ge
By: Rajesh - thanx very much...
By: Suindu De - Suppose we are executing

  1. Go to http://projects.gnome.org/gedit/ with your browser, get the gedit text editor, and
    install it.
  2. Put gedit (your editor) in your Dock so you can reach it easily.
        (a) Run gedit so we can fix some stupid defaults it has.
        (b) Open Preferences from the gedit menu and select the Editor tab.
        (c) Change Tab width: to 4.
        (d) Select (make sure a check mark is in) Insert spaces instead of tabs.
        (e) Turn on “Automatic indentation” as well.
        (f) Open the View tab and turn on “Display line numbers”.
  3. Find your “Terminal” program. Search for it. You will find it.
  4. Put your Terminal in your Dock as well.
  5. Run your Terminal program. It won’t look like much.
  6. In your Terminal program, run python. You run things in Terminal by just typing their name and hitting RETURN.
  7. Hit CTRL-D (^D) and get out of python.
  8. You should be back at a prompt similar to what you had before you typed python. If not find out why.
  9. Learn how to make a directory in the Terminal. Search online for help.
  10. Learn how to change into a directory in the Terminal. Again search online.
  11. Use your editor to create a file in this directory. You will make the file, “Save” or “Save As...”, and pick this directory.
  12. Go back to Terminal using just the keyboard to switch windows. Look it up if you can’t figure it out.
  13. Back in Terminal, see if you can list the directory to see your newly created file. Search online for how to list a
    directory.
Last login: Sat Apr 24 00:56:54 on ttys001
~ $ python
Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D
~ $ mkdir mystuff
~ $ cd mystuff
mystuff $ ls
# ... Use Gedit here to edit test.txt....
mystuff $ ls
test.txt
mystuff $

macos Home | All macos Tutorials | Latest macos Tutorials

Sponsored Links

If this tutorial doesn't answer your question, or you have a specific question, just ask an expert here. Post your question to get a direct answer.



Bookmark and Share

Comments(0)


Be the first one to add a comment

Your name (required):


Your email(required, will not be shown to the public):


Your sites URL (optional):


Your comments:



More Tutorials by Zed A. Shaw
Formatted printing in Python
Printing in Python
Strings And Text in Python
Variables And Printing in Python
Variables And Names in Python
Numbers And Math in Python
Comments And Pound Characters in Python
Your First Program in Python
Installing gedit for python programming in Linux
Installing gedit for python programming in Mac OS X

More Tutorials in macos
Getting PHP running on Mac OS 10.1
Installing gedit for python programming in Mac OS X
What is Mac OS X?
History of Mac OS X
Major features of Mac OS X
Different Versions of Mac OS X
What is new in Mac OS X Snow Leopard
alias, unalias in Mac OS X
apropos in Mac OS X
awk in Mac OS X
basename in Mac OS X
bash in Mac OS X
bg in Mac OS X
bless in Mac OS X
break in Mac OS X

More Latest News
Most Viewed Articles (in macos )
History of Mac OS X
Different Versions of Mac OS X
awk in Mac OS X
break in Mac OS X
cal, ncal in Mac OS X
crontab in Mac OS X
cut in Mac OS X
Installing gedit for python programming in Mac OS X
What is Mac OS X?
Major features of Mac OS X
What is new in Mac OS X Snow Leopard
alias, unalias in Mac OS X
apropos in Mac OS X
caller in Mac OS X
cd in Mac OS X
Most Emailed Articles (in macos)
Installing gedit for python programming in Mac OS X
What is Mac OS X?
apropos in Mac OS X
cal, ncal in Mac OS X
cmp in Mac OS X
crontab in Mac OS X
History of Mac OS X
Major features of Mac OS X
Different Versions of Mac OS X
What is new in Mac OS X Snow Leopard
alias, unalias in Mac OS X
awk in Mac OS X
basename in Mac OS X
bash in Mac OS X
bg in Mac OS X