Originally posted by sgreger1
View Post
Does anyone here know PYTHON (the programming language) or any others?
Collapse
X
-
-
-
Hey guys, it still keeps giving me syntax errors even after I change the quotes. Am I supposed to remove the quotes entirely or something? I am writing this in just a plain text file, same code that I posted above, it gives me a million syntax errors. Can someone here type out a small script that you KNOW works so that I can plug it into my interpreter and try it? That would be much appreciated!
Comment
-
-
try just typing it out. If that doesn't work the use the classic hello world that everyone seems to begin with.
print "Hello world" then save the file with the .py and run it and see if that even runs.
Email me a copy of your .py file so i can look at it. I can also send you a couple sample files your way and see if they run properly.
lanny.gilbertson@nov.com
Comment
-
-
Originally posted by ratcheer View PostI had a personal project in 2009 where I was programming a text-based object-oriented Yahtzee game in Ruby. It was going pretty well, but I stopped long before the game was completed.
Tim
Comment
-
-
Originally posted by sgreger1 View PostCan you guys help me understand what "object oriented" means? What makes OOP's different than other types of programming languages? Python is object oriented, right? What are the advantages/disadvantages of this over other types?
Comment
-
-
Originally posted by sgreger1 View PostLol, Whatever that was a reference too went completely over my head.
Comment
-
-
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs.
OOP isn't language specific its more of a "Style" of best practices if you will. I wouldn't spend to much time at the moment trying to wrap my head around this.
Comment
-
-
Originally posted by GoVegan View PostI was trying to reference the nerd thing but AMC Gremlin might be a bit outdated by now. I took some VB courses in college but that is probably outdated by now as well. It was fun though.
Comment
-
-
Originally posted by captncaveman View PostObject-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs.
OOP isn't language specific its more of a "Style" of best practices if you will. I wouldn't spend to much time at the moment trying to wrap my head around this.
Sweet, that makes enough sense for now. So I have IDLE running right now and it seems to be working okay. I havn't tried importing anything, but if I type it in to the command line it works good. I am still a little confused though, because to go to the next line and to execute the code is the same key (enter, right?), so if I type something that is more than a few lines in the tutorial it gives a syntax error. Is the only way to do it to load a .py file and run it?
Also, is there any one book about python or how to structure things properly that you would recommend?
Comment
-
-
just for shit and giggles did you install python on your mac or did you use the pre-loaded set of tools on your mac? I have also got a few responses from some mac python guys saying you may need to install and config python yourself, but don't remove the preloaded python on your OS since some system utilities will need that version. Also they mentioned there could be a conflict with the pre-installed dev tools and IDLE. They also mentioned Leopard's Xcode environment supports python development try using this instead of IDLE.
Comment
-
-
Originally posted by sgreger1 View PostDid you find VB hard or was it pretty easy to pick up?
Comment
-
-
Originally posted by sgreger1 View PostCan you guys help me understand what "object oriented" means? What makes OOP's different than other types of programming languages? Python is object oriented, right? What are the advantages/disadvantages of this over other types?
Here is a reference: https://secure.wikimedia.org/wikiped...ed_programming
Tim
Comment
-
Related Topics
Collapse
-
Please delete if not allowed:
Hi guys,
My name is Darius and I am working with Swedish Match on the legalisation of snus in...-
Channel: Snus Talk
14-12-21, 06:24 PM -
-
by CrowState officials have been changing the language used in many laws, including thousands of words and phrases, many written more than a century ago when...
-
Channel: People and World Around Us
-
-
This one is interesting...because it would be mandatory...and it's Federally funded.
MANSFIELD (CBSDFW.COM) – Some Students at Mansfield...-
Channel: People and World Around Us
-
-
by Sal1000usThe term New World Order (NWO) has been used by numerous politicians through the ages, and is a generic term used to refer to a worldwide conspiracy being...
-
Channel: People and World Around Us
-
-
by wa3zrm50-Foot Dead Parrot Drops Into London to Promote Monty Python Reunion
Adweek ^ |
What's a Monty Python reunion without a dead...-
Channel: People and World Around Us
-
- Loading...
- No more items.
Links:
BuySnus.com |
SnusExpress.com |
SnusCENTRAL.com |
BuySnus EU |
BuySnus.at |
BuySnus.ch |
SnusExpress.ch
Comment