Help Wanted

Learning Python – CPUFreak91

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Yo all,
is there a site where i can download a "book" for learning Python?
Is there any compiler or interpreter for Linux?

Any Last but not least:
How many people here use Red Hat Linux?

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
Red Hat ewwww... can't stand Red Hat.

all the tools you need for Python are on the python site. IDLE is probably my fave IDE, you can get the Red Hat RPM off the site. Not sure what the address is though, just do a search on Google.

--D-SIPL

------------------
If at first you don't succeed, destroy all evidence that suggests you tried

CapnStank

Member

Posts: 214
From: Sask, Canada
Registered: 12-16-2004
Yeah I definately learned python on IDLE. Go to python.org and go to they're non-programmer tutorials.

Be warned though python.net is like startrek and python.com is porn (or so my pals and I believe since its deemed "Inappropreate" by our school server)

------------------
Jesus is f'ing metal!

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Thanks. Will try.
D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
On a side note, i would try and get away from Red Hat. I use Slackware and Gentoo (Gentoo more so now) and find them so much better, plus they use the proper LFS unlike Red Hat.

--D-SIPL

------------------
If at first you don't succeed, destroy all evidence that suggests you tried

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Gentoo. Ok. Once i get a good place maybe i'll download it.
Do you know what Mandrake is like. I was told "its awesome".

[This message has been edited by CPUFreak91 (edited February 06, 2005).]

Klumsy

Administrator

Posts: 1061
From: Port Angeles, WA, USA
Registered: 10-25-2001
mandrake will give you a high - literally

------------------
Karl /GODCENTRIC
Visionary Media
the creative submitted to the divine.
Husband of my amazing wife Aleshia
Klumsy@xtra.co.nz

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
is it like most highs that are just temporary distortions of reality? ...i'm tyring to get linux running on a very unstable(are all slot a's this bad?) 600mhz athlon machine. eventually i want to get my wife a computer with windows on it, but i can't really afford $99.99 + s/h everytime i get a computer together(i run into a lot of free/cheap computers/parts).

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

www.persecution.com - Voice of the Martyrs

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
Mandrake is pretty good for using Linux for the first time. But if you really want to learn some Linux commands and get into how it works then i would install Gentoo, it will take you the good part of a day but it's worth it.
Download the stage2 tarball when installing it.

From then on if you want to update gentoo you just load up a shell and type

emerge sync

If you wanted to install IDLE you would type:

emerge IDLE

Brilliant! No more worrying about dependancies!!

--D-SIPL

------------------
If at first you don't succeed, destroy all evidence that suggests you tried

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
I think I will. Since you obviously know alot about it. I'll just post a question when I have a problem (if u don't mind answering them)
CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
PS. Does anyone of you use Fire Fox for Windows?
outcast

Member

Posts: 40
From: Guatemala City, Guatemala
Registered: 12-08-2004
Dude anything to get away from crappie IE is good. Fire Fox or Safari depending on what OS your using. Jeff

------------------
Jeff McArthur. Creating Nak'Urij
BlueGill Studios Games

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
I know how crappy IE is!
Microsoft should drop it and make a new browser, or include FireFox
My Prob is that fire fox wont load on its own.
I have to open a saved page on my HD to get ti to load.

[This message has been edited by CPUFreak91 (edited February 07, 2005).]

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
Load up Firefox and go to Tools | options | general
It will say something along the lines of Default Browser with a button which says Check Now. Click that and set it as your default browser. Stick a Firefox shortcut on your desktop as well. Hope that helped.

No worries about the Linux questions, fire away.

--D-SIPL

------------------
If at first you don't succeed, destroy all evidence that suggests you tried

Wacko4X

Member

Posts: 92
From: Bellvue, WA, USA
Registered: 08-21-2002
I used to use FireFox a lot more (woot! opensource!) but I've found it to be significantly slower than IE (anyone know why?). Not to mention that I switched to FireFox for tabbed browsing but now that IE offers that as an add-on my support is SLOWLY lessening for FireFox.

