You are not logged in.
Pages: 1
Topic closed
Ok, I picked up an O'Reilly book on Python yesterday because I am interested in learning to code. I got through the first two chapters and I hit a minor snag... I can't seem to figure out for to set up IDLE.
I did a quick google on it and found
cd into your idlelib directory
run: python PyShell.pyProblem is, I have no idea where the idlelib directory is on Arch! (I have no idea where it is on any Linux distro but that is beside the point.)
The book is no help, although I am at least able to simulate the IDLE in bash.
Thank you!
Edit: for some reason it did not occur to me to do the logical thing and just type it's name into the terminal...
Last edited by LeoSolaris (2008-10-29 10:46:50)
I keep getting distracted from my webserver project...
huh? oooh... shiny!
Offline
/usr/lib/python2.5/idlelib
You can use "locate" to find things (I just learned that in another post 10 minutes ago
).
locate -b idlelibMy Arch Linux Stuff • Forum Etiquette • BBCode and Emoticons • Community Ethos - Arch is not for everyone
Offline
Or there is a launcher in /usr/bin so just type "idle" at a prompt.
Offline
Thanks guys! I haven't had the time to play with my laptop till now, so I am going to get on with the lesson that required idle to complete.
Thanks again!
I keep getting distracted from my webserver project...
huh? oooh... shiny!
Offline
Just a small sidenote, you are probably better off with an editor + the python shell. Idle can in some cases make your script not behave as expected.
Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Gvim + any programming language is pretty nice, so is emacs. I'm not a big fan of IDE programming since it carries so much unnecessary bloat with it.
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!!
, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 ![]()
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
Geany mixes an "mini" IDE and a CLI so you can write and test at the same time.
Matt
alias f='rm -rf $1'
f /windows
Offline
Gvim + any programming language is pretty nice, so is emacs. I'm not a big fan of IDE programming since it carries so much unnecessary bloat with it.
Does anyone have a quick and dirty guide for learning vim? At the minute I use Gedit and a selection of plugins, is there any reason I should switch to vim? I have heard many things about it and I'm willing to learn new things in order to increase productivity.
Offline
kclive18 wrote:Gvim + any programming language is pretty nice, so is emacs. I'm not a big fan of IDE programming since it carries so much unnecessary bloat with it.
Does anyone have a quick and dirty guide for learning vim? At the minute I use Gedit and a selection of plugins, is there any reason I should switch to vim? I have heard many things about it and I'm willing to learn new things in order to increase productivity.
vimtutor + :help + just use it(tm)
http://www.vi-improved.org/tutorial.php if you like irc
Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I'm all for composing your code in emacs and running it from the terminal,
Idle is really nice for rapid prototyping and experimentation though
I usually have emacs open, a terminal with the python shell, and a terminal with the bash shell (for running and manipulating and permissions and whatnot) I find this setup works great if you have the screen realestate for it.
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline
I just wanted to test it because it was in my book. I will have to bear in mind that it can distort the code. I may have to look into geany. Emacs isn't so bad, and I am just starting in vi... one thing at a time there. I may try a bit harder with vi after getting the basics down with python.
I keep getting distracted from my webserver project...
huh? oooh... shiny!
Offline
I have been using Gedit with the python extension. IDLE in the terminal is also really neat. I think Gedit is simple and easy enough to start any programming project.
Offline

Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
And, on that note...
Closing.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
One difference between the two OSs though is that Linux progresses. The other decays.. --Trilby
----
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed