473,406 Members | 2,259 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,406 software developers and data experts.

Mastering Python

Hi everyone,
Can you please advice me. I have tried writing codes in my programming languages(C, Visual Basic, Java) but eventually i left them because i found programming difficult, i was just told that Python is easy. Can u please advice on how to master python well so that i will not have to get frustrated again. I am moving to work in bioinformatics. Pls tell me what is wrong with me ? why do i find programming difficult ?How can i improve programming in python ?
Thanks
Sep 5 '06 #1
4 2167
Every programming language is like learning a foreign language or musical instrument. The first language is the hardest (especially if it was C) and after that the difficulty steadily goes down after each language you learn. This is because all languages are similar in many ways, some more then others.

I went through the exact same steps you’re going through now. The thing is that you have to find the language that you enjoy. As an example python's structure forces you to indent which forces you to keep you syntax orderly? That was one of the plus sides for me. Also python is an object oriented language so you can just plug and play, and anything you import is package into a file like object that can be used to do what ever you want with it, no matter where you imported it from.

My suggestion in learning python is to either pick up a book. I just like having a reference book sit next to me while i work on stuff, so that i can refer to it quickly. You can also use online books such as:

Dive Into Python (Very good book for beginners and its free)
http://diveintopython.org/

Orielly's books are a step above everyone else i highly recommend them.
Also if you are going to any college they most likely subscribe to O'rielly's Safari books, just go through the schools either library website, computer science website, or research website.
Safari also has a two week free membership to view all their books for free for two weeks, just make sure you drop out of the program before two weeks or they charge you a subscription fee.

Also keep on going back to forums you can learn a lot, by trying to help people with questions and just reading solutions.

The biggest thing though is to have a goal in mind, such as a project or challenge you set for yourself. Say you want to make a program that makes it easier to transfer files to a different computer or organize your mp3s by name, whatever. A set project helps you to stay driven and is satisfying at the end. Plus it doesn’t feel like a chore to learn because you are working on something you wan to work on.

Hope this helps, also Google and forums are you best friend.
Sep 5 '06 #2
bartonc
6,596 Expert 4TB
Every programming language is like learning a foreign language or musical instrument. The first language is the hardest (especially if it was C) and after that the difficulty steadily goes down after each language you learn. This is because all languages are similar in many ways, some more then others.

I went through the exact same steps you’re going through now. The thing is that you have to find the language that you enjoy. As an example python's structure forces you to indent which forces you to keep you syntax orderly? That was one of the plus sides for me. Also python is an object oriented language so you can just plug and play, and anything you import is package into a file like object that can be used to do what ever you want with it, no matter where you imported it from.

My suggestion in learning python is to either pick up a book. I just like having a reference book sit next to me while i work on stuff, so that i can refer to it quickly. You can also use online books such as:

Dive Into Python (Very good book for beginners and its free)
http://diveintopython.org/

Orielly's books are a step above everyone else i highly recommend them.
Also if you are going to any college they most likely subscribe to O'rielly's Safari books, just go through the schools either library website, computer science website, or research website.
Safari also has a two week free membership to view all their books for free for two weeks, just make sure you drop out of the program before two weeks or they charge you a subscription fee.

Also keep on going back to forums you can learn a lot, by trying to help people with questions and just reading solutions.

The biggest thing though is to have a goal in mind, such as a project or challenge you set for yourself. Say you want to make a program that makes it easier to transfer files to a different computer or organize your mp3s by name, whatever. A set project helps you to stay driven and is satisfying at the end. Plus it doesn’t feel like a chore to learn because you are working on something you wan to work on.

Hope this helps, also Google and forums are you best friend.
I wish this guy had stuck around. He last visited 2 days after I joined. Dang!
Jan 8 '07 #3
bvdet
2,851 Expert Mod 2GB
EvanPMth made some excellent points. My favorite is to set a project for yourself - keep it fairly simple - and see it through to the end. You can get help on this forum if you need it.

Another suggestion is to peruse some of the threads on this forum, seeking out those that do not require external packages at first, and study the logic. Sometimes the code snippets you can find online can be very useful in your projects. One more - Use a Python IDE such as Pythonwin or Idle (there are many others) to write and test your code. HTH.
Jan 8 '07 #4
Hi everyone,
Can you please advice me. I have tried writing codes in my programming languages(C, Visual Basic, Java) but eventually i left them because i found programming difficult, i was just told that Python is easy. Can u please advice on how to master python well so that i will not have to get frustrated again. I am moving to work in bioinformatics. Pls tell me what is wrong with me ? why do i find programming difficult ?How can i improve programming in python ?
Thanks
Well obviously you will have to work with GUI's. But if I can give you some advice, learn Python very well. Another piece of advice, play a lot with it. The more you play with it, the better you will get it right and like programming more.
Another fun thing is using wxPython for GUI's.
Python is actually nice considering that you don't have to declare the types you are going to use. To learn to use GUI's, this website is the best: http://wiki.wxpython.org/index.cgi/AnotherTutorial, It gives some tutorials for the basics
Jan 10 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: ChChanges | last post by:
Hi - I am going to buy a few books on CSS by Eric Meyer - I see that he is one of the leaders in CSS... Could somebody give me their opinion about the newer book 'More Eric Meyer on CSS' ? ...
388
by: maniac | last post by:
Hey guys, I'm new here, just a simple question. I'm learning to Program in C, and I was recommended a book called, "Mastering C Pointers", just asking if any of you have read it, and if it's...
7
by: Moritz Beller | last post by:
Hello! Users with any sort of experience with this book, especially in terms of coding and understanding the code are welcome her. Does it really damage a C++ programmer's coding style as one...
9
by: indujana | last post by:
i want the source code in java to retrive a word from a file which has more than 50,000 words.The file is named as "english.0" which contains most of the words in english which i am using as a...
29
by: Gerald | last post by:
Hi ,Im a BSc4 Maths/Computer Science student.Unfortunately my curriculum did not include Python programming yet I see many vacancies for Python developers.I studied programming Pascal,C++ and...
6
by: a | last post by:
I’m so sorry for this long question? Can you please tell me what is the way to mastering programming with vb.net? What is require? What the steps? What content should I know?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.