Sure there are plenty of people attacking IE but it is certainly more secure than FireFox, its faster, and still most websites are tested with at least IE.

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
quote:
Originally posted by Wacko4X:
I used to use FireFox a lot more (woot! opensource!) but I've found it to be significantly slower than IE (anyone know why?). Not to mention that I switched to FireFox for tabbed browsing but now that IE offers that as an add-on my support is SLOWLY lessening for FireFox.

Sure there are plenty of people attacking IE but it is certainly more secure than FireFox, its faster, and still most websites are tested with at least IE.


Yeh but the amount of times I have been on an IE browser which has been hijacked by some search/marketing company. My Firefox has never been hijacked (my winblows box) also pop-up blocking is always a bonus. Maybe a slight difference in performance but not huge.

Firefox has at least given MS a kick. They dominated the browser market pretty much and with no-one to really contend with they just let it slip and focused on other stuff. At least Firefox has made them wake up and do something about it.

--D-SIPL

------------------
If at first you don't succeed, destroy all evidence that suggests you tried

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
I got IDLE. It's a heck of a lot easier than C and C++ (I get a bunch of weird errors) plus i don't understan anything about voids and ints and other stuff. (Maybe its because i have Visual C++)
CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
there are some tools for windows in fire fox to load pages faster. But it only works for vesrion 0.8
HeardTheWord

Member

Posts: 224
From: Des Moines, IA
Registered: 08-16-2004
quote:
Originally posted by Wacko4X:
I used to use FireFox a lot more (woot! opensource!) but I've found it to be significantly slower than IE (anyone know why?).

I found a fix for FireFox that makes pages load faster.

Type about:config in the address bar and press enter.

Here are a list of preferences to change:
network.http.pipelining = true
network.http.pipelining.maxrequests = 100
network.http.proxy.pipelining = true

Then right click and choose New->Integer.
Make the name nglayout.initialpaint.delay and give it a value of 0.

This should speed up FireFox's page loading considerably.

[This message has been edited by HeardTheWord (edited February 08, 2005).]

mellonamin

Member

Posts: 119
From: Maryville, TN, United States
Registered: 11-16-2004
quote:
Originally posted by Wacko4X:
Sure there are plenty of people attacking IE but it is certainly more secure than FireFox, its faster, and still most websites are tested with at least IE.


I don't know about the secure part....before I had firefox I got spyware like crazy and pop ups everywhere...now with FF I haven't had either one


------------------
Vita sine Ieso est mors.
=Life without Jesus is death.

Sciuri non sunt boni edere.
=Squirrels are not good to eat.

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Gentoo:

I got a question D-SPIL whats the small verion like (www.linuxiso.org) its 85 MBs. Is there any advangate/disadvantage to the small version?

------------------
Love, Life and Linux

[This message has been edited by CPUFreak91 (edited February 08, 2005).]

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Why do I get the three greater than signs in Python is that where i can begin programming? And what's better in Python than Visual C++?

------------------
Love, Life and Linux

[This message has been edited by CPUFreak91 (edited February 08, 2005).]

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
quote:
Originally posted by CPUFreak91:
Gentoo:

I got a question D-SPIL whats the small verion like (www.linuxiso.org) its 85 MBs. Is there any advangate/disadvantage to the small version?


Thats the Gentoo live cd i think. It's an iso so it does unpack larger when you burn it to cd. Go here and download from one of the mirrors. Burn it onto cd. Boot the computer you want to install gentoo on (make sure cd is primary boot) and when the console has loaded make 3 partitions for /boot / and swap. Make sure your swap partition is around the size of your RAM in mb and is set to 82 which is Linux Swap (i think). Once partitioned (use fdisk if possible though you may find cfdisk a lot easier) mount /dev/hda1 (boot) /dev/hda2 (swap) and /dev/hda3 (/ root). Then download the stage 2 tarball using links.

Type: links2 www.gentoo.org

They have pretty good instructions on the site if i remember, so don't be overwhelmed with the above.

