• Wanting to learn Python. Good starter choice?
    29 replies, posted
I want to learn some new programming language. I have heard Python is really good for beginners. Whats your opinion? I know basic stuff like... ( Python ) print 'Hello world!' other then that, i dont know anything.
[QUOTE=ducky5;19003940]I want to learn some new programming language. I have heard Python is really good for beginners. Whats your opinion? I know basic stuff like... ( Python ) print 'Hello world!' other then that, i dont know anything.[/QUOTE] [url]http://diveintopython.org[/url] [url]http://diveintopython3.org[/url] That'll pretty much get you up to speed.
The whole "good for beginners" thing isn't worth much in my opinion. It isn't difficult to learn any language really. What kind of applications do you hope to make? How far do you want to take it? Do you want to do it as a job?
[QUOTE=Jallen;19006074]The whole "good for beginners" thing isn't worth much in my opinion. It isn't difficult to learn any language really. What kind of applications do you hope to make? How far do you want to take it? Do you want to do it as a job?[/QUOTE] Well, your opinion is wrong. Have you considered other people may not learn like you *can*?
[QUOTE=efeX;19007111]Well, your opinion is wrong. Have you considered other people may not learn like you *can*?[/QUOTE] You would have to be retarded to not be capable of learning any third generation language as a first language.
[QUOTE=Jallen;19007148]You would have to be retarded to not be capable of learning any third generation language as a first language.[/QUOTE] Ignorant
[QUOTE=Pj The Dj;19007154]Ignorant[/QUOTE] They all use the same constructs, decision structures, loops, the only difference is syntax, something which, if you can't learn, you are [I]literally[/I] retarded because it is something built into the human brain and used every day in grammatically correct sentences.
It seems like Python is the new Lua when it comes to beginner languages.
[QUOTE=TrafficMan;19007175]It seems like Python is the new Lua when it comes to beginner languages.[/QUOTE] Python has been the most recommended language for beginners since forever.
wow lots of different opinions
[QUOTE=ducky5;19009847]wow lots of different opinions[/QUOTE] Just ignore jallens posts
[QUOTE=Jallen;19007167]They all use the same constructs, decision structures, loops, the only difference is syntax, something which, if you can't learn, you are [I]literally[/I] retarded because it is something built into the human brain and used every day in grammatically correct sentences.[/QUOTE] Thanks for that... Now i know i will never start on programming.
[QUOTE=ducky5;19009847]wow lots of different opinions[/QUOTE] Any programming language is possible for beginners, some just make the learning process a little less painful. Usually, the recommended language is whichever language you're the most interested in, or maybe a language one of your friends know. If you've no idea though, a scripting language is usually a good place to start because they tend to be the least redundant and most productive programming languages. Python, Lua, Ruby, PHP, Perl, you've probably heard of at least a few scripting languages before. Looking at the thread title, you've already had your eyes on Python in particular. That pretty much answers your own question - so start with Python! When trying other languages later, any programming experience with any language is extremely helpful. For example, if you one day want to try say, C++, knowing any amount of Python will make it many times easier to learn it. In other words, what your starting language is isn't important at all, and you should go for whatever language you're currently the most motivated to learn.
[QUOTE=Jallen;19007167]They all use the same constructs, decision structures, loops, the only difference is syntax, something which, if you can't learn, you are [I]literally[/I] retarded because it is something built into the human brain and used every day in grammatically correct sentences.[/QUOTE] You're kind of right. I don't think it would matter if someone learned Python, Lua, Java, or C# as a first language. But there are some languages that aren't so good for a beginner like C. I learned C as my first language, and it's a bit tougher because you have to use char arrays for strings and you can't really do dynamically sized arrays. The language itself is really simple and easy, but doing something advanced with it can be painful. One of the first things most people will program is something that will ask for the user to type in something. With C that can be fairly difficult since you don't know how much the user will type, so young programmers end up with a really big char array that will be mostly empty 99% of the time. [editline]10:54AM[/editline] But if you learn basic C syntax, you can pick up C++ and Java really fast.
Depends on what you want to achieve with this. If you just want to learn a few new things about programming practices and software design in general go with Python. With the right libs you can get decent understanding for stuff like GUIs, algorithms and OO while avoiding (to most people) nasty syntax. Enough to get you to the point where you can pick up on more [i]delicate[/i] C/C++ details and syntax to compile fast apps.
I will problay start with python. maybe LUA but my computer had some issues. need to download steam again : - /
It depends on how useful your knowledge of it may be to you in the future. Say, for instance, many people learn LUA for coding in GMod. If I remember correctly, you use Blender, so you may learn Python for scripting when you do learn it. Python is extremely easy to learn, but I've not tried in a long while. Good luck anyhow.
[QUOTE=tarkata14;19020238]It depends on how useful your knowledge of it may be to you in the future. Say, for instance, many people learn LUA for coding in GMod. If I remember correctly, you use Blender, so you may learn Python for scripting when you do learn it. Python is extremely easy to learn, but I've not tried in a long while. Good luck anyhow.[/QUOTE] [img]http://www.facepunch.com/image.php?u=144327&dateline=1246512838[/img]
You're cute flair, so very helpful. And using his avatar to prove a point doesn't help, when yours looks like a couple of shits.
Chandler Thank you for the links man! [editline]08:39PM[/editline] never mind. just explaining all the definitions that python uses
Any one know good tutorials? edit [url]http://www.sthurlow.com/python/[/url] pretty good 3 minutes of that. gives me nothing to this... ( really simple still ) [code]#variables demonstrated print 'This program is a demo of variables' v = 1 print 'The value of v is now', v v = v + 1 print 'V now equals itself plus one, making it worth', v v = 51 print 'v can store any numerical value, to be used elsewhere.' print 'for example, in a sentence. v is now worth', v print 'v times 5 equals', v*5 print 'but v still only remains', v print 'to make v five times bigger, you would have to type v = v * 5' v = v*5 print 'there you go, now v equals', v, 'and not', v/5 # extra stuff v = v*2*3/4 print 'v is now something else', v [/code]
[QUOTE=ducky5;19044751]Any one know good tutorials? edit [url]http://www.sthurlow.com/python/[/url] pretty good 3 minutes of that. gives me nothing to this... ( really simple still ) [code]#variables demonstrated print 'This program is a demo of variables' v = 1 print 'The value of v is now', v v = v + 1 print 'V now equals itself plus one, making it worth', v v = 51 print 'v can store any numerical value, to be used elsewhere.' print 'for example, in a sentence. v is now worth', v print 'v times 5 equals', v*5 print 'but v still only remains', v print 'to make v five times bigger, you would have to type v = v * 5' v = v*5 print 'there you go, now v equals', v, 'and not', v/5 # extra stuff v = v*2*3/4 print 'v is now something else', v [/code][/QUOTE] Could have sworn python doesn't like single quotes. I may be wrong.
You are. Only thing you can't do, is using both single and double quotes for the same string.
[QUOTE=girtastic;19051359]both single and double quotes for the same string.[/QUOTE] no shit sherlock
I recommend Lua with GMod. Nothing so much fun as learning programming by scripting fun things in a fun game. Beats the console I/O shit any day!
Make this your start site: [url]http://docs.python.org/3.1/[/url]
[QUOTE=Jallen;19007167]They all use the same constructs, decision structures, loops, the only difference is syntax, something which, if you can't learn, you are [I]literally[/I] retarded because it is something built into the human brain and used every day in grammatically correct sentences.[/QUOTE] When did you become this big of a faggot? Obviously, because of your lack of social interaction, you don't know shit about people. Python is alright but I'd personally recommend something like PHP or (if you're feeling adventurous) C++.
So I don't have to open another thread: What's the best IDE for python? I want something simplistic but also be able to make multi file projects. I'm using windows btw.
I use vim for python editing, with the consolas font and koehler coloour scheme, even on windows. It doesn't have a debugger, but I don't find myself ever using the debugger with python - the logging module and print seem to work well enough (although I can't get enough of it with C#). Vim does take a while to learn, and even longer to love though. You can get plugins for multifile projects, although multiple tabs, or multiple windows work well enough for me (I normally do python on a Mac though, so I have everything spread across virtual desktops, and launched from the console). To begin with IDLE, the editor that comes with python is fine though. If you feel you simply cannot get used to vim (IT IS WORTH LEARNING!!) the you could try Stani's Python editor, which seems fairly well feature complete, although development on it appears to have slowed. I have also looked at using Editra in my time, which also seems perfectly competant.
Sorry, you need to Log In to post a reply to this thread.