11 Replies - 956 Views - Last Post: 17 August 2011 - 11:08 PM Rate Topic: -----

#1 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

New to programming

Posted 14 August 2011 - 03:30 PM

I'm new to programming an have done a few things in python. If someone would be kind enough to tell me everything I need to download in order to start making gui's along some simple gui's to start with. Also, should I use my Mac or PC?


---
- Sent from my iPad using Tapatalk

This post has been edited by iJasonTATE: 14 August 2011 - 03:34 PM

Is This A Good Question/Topic? 0
  • +

Replies To: New to programming

#2 darek9576  Icon User is offline

  • D.I.C Lover

Reputation: 198
  • View blog
  • Posts: 1,693
  • Joined: 13-March 10

Re: New to programming

Posted 14 August 2011 - 03:55 PM

Whats the point in making GUIs when you are first starting out.

-- Sent from my house.
Was This Post Helpful? 0
  • +
  • -

#3 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: New to programming

Posted 14 August 2011 - 04:01 PM

Crushing my dreams...


---
- Sent from my iPad using Tapatalk

What should I start with?


---
- Sent from my iPad using Tapatalk
Was This Post Helpful? 0
  • +
  • -

#4 DustBall  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 2
  • Joined: 29-July 11

Re: New to programming

Posted 14 August 2011 - 04:04 PM

@iJasonTATE

I'm like you...new to python. I found the best info about gui's on the python.org site

http://wiki.python.o.../GuiProgramming

I finally went with wxPython
Two tutorials that I found most helpful are:

http://zetcode.com/wxpython/
http://wiki.wxpython...AnotherTutorial

Google is your friend

Happy programming!
Was This Post Helpful? 1
  • +
  • -

#5 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: New to programming

Posted 14 August 2011 - 05:01 PM

Thanks!


---
- Sent from my iPad using Tapatalk
Was This Post Helpful? 0
  • +
  • -

#6 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: New to programming

Posted 14 August 2011 - 06:40 PM

I've decided to do simpler stuff(since i'm only 14). I'm writing simple stuff like this"
[#!/user/bin/python]
[Name1 = Jason]
[Age1 = 14]
[print Name1, Age1]
[Jason, 14]
Was This Post Helpful? 0
  • +
  • -

#7 evilyoshi  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 20
  • Joined: 13-August 11

Re: New to programming

Posted 14 August 2011 - 07:38 PM

i dont think youre age makes you less able to program. just learn the basic stuff first, and then try to do something more advanced. im 15, and i seem to understand very well. A very good book for learning python 2 is "learning python the hard way" i am dong the excercises and they are wonderful. if you are interested here is the link.
http://learnpythonthehardway.org/book/

just thought i would post that, because im sure you could make a GUI. just master the basics if you have not done so already.
Was This Post Helpful? 0
  • +
  • -

#8 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: New to programming

Posted 14 August 2011 - 08:06 PM

Okay, thanks. Within the hour I'm really grasping python!


---
- Sent from my iPad using Tapatalk
Was This Post Helpful? 0
  • +
  • -

#9 chemicalfan  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 88
  • Joined: 16-October 09

Re: New to programming

Posted 15 August 2011 - 08:34 AM

View PostiJasonTATE, on 14 August 2011 - 07:40 PM, said:

I've decided to do simpler stuff(since i'm only 14). I'm writing simple stuff like this"
[#!/user/bin/python]
[Name1 = Jason]
[Age1 = 14]
[print Name1, Age1]
[Jason, 14]


Err, that won't work - your path is almost certainly "/usr/bin/python".
Also, encapsulating everything in [] will make Python think you're creating lists.
I'm guess you meant to do
Code here!


Anyway, Tkinter is the built-in GUI toolkit for Python, and it's good enough for me :)
I'd suggest using examples and trying to work out what each line is about. Try these pages:
http://www.ferg.org/...nter/index.html
http://www.tutorials...programming.htm
http://www.pythonwar...ction/index.htm

Of course, wxWidgets is a fine toolkit too, as are PyGTK & PyQT, but you'll need to install them seperately.

There are GUI designers, for all 4 of the mentioned toolkits, but in the very beginning, you should learn to hand-code. It won't be pretty, and it'll take ages to do seemingly very little, but you'll be glad you put in the effort when debugging bigger code later (the kind that the GUI designer will produce!)

Perserverance is the key - I grasped Python fairly quickly, but I still can't program GUIs without a reference manual to hand.

Oh, just to throw this in there - a "GUI" nowadays doesn't have to be a standalone app, it can be a mechanism to publish to a webpage. But that's for another topic ;)
Was This Post Helpful? 0
  • +
  • -

#10 iJasonTATE  Icon User is offline

  • New D.I.C Head

Reputation: -10
  • View blog
  • Posts: 41
  • Joined: 14-August 11

Re: New to programming

Posted 15 August 2011 - 01:20 PM

View Postchemicalfan, on 15 August 2011 - 08:34 AM, said:

View PostiJasonTATE, on 14 August 2011 - 07:40 PM, said:

I've decided to do simpler stuff(since i'm only 14). I'm writing simple stuff like this"
[#!/user/bin/python]
[Name1 = Jason]
[Age1 = 14]
[print Name1, Age1]
[Jason, 14]


Err, that won't work - your path is almost certainly "/usr/bin/python".
Also, encapsulating everything in [] will make Python think you're creating lists.
I'm guess you meant to do
Code here!


Anyway, Tkinter is the built-in GUI toolkit for Python, and it's good enough for me :)
I'd suggest using examples and trying to work out what each line is about. Try these pages:
http://www.ferg.org/...nter/index.html
http://www.tutorials...programming.htm
http://www.pythonwar...ction/index.htm

Of course, wxWidgets is a fine toolkit too, as are PyGTK & PyQT, but you'll need to install them seperately.

There are GUI designers, for all 4 of the mentioned toolkits, but in the very beginning, you should learn to hand-code. It won't be pretty, and it'll take ages to do seemingly very little, but you'll be glad you put in the effort when debugging bigger code later (the kind that the GUI designer will produce!)

Perserverance is the key - I grasped Python fairly quickly, but I still can't program GUIs without a reference manual to hand.

Oh, just to throw this in there - a "GUI" nowadays doesn't have to be a standalone app, it can be a mechanism to publish to a webpage. But that's for another topic ;)

It worked because that is not how I exactly typed it!!!!!!! i put my code in brackets like the site said thankyou.
Was This Post Helpful? 0
  • +
  • -

#11 aonbyte  Icon User is offline

  • New D.I.C Head

Reputation: 6
  • View blog
  • Posts: 26
  • Joined: 08-October 10

Re: New to programming

Posted 17 August 2011 - 02:21 AM

View PostiJasonTATE, on 15 August 2011 - 01:20 PM, said:

It worked because that is not how I exactly typed it!!!!!!! i put my code in brackets like the site said thankyou.


Put your code in code tags as in [ code]code goes here[/code]
Was This Post Helpful? 1
  • +
  • -

#12 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: New to programming

Posted 17 August 2011 - 11:08 PM

welcome to DIC jason. I must agree that you should not be starting with GUI's. Learn how to make your programs pretty on the inside, then concern yourself with their outward appearance.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1