quote:
Why do I get the three greater than signs in Python is that where i can begin programming? And what's better in Python than Visual C++?

Thats where you run commands after >>> click file | new
This will open up the IDE. Start coding from there.
Python is OOP but with a basic easier syntax and commands imo. Plus it's cross platformable so whatever you write in windows will run in Linux, Mac etc as long as they have python installed on their computer.

Hope this helps.

--D-SIPL

------------------
If at first you don't succeed, destroy all evidence that suggests you tried

outcast

Member

Posts: 40
From: Guatemala City, Guatemala
Registered: 12-08-2004
Or when you compile you can compile with an interpreter built in so they don't even need to have any of the python front end tools installed. Jeff

------------------
Jeff McArthur. Creating Nak'Urij
BlueGill Studios Games

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
quote:
Originally posted by D-SIPL:
Thats the Gentoo live cd i think. It's an iso so it does unpack larger when you burn it to cd. Go here and download from one of the mirrors. Burn it onto cd. Boot the computer you want to install gentoo on (make sure cd is primary boot).

Type: links2 www.gentoo.org

They have pretty good instructions on the site if i remember, so don't be overwhelmed with the above.

[QUOTE]Why do I get the three greater than signs in Python is that where i can begin programming? And what's better in Python than Visual C++?



Thats where you run commands after >>> click file | new
This will open up the IDE. Start coding from there.
Python is OOP but with a basic easier syntax and commands imo. Plus it's cross platformable so whatever you write in windows will run in Linux, Mac etc as long as they have python installed on their computer.

[/QUOTE]


Yeah, but in linux, I can't find a GUI version of Python!
Also, what files do i download from the mirror and how do i burn them (or are thore questions on the gentoo site?


Does anyone with a PC use a MSI K7 K6TV Motherboard (I have no idea how to get into BIOS, no instructions with the manual either. I have never seen a motherboard like the one I have!)

------------------
Love, Life and Linux

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
What do you mean a GUI version of Python? Do you mean a graphical IDE? or a GUI builder, for building UI's?

You need to download the install live cd iso from that link i gave you (pick any mirror). Then open your cd writing software and select burn iso then burn.

--D-SIPL

------------------
"One World. One Web. One Program." -Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" -Adolf Hitler

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
quote:
Originally posted by D-SIPL:
What do you mean a GUI version of Python? Do you mean a graphical IDE? or a GUI builder, for building UI's?

yeah Graphical IDE my start menu entry (windows) say Python (GUI)
I could use a link for the GUI builder, after this question is answered :

What does the GUI builder do?

------------------
Love, Life and Linux

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
My First Python program (took me 1 hour to learn and 3 minutes to write)
C++ (still don't know how to do the things I've just done)

check it out:

www.troychurchofchrist.org/guatemala/js/CCN/index.html

hope it works, if not, PM me

------------------
Love, Life and Linux

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
the link you gave me to gentoo:

I've already tried downloading it. But i get tons of files in the distribution folder (HTTPS) do i download all of them?

------------------
Love, Life and Linux

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
The link you gave doesn't work. I would be interested to see how your getting on.

To get Gentoo follow This Link and select the install-x86-minimal-2004.3-r1.iso
The follow my instructions.

A pretty good GUI builder is Boa Constructor. You may wanna give that a go.

--D-SIPL

------------------
"One World. One Web. One Program." -Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" -Adolf Hitler

[This message has been edited by D-SIPL (edited February 10, 2005).]

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Ok. Lemme figure out why.

------------------
Love, Life and Linux

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
Ok i got it working now.

------------------
Love, Life and Linux

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
http://www.troychurchofchrist.org/guatemala/js/CCN/

just to be safe

------------------
Love, Life and Linux

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
So is there a graphical IDLE (or is that IDE) for linux.

Yo, D-SIPL, since i use pay-by-the-minute dial up and the internet cafe won't let me download more than 20 MB at a time, gentoo donloads will be halted for a while.

If you mean keep you "posted" on Python, sure. I can do that

------------------
Love, Life and Linux