Learning Python: Where to start?

  • Context: Python 
  • Thread starter Thread starter some_letters
  • Start date Start date
  • Tags Tags
    Python
Click For Summary
SUMMARY

The discussion centers on self-learning Python as a programming language, particularly for individuals with prior experience in Java. Key resources recommended include MIT's courseware for introductory computer science, "Learn Python the Hard Way," and various online platforms such as SciPy and Matplotlib. Participants emphasize Python's utility and recommend it over languages like Fortran and C++ for beginners, while also noting the importance of understanding both a hard language and a glue language for broader programming skills.

PREREQUISITES
  • Basic understanding of programming concepts from Java
  • Familiarity with online learning platforms
  • Knowledge of Python syntax and structure
  • Awareness of scientific programming applications
NEXT STEPS
  • Explore MIT OpenCourseWare for introductory Python courses
  • Study "Learn Python the Hard Way" for structured learning
  • Investigate SciPy and Matplotlib for scientific computing and data visualization
  • Research the differences between Python, C++, and Fortran for informed language selection
USEFUL FOR

Individuals transitioning from Java to Python, self-learners in programming, and physics majors seeking to enhance their computational skills.

some_letters
Messages
54
Reaction score
0
I'll be working for most of the summer and won't be able to take classes in anything so instead I will be teaching myself a new programming language! I have experience with java already and I've heard from places around the web that Python is both fun and useful. I figure I'll give it a shot.

Does anyone know of a good site to get started learning python? MIT has courseware for their intro to CSC class that teaches python but if there is an easier way for an amateur (I've had two semesters of java) then please point me in that direction.

if this happens to be in the wrong section, my apologies. Thanks!

EDIT: I'm a rising sophomore majoring in Physics. Are there different languages that would best suit my needs at this point?
 
Last edited:
Technology news on Phys.org
So you have some experience in another Object-oriented language, Java, already?

In which case, I've heard good things about Learn Python the Hard Way, though you'll have to pay for any format other than HTML. I don't like their approach about memorizing the names of all the symbols (arbitrary conventions given to shapes), but it's still okay.
 
Last edited:
some_letters said:
I'll be working for most of the summer and won't be able to take classes in anything so instead I will be teaching myself a new programming language! I know java already and I've heard from places around the web that Python is both fun and useful. I figure I'll give it a shot.

Does anyone know of a good site to get started learning python? MIT has courseware for their intro to CSC class that teaches python but if there is an easier way for an amateur (I've had two semesters of java) then please point me in that direction.

if this happens to be in the wrong section, my apologies. Thanks!

I would say I'm still learning python but these have been real useful resources for me:

http://www.scipy.org/SciPy

http://matplotlib.sourceforge.net/

http://www.youtube.com/playlist?list=PL9FAE4422FA13FDE4&feature=plcp
 
Last edited by a moderator:
One of the introductory CS courses on MIT OCW teaches using Python. I enjoyed it.
 
In that "So You Want to Be a Physicist?" thread, he states that the two most widely used programming languages used by physicists are FORTRAN and C++.

Although, if they're so widely used by physicists, my guess is that there are various course options to learn those languages, and that they wouldn't require you to learn them on your own, in which case there can't be any harm in expanding your knowledge and learning another programming language.

I'm not fit to really tell you what to do, I just know that, in that specific thread written by a physicist, he pointed towards FORTRAN and C++ being beneficial to learn if you want to pursue a career in physics.

Here's the link to the thread: https://www.physicsforums.com/showthread.php?t=240792

I've been thinking about possibly learning C++ myself, since I'm still not entirely sure that physics is for me, so I want to experiment with computer programming and other scientific or technological endeavors that could potentially point me in the right direction.
 
AnTiFreeze3 said:
In that "So You Want to Be a Physicist?" thread, he states that the two most widely used programming languages used by physicists are FORTRAN and C++.
You generally want to know both a hard language (like C++) and a glue language (like Python). Those languages have different application domains. If you really can learn only one of them, not both, then choose Python because it will be more useful in your daily life (as non-programmer).

I would strongly advise against learning Fortran unless you really need it, *especially* not as a first language. First: Fortran is very simple, and if you are fluent in any other procedural language (like C++), you can pick it up in one or two days (I'm not joking). Second: Fortran, as commonly practiced, is missing many essential language features (e.g., it is quite possible to find a million line Fortran application which does not have a single compound type). Not having those features from the start will prevent you from learning how to use them naturally and productively, and it will lead to very bad and counterproductive programming habits.
 
Hey, just go tho the Pythong Programming website. It's really useful and gives you step-by-step directions.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
Replies
13
Views
3K
Replies
1
Views
2K
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K