I know a little C# and C++, but I know python a little better. Let's talk about that here.
Python is a beginner's programming language. If you've had experience with LOGO, or even a little with Scratch (but that doesn't matter too much), then you'll have no trouble sliding into Python.
You can find the Python 2.5 here: http://www.python.org/download/releases/2.5/
2.6 and 3.1.2: http://www.python.org/download/
If you haven't started programming with Python yet, please follow a tradition.
Open Python GUI (IDLE)
Move your cursor to the >>> prompt, click, and type in: print "Hello World!"
Hit enter.
If the text:
Hello World!
did not appear in the window, and there is an error message, then something went wrong. Check for typos, and be sure you followed the tutorial carefully. And for some reason, this does not work for Python 2.6 if I try. Downgrade to 2.5, works much better. *wink*
But Python Programmers can talk here about...Python!
I'm currently working on a GUI; it's going smoothly. It's a word processer, like Microsoft Office Word. Only it's going to be much, much better.
Here's a tip: When creating something with Python, when you start click on file> new window. The new window is where your programming goes. I've found plenty of commands here that are used in all of these programming languages: q-basic, squeak, Logo, Scratch (ONLY a few), Microworlds (awesome), and many others. If you are familiar with one or more these, Python will be easy for you. And, keep in mind, even though Python is used for professional things, it can also be used for sheer pleasure.
My first program that I made with Python without help is available for download here: http://www.mediafire.com/?m2oyyiijcgo
Make sure you have Python downloaded or this will not work.
Double-click the icon when my program is downloaded.
You don't do anything, you just wait.
It's fun if you're bored, though.
Last edited by somelia (2010-04-27 22:30:23)
Offline
Offline
For a GUI: Download PythonCard. Open the Resource Editor.
Offline
OH MY GOSH YOU CAME AGAIN. WHY DID I THINK SO? Sorry, its just that I hate when you do that.
I know quite a bit of Python actually, I have several books on it.
I'm creating something called Squibble, it's a free online to-do and calendar. I'm also learning some HTML and CSS. It's really fun.
You can ask me for simple things, in fact I once made a code editor using PythonCard and also a full-working calculator(decimals and everything).
Last edited by Greatdane (2010-04-27 23:12:59)
Offline
I once tried to learn Phyton but I was too lazy and now I only remember how to print and define variables
Maybe I should give it another try later. Do you guys know any good tutorials?
Offline
technoguyx wrote:
I once tried to learn Phyton but I was too lazy and now I only remember how to print and define variables
![]()
Maybe I should give it another try later. Do you guys know any good tutorials?
Check out Headfirst Programming for Python. I use a book called HelloWorld, you can find it on manning.com.
Offline
I'm learning Python. It's fun!
However, I wouldn't call it a beginners' programming language. The syntax is often easier to learn than C++ or Java, etc, but it is applied in "real life." Here is a list of stuff people do with Python: Python applications. It is a "real" programming language. Maybe I'm crazy, but I haven't seen anywhere that it was made for beginners.
Anyway, it's cool that you made a Python topic! I was thinking of doing that myself if no one else did.
Offline
W00T! Go python!
I am a python programmer, and I think that it is a great language to learn!
I am working on a python program called M30W, that is meant to be a text-based version of Scratch. For anyone who's interested, here is the link to the dev forum.
Last edited by floppy_gunk (2010-04-28 00:36:23)
Offline
I do not know a word of python. I know a tiny bit of as2 otherwise I use scratch.
edit: You came back... AGAIN???
Last edited by Stickman704 (2010-04-28 10:54:17)
Offline
I've dabbled in Python a bit myself...a fun language! I wrote a small program that sends the system time to a Scratch project so you can write time-based applications
Offline
Greatdane wrote:
technoguyx wrote:
I once tried to learn Phyton but I was too lazy and now I only remember how to print and define variables
![]()
Maybe I should give it another try later. Do you guys know any good tutorials?Check out Headfirst Programming for Python. I use a book called HelloWorld, you can find it on manning.com.
Me too, that's where I started!
Offline
Paddle2See wrote:
I've dabbled in Python a bit myself...a fun language! I wrote a small program that sends the system time to a Scratch project so you can write time-based applications
![]()
Hey, cool! Could I have the code?
Oh, my word processer is almost done. It's called Cake-write.
Last edited by somelia (2010-04-29 19:55:08)
Offline
Greatdane wrote:
OH MY GOSH YOU CAME AGAIN. WHY DID I THINK SO? Sorry, its just that I hate when you do that.
I know quite a bit of Python actually, I have several books on it.![]()
I'm creating something called Squibble, it's a free online to-do and calendar. I'm also learning some HTML and CSS. It's really fun.
You can ask me for simple things, in fact I once made a code editor using PythonCard and also a full-working calculator(decimals and everything).
I need some help with my word processer. How do I get "cake-write" to appear in the window when I run it?
Offline
My epic Python skills will be put into use in M30W.
If you know what that is, €1 for you. (If you it fn-f3 instead of shift-4, you get that sign on my comp)
Offline
print "PUT SOME TEXT HERE"
Doesn't work. But this works:
print("PUT SOME TEXT HERE")Offline
I saw a python once. It hissed an tried to bite me. I didn't see a way to program with it, just some really scary territorial threats.
Offline
ThePCKid wrote:
Code:
print "PUT SOME TEXT HERE"Doesn't work. But this works:
Code:
print("PUT SOME TEXT HERE")
The first one works in 2.5.1.
The second one only works in 3.1.2.
Don't say things to act smart. I've seen you two times already be failed completely.
Offline
somelia wrote:
Greatdane wrote:
...
I need some help with my word processer. How do I get "cake-write" to appear in the window when I run it?
Well, I don't know that. I was looking at the documentation for the same thing, I didn't know how. Maybe you could use the system() function to run another instance? In PythonCard you may have had child windows.
Offline