Starting out.

A

Ahmer

Hi all!

I am a 15 year old High School Sophomore. I would like to start
programming in Python. In school, we are learning Java (5) and I like
to use the Eclipse IDE, I also am learning PHP as well.

What are some ways to get started (books, sites, etc.)? I am usually on
linux, but I have a windows box and am planning on getting a mac.
 
A

Andrew Poelstra

Hi all!

I am a 15 year old High School Sophomore. I would like to start
programming in Python. In school, we are learning Java (5) and I like
to use the Eclipse IDE, I also am learning PHP as well.

What are some ways to get started (books, sites, etc.)? I am usually on
linux, but I have a windows box and am planning on getting a mac.

Start by learning two hours' worth of Java. Then you can blow off the
rest of the course, if your school's anything like mine.

I learned Python from "A Byte of Python". It was okay, although not very
refined last I checked. From there you just need to work on some random
projects, and you'll become more proficient.

(OT: Try to type 'proficient' with one hand on a US keyboard. :))
 
R

Richard Jones

Andrew said:
(OT: Try to type 'proficient' with one hand on a US keyboard. :))

On the Internet, nobody wants to know when you're typing one-handed.


Richard
 
H

hg

Ahmer said:
Hi all!

I am a 15 year old High School Sophomore. I would like to start
programming in Python. In school, we are learning Java (5) and I like
to use the Eclipse IDE, I also am learning PHP as well.

What are some ways to get started (books, sites, etc.)? I am usually on
linux, but I have a windows box and am planning on getting a mac.
Eclipse does take time to get used to ... not sure you want to put this
between you and your learning Python ... you might want to assess a two
step process.

This is a very good introduction to python
(http://www.diveintopython.org/) ... and then there are a billion of
good books.

hg
 
T

Tim Chase

(OT: Try to type 'proficient' with one hand on a US keyboard. :))

A number of nice words like that:

authenticity
proficiency
entitlement
enchantment
protozoans
proficient
antisocial
tutorials
tormentor
shanghais
shamrocks
rhapsodic
protozoan
pantheism
handiwork
flamencos
fishbowls
firmament
endowment
dyspeptic
dyspepsia
downturns
downright
divisible
disorient
dismantle
dirigible
cockfight
authentic


Try it yourself:
>>> import re
>>> r = re.compile('^[yuiophjklnm]?([asdfgqwertzxcvb][yuiophjklnm])*[asdfgqwertzxcvb]?$')
>>> for line in file('/usr/share/dict/words'):
.... line = line.strip()
.... if r.match(line): print line
....

which finds words that (on a QWERTY keyboard) are touch-typed
with alternating left/right hands.

In a fit of late-night boredom, I played with regexps that will
find words of the following classes of words (on a QWERTY keyboard):
typed with just the left-hand
'^[qwertasdfgzxcvb]*$'
typed with just the right-hand
'^[yuiophjklnm]*$'
typed with just the top-row of keys
'^[qwertyuiop]*$'
typed with just the home-row of keys
'^[asdfghjkl]*$'
typed with just the home-row keys
'^[asdfjkl]*$'


Beware...they're fun :)

-tkc
 
P

Paddy

Ahmer said:
Hi all!

I am a 15 year old High School Sophomore. I would like to start
programming in Python. In school, we are learning Java (5) and I like
to use the Eclipse IDE, I also am learning PHP as well.

What are some ways to get started (books, sites, etc.)? I am usually on
linux, but I have a windows box and am planning on getting a mac.

Pydev gives you a Python mode for Eclipse:
http://pydev.sourceforge.net/
The Python tutorial is a good way to learn Python:
http://docs.python.org/tut/
Some pointers on writing Python for Java programmers:
http://www.ferg.org/projects/python_java_side-by-side.html
I guess you are new to both Java and Python, but if you know Java and
were starting Python, the following points out that certain idioms of
Java do not translate well to Python:
http://dirtsimple.org/2004/12/python-is-not-java.html

And finally: Lets 'big-up' Python:
http://www.paulgraham.com/pypar.html

I hope you enjoy Python.
All the best, Paddy.


P.S. maybe your High school might be interested in teaching Python as a
first language rather than Java?
http://www.oreilly.com/pub/a/oreilly/frank/elkner_0300.html

http://www.python.org/workshops/2000-01/proceedings/papers/elkner/pyYHS.html
 
M

malkarouri

Ahmer said:
Hi all!

I am a 15 year old High School Sophomore. I would like to start
programming in Python. In school, we are learning Java (5) and I like
to use the Eclipse IDE, I also am learning PHP as well.

What are some ways to get started (books, sites, etc.)? I am usually on
linux, but I have a windows box and am planning on getting a mac.

Generally good choices. I don't prefer PHP, however. For somebody who
is learning programming, it encourages sloppy programming.

I would suggest that you use PyDev (http://pydev.sourceforge.net/), a
Python plugin for Eclipse, for Python programming. It is a helpful
environment, especially for somebody already using Eclipse.

For resources, I suggest you take a look at
http://wiki.python.org/moin/BeginnersGuide/NonProgrammers which is for
non-programmers. If you feel like checking other resources, more are
linked to http://wiki.python.org/moin/BeginnersGuide .

Best luck,

k
 
M

mensanator

Richard said:
Tim said:
typed with just the top-row of keys
'^[qwertyuiop]*$'

The longest being "typewriter" :)

Maybe you should say "amongst the longest"

pepperwort
perpetuity
perruquier
pirouetter
proprietor
repertoire
typewriter

But even that would be wrong.

rupturewort
 
A

Ahmer

From what I can see Python and PHP have VERY simillar syntax (sorry if
I offended anyone but I am a "n00b".)
 
A

Andrew Poelstra

From what I can see Python and PHP have VERY simillar syntax (sorry if
I offended anyone but I am a "n00b".)

Two things:
1) Don't toppost. Your response should go after or interspersed with
your quote, not above it.
2) You may be thinking of Perl, which has a very similar syntax to PHP.
In all the languages I've seen, Python is in a class of its own.
 
T

Tim Chase

Maybe you should say "amongst the longest"
pepperwort
perpetuity
perruquier
pirouetter
proprietor
repertoire
typewriter

But even that would be wrong.

rupturewort

proprietory
proterotype
rupturewort

according to my web2 list of words.

Hey, look, it's Friday, after 5:00pm! :)

-tkc
 
M

mensanator

Tim said:
proprietory
proterotype
rupturewort

according to my web2 list of words.

Hey, look, it's Friday, after 5:00pm! :)

Well, I'm on vacation this week, so 5 pm means nothing to me:

teetertotter

from the Consolidated Word List from puzzlers.org.

Yes, it's also spelled with a hyphen or a space, but as long as this
is a valid spelling, it counts.

I would recommend NOT looking this up, just take my word for it.
You may be offended at what you find.
 
H

Hendrik van Rooyen

8<------------------------
Well, I'm on vacation this week, so 5 pm means nothing to me:

teetertotter

from the Consolidated Word List from puzzlers.org.

Yes, it's also spelled with a hyphen or a space, but as long as this
is a valid spelling, it counts.

I would recommend NOT looking this up, just take my word for it.
You may be offended at what you find.

did not need to look it up - I know that teetertotter is a complicated word for
"see-saw".....

- Hendrik
 
M

mensanator

Hendrik said:
8<------------------------


did not need to look it up - I know that teetertotter is a complicated word for
"see-saw".....

Uh...that means something else (according to the Urban Dictionary).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top