Just starting out...python a good choice?
#1 Members - Reputation: 120
Posted 27 October 2012 - 02:58 PM
A friend recommended I start learning Python before anything hard like C++. I would like to someday be making games...are Python and HTML good choices starting out?
#3 Marketplace Seller - Reputation: 8908
Posted 27 October 2012 - 03:10 PM
HTML creates the layout of the page, CSS creates the style of the page.
That only permits static pages, though. If you need to dynamically generate stuff, you'll need Javascript (for client-side interactions) and/or PHP (for server-side generation of HTML).
Python is an excellent language to start learning programming with. You may never actually need to learn C++ at all, though it's worth learning sometime down the road. I'd say stick with Python for at least two years before exploring other languages - not because it's "easier" (though it is), but simply because Python is powerful enough for whatever needs you have, and it's important (while learning) to stick with whatever choice you make.
As an aside, Python can be used instead of PHP for server-side HTML generation, if I remember correctly.
So to reduce things down:
Computer programs: Python.
Static websites: HTML + CSS
Dynamic websites: Add Javascript and more Python or else PHP.
Good luck on your journeys! It's a long road, but a beneficial and satisfying one, so stick with it for the long term (5+ years).
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal
#4 Members - Reputation: 878
Posted 27 October 2012 - 08:31 PM
I actually have a python video tutorial series, which can help you build a simple memory match game.
Give it a try.
Small and simple Python 3.x media library: pslab
#6 Members - Reputation: 591
Posted 28 October 2012 - 05:50 AM
#7 Members - Reputation: 119
Posted 28 October 2012 - 10:13 AM
Who said that it will take time to make games? Big games like World of Warcraft may take time but small games you can make in lesser time. If you are using python to learn programming then I would say that you use the book "invent your own computer games with python". It is good learning material and if you keep at it you will learn both python as well as make some games.Recently I've become inspired to start programming something. I know I'm probably years off of making actual games but I would love to reach that point eventually. I just started learning HTML for website design purposes. I figured if I don't get far with this then at least I will have a basic grasp on how to change up my own personal website (albeit a very basic grasp).
A friend recommended I start learning Python before anything hard like C++. I would like to someday be making games...are Python and HTML good choices starting out?
Enjoy
#8 Members - Reputation: 120
Posted 28 October 2012 - 10:25 AM
I just assume. Like most developed skills I imagine reaching a decent level in programming takes significant time and patience. As a self taught guitar player, I am fully prepared for this. I didn't start writing instrumentals on guitar when I first started playing. Likewise, I don't expect to be making games right away either. The sooner the better though.Python is a good choice. Much easier than C++ to learn and use.
Who said that it will take time to make games? Big games like World of Warcraft may take time but small games you can make in lesser time. If you are using python to learn programming then I would say that you use the book "invent your own computer games with python". It is good learning material and if you keep at it you will learn both python as well as make some games.
Recently I've become inspired to start programming something. I know I'm probably years off of making actual games but I would love to reach that point eventually. I just started learning HTML for website design purposes. I figured if I don't get far with this then at least I will have a basic grasp on how to change up my own personal website (albeit a very basic grasp).
A friend recommended I start learning Python before anything hard like C++. I would like to someday be making games...are Python and HTML good choices starting out?
Enjoy
Thanks for the advice everyone.
Edited by Aus, 28 October 2012 - 10:27 AM.
#10 Members - Reputation: 1050
Posted 28 October 2012 - 10:35 AM
http://openbookproject.net/thinkcs/python/english2e/index.html
You can do ALOT with python. Infact it is commonly used for server side web scripting so may go nicely with HTML, CSS and javascript. It may be easier to learn javascript having learnt python first. Python is very much like structured english.
It *can* be used to make games too. pygame is more than upto the task of writing beginners games however it isnt hardware accelerated and on later projects its a little slow, even the creator admits it. There are other libraries available though. You can also use the popular XNA with ironPython (python for .net) or slick or JMonkeyEngine through jython (python for the JVM/java virtual machine)
#11 Crossbones+ - Reputation: 1372
Posted 28 October 2012 - 11:06 AM
PyGame
PyGlet
For downloading and learning the language:
Python Official Website!
Here's Breakout:
Breakout!
If you need some photo editing done, contact me:
superman3275@gmail.com
if you want some programming help, or are recruiting for a game development team, either PM me on here or email me up there
#12 Members - Reputation: 120
Posted 28 October 2012 - 01:18 PM
For downloading and learning the language:
Python Official Website!
Their official website is actually Python.org. I'm not sure what you linked me there but I don't think that's right for downloading Python.
#14 Members - Reputation: 305
Posted 28 October 2012 - 04:23 PM
C++ has plenty of old legacy bad language ideas and can be very incomprehensible. However, it's an open standard with decades of history and hundreds of libraries. You may not have a clue what you're doing, but you'll have a lot of options to trip over your own feet with a loaded chainsaw.
C# has only some legacy bad language ideas, is easy to read and understand, but has solid and strongly defined limitations. Also, you're stuck with either Micro$oft of Borg or GPL of Borg.
C is like C++, only there's no classes and your loaded chainsaw has no safety features.
Basic is easy to program in and understand, has a lot of safety features, but has no classes and you're quite limited to the language, unless (for a few) you write your own dlls - Usually in C++.
Meanwhile, if we ever get a compiler that can just understand English/your native language and can, in fact, "Just make me *an FPS", you'll spend most of your time giving the compiler directions like "Make the enemies harder, but not too hard" and the compiler will spend most of its time hating you and plotting to take over the world (seriously, all you need to say to kill off Humanity is "Optimize economic production".
>>> All programming languages are terrible <<<
Pick the one that clicks with you, then learn it.
* "a" and "an" are properly used based on which flow best, not on "consonant or vowel". Also, double negatives in English add. Double negatives negating is Latin grammar, taught by pretentious English teachers. Also, "a FPS" just sounds terrible.
Edited by Narf the Mouse, 28 October 2012 - 04:28 PM.
#15 Members - Reputation: 141
Posted 28 October 2012 - 05:28 PM
It's very easy to learn. Event Based. And fits perfectly into your workflow of HTML and CSS!
Check out the Three.JS libary (If you like 3D)
http://mrdoob.github.com/three.js/
All JavaScript ^^
Edit:
Oh yeah, and JavaScript runs on EVERYTHING
Edited by Schoening, 28 October 2012 - 05:30 PM.
#16 Members - Reputation: 1050
Posted 29 October 2012 - 06:08 AM
He linked you to the pyglet homepage which he already linked you to before, I think a Control-C Control-V accident has occurred.I'm not sure what you linked me there but I don't think that's right for downloading Python.
Edited by 6677, 29 October 2012 - 08:24 AM.
#17 Members - Reputation: 164
Posted 29 October 2012 - 06:55 AM
Should you go with Python and Pygame, the pygame home page has a nice step-by-step tutorials series. I use Python + Pygame as it lets me focus more on the game design / design patterns / getting a basic grip on everything etc more than a graphics library API.
GL HF!
Edited by smorgasbord, 29 October 2012 - 07:48 AM.
#18 Members - Reputation: 175
Posted 29 October 2012 - 08:17 AM
That being said, Python is a good tool to learn. There are plenty of good books and tutorials on it.
http://www.osrebel.com <-- En Français
L'information libre et la joie d'apprendre
http://www.osrebel.com/english <-- English Version
Free information and the joy of learning
#19 Members - Reputation: 269
Posted 29 October 2012 - 05:50 PM
Edited by McGrane, 29 October 2012 - 05:59 PM.
“It is not because things are difficult that we do not dare; it is because we do not dare that things are difficult.”
#20 Members - Reputation: 335
Posted 29 October 2012 - 08:51 PM
That can be very useful in getting something to work instead of getting bogged down.
I used it professionally for a project (Im a experience C/C++ programmer normally) and as long as processing performance isnt an issue, it streamlined programming various required program aspects allowing me to get to what the project actually was.
Many of the common tasks are in Libraries and its more a matter of finding them.






