473,543 Members | 2,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mastering Python

1 New Member
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 2177
EvanPMth
3 New Member
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 Recognized Expert Expert
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 Recognized Expert Moderator Specialist
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
Extremist
94 New Member
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.o rg/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
1722
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' ? How does it compare to the original book 'Eric Meyer on CSS: Mastering the Language of Web Design' ? Which one is preferred?
388
21431
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 worth the $25USD. I'm just looking for a book on Pointers, because from what I've read it's one of the toughest topics to understand. thanks in...
7
2291
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 said on, if I remember correctly, Amazon? Does it cover the main parts to know about and is it well written? best regards,
9
1673
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 dictionary.........
29
560
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 Delphi.So I need to catch up quickly and master Python programming.How do you suggest that I achieve this goal?Is python platform independent?What is...
6
1991
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
7355
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7594
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7748
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5892
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5285
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4900
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3395
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3395
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
979
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.