Learning Python.. (I just dont get it)

+1 Michael Marshall · January 1, 2015
Hi all,

Very new to Programming. thought i would give Python a go. really wanted to learn how to program my own apps/small games but i think im living in dream land.

i started to go through the tutorials on this site, which has been the best so far, but i just dont understand it.
to me it just feels like im using another text editor like word.

an example of my confusion is:

Varibles.  Tuna = anything                   a=b             Bread = Butter

Why not just type "Anything" or "B" or "Butter"???

and how does all this make a program once learned?  i no im jumping the gun abit as ive only just started the tutorials but im starting to forget all this stuff is teaching me already but i dont see how its important.

PLEASE dont get me wrong, i no its very important and i admire you guys that have taken it in. but should i just give up now?

Post a Reply


- page 2
Oldest  Newest  Rating
0 Chris Nelson · January 8, 2015
Hey you are right on track!

However I might start a new thread for any more questions after this!

I would continue with Python 3. Although 2.7 is widely used. They are already talking about Python 4. Mean if you learn 2.7 you would be nearly 2 releases behind. Use some other video sources if you want to. But most of the Python 2 videos, should work with Python 3 as well.

As for the modules. I would suggest getting PyCharm. In PyCharm when you import a module, it will try to help you with things you get do with that module for example..

from tkinter import *
root = Tk()
root.title("My Window")
root.##PyCharm will try to give me a list of options I can use on root ##

What you are referring to is the dot notation. My example above is the same thing. However, it all depends on what module you are importing and using. For example if you import the time module

import time
##Time, is the module, sleep is a command to stop the program on that line for 2 seconds.

You can only learn these by using them. And even then I am sure some people still need to look up exactly what you can call with them.

Hope that helps!
0 Patricia Ghann · January 9, 2015
Please don't give up. I also just got started with python. 
You can create a variable by naming the variable  and assigning it values or  elements if you want
For  example
>>> tuna = [1,2,3,4]
When you press enter tuna is created and contains the numbers 1 to 4
>>>tuna [1] will give you the value 2
>>> tuna.append(5)
Will  add the element 5 to your tuna elements so you tuna now contains the element 1 to 5
tuna[:] and press enter will give you all the elements in tuna.

Please, please don't give.
0 Snoopy_ Dog · January 11, 2015

   Relax, learning to program is difficult for most people.  I am trying to learn Python too, and I am having a hard time of it too, and I have used other languages, so I am not new to programming.

   When I want to learn something technical I use multiple resources.  Videos whet my appetite, but books are usually where I gain the most insight.  Asking questions fill in the gaps.  You have to write code, use code, in order to learn programming.  It's like math, you have to use it to learn it.  At least it is that way for me.   Also, I have to work on specific problems and solutions.  At the end of each chapter in good books, usually there are a set of exercises with solutions, that help you gain a better understanding of the chapter you just read.

   There are a lot of resources on the internet that can help you, here are some of what I am using:

   1.  I personally am sticking with Python 2, I can later learn 3 if I need it or determine it's better.

   2.  Here is a free book online that I find very useful:  http://www.diveintopython.net/

   3.  Here is a a few reference/cheat-sheets that may help you:

    4.  I would also look around for some exercises and solutions.  These will help you have a desire, and sense of accomplishment to actually write a program.

   5.  These forums and python.org can help answer you questions.

   6.  Lastly, if your goal is to become a programmer, find an opensource project that uses python.  You can read through bug reports, see how they are patched, see questions and answers, etc...  join in and write patches and contribute.  Use https://openhatch.org/ to locate python specific projects.

   I have a feeling, after a few weeks, this will look easier to you.  And you will be glad you persisted.

   I hope to see you at PyCon 2015 Montreal in April!  

Good luck,

  • 1
  • 2



This section is all about snakes! Just kidding.

Bucky Roberts Administrator