473,390 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 software developers and data experts.

Starting out.

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.

Oct 12 '06 #1
19 1904
On Thu, 2006-10-12 at 16:37 -0700, Ahmer wrote:
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. :-))

--
Andrew Poelstra <http://www.wpsoftware.net/projects/>

Oct 12 '06 #2
Andrew Poelstra wrote:
(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

Oct 13 '06 #3
hg
Ahmer wrote:
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
Oct 13 '06 #4
(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

Oct 13 '06 #5
Tim Chase wrote:
typed with just the top-row of keys
'^[qwertyuiop]*$'
The longest being "typewriter" :)

hey, look, it's Friday
Oct 13 '06 #6
Ahmer wrote:
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_...e-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...kner_0300.html

http://www.python.org/workshops/2000...ner/pyYHS.html

Oct 13 '06 #7
Ahmer wrote:
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/Beginner...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

Oct 13 '06 #8

Richard Jones wrote:
Tim Chase wrote:
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
>
hey, look, it's Friday
Oct 13 '06 #9
Thanks Paddy. That post pretty much cleared up everything for me.

On Oct 13, 12:46 am, "Paddy" <paddy3...@netscape.netwrote:
Ahmer wrote:
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_...e-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...kner_0300.html

http://www.python.org/workshops/2000...ers/elkner/pyY...
Oct 13 '06 #10
>From what I can see Python and PHP have VERY simillar syntax (sorry if
I offended anyone but I am a "n00b".)

On Oct 13, 12:54 am, malkaro...@gmail.com wrote:
Ahmer wrote:
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 athttp://wiki.python.org/moin/BeginnersGuide/NonProgrammerswhich is for
non-programmers. If you feel like checking other resources, more are
linked tohttp://wiki.python.org/moin/BeginnersGuide.

Best luck,

k
Oct 13 '06 #11
On Fri, 2006-10-13 at 07:26 -0700, Ahmer wrote:
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.

--
Andrew Poelstra <http://www.wpsoftware.net/projects/>

Oct 13 '06 #12
On 2006-10-13, Andrew Poelstra <ap*******@false.sitewrote:
On Fri, 2006-10-13 at 07:26 -0700, Ahmer wrote:
>From what I can see Python and PHP have VERY simillar syntax (sorry if
I offended anyone but I am a "n00b".)
2) You may be thinking of Perl, which has a very similar syntax to PHP.
Perl has syntax?
In all the languages I've seen, Python is in a class of its own.
--
Grant Edwards grante Yow! Hand me a pair of
at leather pants and a CASIO
visi.com keyboard -- I'm living
for today!
Oct 13 '06 #13
Maybe you should say "amongst the longest"
>
pepperwort
perpetuity
perruquier
pirouetter
proprietor
repertoire
typewriter

But even that would be wrong.

rupturewort
>hey, look, it's Friday
proprietory
proterotype
rupturewort

according to my web2 list of words.

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

-tkc
Oct 13 '06 #14

Tim Chase wrote:
Maybe you should say "amongst the longest"

pepperwort
perpetuity
perruquier
pirouetter
proprietor
repertoire
typewriter

But even that would be wrong.

rupturewort
hey, look, it's Friday

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.
>
-tkc
Oct 13 '06 #15
<me********@aol.comwrote:

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
Oct 14 '06 #16

Hendrik van Rooyen wrote:
<me********@aol.comwrote:

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".....
Uh...that means something else (according to the Urban Dictionary).
>
- Hendrik
Oct 14 '06 #17
me********@aol.com wrote:
(according to the Urban Dictionary).
talk about reliable sources...

</F>

Oct 14 '06 #18

Fredrik Lundh wrote:
me********@aol.com wrote:
(according to the Urban Dictionary).

talk about reliable sources...
Well, as far as doing the research to prove them wrong,
I'll give it a miss.
>
</F>
Oct 15 '06 #19
Grant Edwards wrote:
>
Perl has syntax?

ROTFLMAO. In fact, that even motivated:

Psychotically Engineered Random Language.

--
Bill Pursell

Oct 15 '06 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: serge calderara | last post by:
Dear all, I have an application which is suppose to start another executable process. As soon as that process is running, I need to retrive its handle. The problem of the particular process I am...
2
by: ceadtinneh | last post by:
Folks, We're implementing a software based mirroring solution. This solution requires that the SQL Server service on the target server be stopped while data is being replicated from the source...
10
by: Andrew Bullock | last post by:
Hi, code: myClass x = new myClass(); x.dosomethingwith(x,y); How do i make dosomethingwith(x,y) run on a separate thread, and then inform the main thread when it has finished?
6
by: Arnie | last post by:
We're using the ServiceController class provided by the .NET Framework, programming in C#. We are using the Start() method to start a service from another service. This works fine most of the...
16
by: Jim Langston | last post by:
I know that functions starting with an underscore, or two underscores, are reserved by the compiler/c++ and should not be used by the user and may cause undefined behavior. My question is, how...
1
by: derik | last post by:
I hav a text file with N number of lines . i am able to read the file till the end .. in between many lines are starting with #. these lines starting with # are to be omitted. pleast help me in...
1
by: sathyan8294 | last post by:
i want to display the name starting with any letter(A-Z,a-z) in textbox from sqldatabase through datagrid using vb.net windows application. for example, values are in datagrid like companyid ...
11
by: Gustaf | last post by:
Some error handling code: catch (System.Xml.XmlException e) { Console.WriteLine("Error in " + e.SourceUri + ": " + e.Message); return; } The output:
1
by: ropo | last post by:
I have a .NET 2.0 app that at one point starts an old MFC App through System.Diagnostics.Process.Start from a model form/ I then wait for it to finish by calling StartedProcess.WaitForExit(); ...
7
by: PaulaCM | last post by:
Hello Again Byters (hmmm... that sounded better in my head!)! Question on Primary Keys / Auto numbering. I want to make sure that each record has its own individual ID (hence primary key) but,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.