This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-27 00:30:09

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

How do I program in Python?

Can somebody teach me the basics of python? I just downloaded it and i don't get a thing.


It's my birthday. Deal with it.

Offline

 

#2 2011-12-27 01:42:15

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: How do I program in Python?

Start with the tutorial here
It's hard to teach you a language in one post, but for specific questions, I or Magnie or one of the other Python programmers will be happy to help.


Fork Clamor on GitHub!

Offline

 

#3 2011-12-27 03:34:38

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: How do I program in Python?

If you've never programmed before, there's a pretty good tutorial on Python here, which has a bunch of worksheets you can follow.  smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#4 2011-12-27 04:26:00

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: How do I program in Python?

never read that whole tutorial  tongue  I have been winging it for a few months, might finish it though.


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#5 2011-12-27 10:59:26

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: How do I program in Python?

I learned mainly from the book Hello World! Programming for kids and other programmers.


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#6 2011-12-27 12:00:10

samtwheels
Scratcher
Registered: 2011-03-20
Posts: 1000+

Re: How do I program in Python?

I'll assume Python 3. Ok, print to the screen with print("Whatever you want to print")
Get input with input("What you want to ask")
assign variables with Variable = "What you want the variable to equal"

ask someone else for Python 2 help.

Offline

 

#7 2011-12-27 12:05:45

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: How do I program in Python?

http://docs.python.org/tutorial/
Helpful tutorial that I am using.  A little confusing if you don't know another programming language first though (scratch doesn't count)


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

Board footer