PDA

View Full Version : Several questions



theyain
October 18th, 2007, 08:55 PM
Say if I were going to create a tool for Ubuntu that was GUI based, what do you think would probably be the best overall programming language to use? I presume C and Python


Lets say I wanted to edit the Ubuntu ISO by editing the way it installs. Ex: It would still asking you for the language you speak, your keyboard type, time zone and the rest, but it would also ask you a few questions and then set a wallpaper based on those questions..

Sorry if thats confusing, but what programming language would I have to learn to do that?

smartbei
October 18th, 2007, 09:02 PM
I am pretty sure you could do all that with Python, which would probably be simplest. Can't give you any tips on how though...

Cannaregio
October 18th, 2007, 09:06 PM
Go ahead and enjoy:

http://www.network-theory.co.uk/docs/pytut/

http://www.network-theory.co.uk/docs/pylang/

You'll never regret it.

Wybiral
October 18th, 2007, 09:07 PM
The Ubuntu community does encourage the use of Python for tools like that (it's actually mentioned somewhere on the site).

pmasiar
October 18th, 2007, 09:16 PM
You never mentioned your current skill level, so it is hard to give any good advice: all is just generic banter. :-)

Yes, Python is great language, and very popular in ubuntu (Mark hacks it, and it made him his 500M) :-)

Wiki in my sig has plenty of links to good online books (better that standard Py tutorial above, which is for somewhat experienced programmers). If you do have experience, "Dive into Python" is the way to go.

You are in luck: after Gutsy release (WOOOHOOOO!) there will be many "training camps" for new developers. http://planet.ubuntulinux.org/ has the links

theyain
October 18th, 2007, 11:09 PM
You never mentioned your current skill level, so it is hard to give any good advice: all is just generic banter. :-)
The only programming language I have done anything with is BASIC. I can do a lot of stuff with it, but everything I learned was done on a TI-83. I have played around with python before, but not much ( "Hello World" and a few programs to help with my D&D games )



Yes, Python is great language, and very popular in ubuntu (Mark hacks it, and it made him his 500M) :-)

Wiki in my sig has plenty of links to good online books (better that standard Py tutorial above, which is for somewhat experienced programmers). If you do have experience, "Dive into Python" is the way to go.

You are in luck: after Gutsy release (WOOOHOOOO!) there will be many "training camps" for new developers. http://planet.ubuntulinux.org/ has the links

Alrighty, that should help.

I like to program and can do a lot with very little, the only thing is I need someone to make me read the tutorial. I have a horrible attention span.

slavik
October 19th, 2007, 03:01 AM
sounds like sysadmin work, I would recommend Perl :)

pmasiar
October 19th, 2007, 01:36 PM
If you want your tool be accepted in Ubuntu oficially, Python is the safest bet.

Don't mind slavik, he is jealous on me promoting Python, and tries to hype Perl. But as every Monty Python fan knows, parrot is dead (http://www.mtholyoke.edu/~ebarnes/python/dead-parrot.htm) - I have no idea what they were thinking, to name next version, Python6, after a dead animal! :-)

LaRoza
October 19th, 2007, 01:40 PM
Say if I were going to create a tool for Ubuntu that was GUI based, what do you think would probably be the best overall programming language to use? I presume C and Python

Sorry if thats confusing, but what programming language would I have to learn to do that?
Python would be best for this, for Intergration with Ubuntu, and ease of use. My wiki has links for Python, among other languages. C would not be the best for this task.

In theory, every programming language can do any task, but in practice, certain languages are best for certain tasks.