Discuss Scratch

Shadow36821
Scratcher
100+ posts

Python programming language

Discuss the programming language Python. You can also talk about Pygame because it runs on Python. Feel free to ask questions, share code and ideas.

(insert GIF here)
Shadow36821
Scratcher
100+ posts

Python programming language

bump

(insert GIF here)
Shadow36821
Scratcher
100+ posts

Python programming language

bump

(insert GIF here)
Shadow36821
Scratcher
100+ posts

Python programming language

bump

(insert GIF here)
pugluv4ever
Scratcher
100+ posts

Python programming language

Hi, I'm a python beginner, but learning!

I feel like python is a good 1st “real” programming language to learn b/c it is very simple. Also the parallels to scratch are very obvious (for example lists=lists, the “print()” function= the “say” block, etc.)

However, one problem I've had transitioning to a text programming language is I generate a lot of errors with simple typos or where I type a command slightly wrong (ie I always forgot the : after the if block and use front slashes instead of backslashes).

What about you?

Pugluv4ever is 2 lazy to create a signature right now.
Try again later.
SeptimusHeap
Scratcher
100+ posts

Python programming language

I write reddit bots in Python.
Semblance
New Scratcher
58 posts

Python programming language

Such a waste of talent.

technoguyx
Scratcher
500+ posts

Python programming language

I know the basics but never really used it

maybe I should try writing a django server app, maybe a RPG of sorts.

Scratcher since 2008.
Harakou
Scratcher
1000+ posts

Python programming language

Best shell scripting language. All the convenience of bash with ten times the power.
MrFlash67
Scratcher
500+ posts

Python programming language

I'm making a (very short) text-based adventure game in it and saving/loading is kinda hard! I have an idea, though.

like tears in chocolate rain
(2012 - 2022 - 20XX)
Harakou
Scratcher
1000+ posts

Python programming language

I'm not too familiar with file I/O in Python, but it shouldn't be that hard to just read/write your save data from a file, should it? You could even use a simple text file if you didn't feel comfortable writing plain bytes.
Shadow36821
Scratcher
100+ posts

Python programming language

I made a game in scratch called Magnetix, and when I make Magnetix 2, It will be in python.

(insert GIF here)
Znapi
Scratcher
500+ posts

Python programming language

If you have Python, then you need to get Blender. It is a free 3D modeling tool, and you can create 3D games with it with Python. It is really cool.
computerawesomeness
Scratcher
100+ posts

Python programming language

I know how to display text, and open a browser. That's it

VIEW MY PROJECT! Scratch Programming Language Simulation! v 1.0.0!
LINK!
computerawesomeness
Scratcher
100+ posts

Python programming language

MrFlash67 wrote:

I'm making a (very short) text-based adventure game in it and saving/loading is kinda hard! I have an idea, though.

All I know is:
file_to_open = open("file.txt", "r")
file_to_write_to = open("file.txt", "w")
file_to_write("Hello, world!")
file_to_open.close()
file_to_write.close()
#####NOT TESTED###

VIEW MY PROJECT! Scratch Programming Language Simulation! v 1.0.0!
LINK!
blob8108
Scratcher
1000+ posts

Python programming language

pugluv4ever wrote:

one problem I've had transitioning to a text programming language is I generate a lot of errors with simple typos

Get used to it: I still make typos like that after several years of Python coding.

I once asked a professional, bearded programmer, “Do you still make these kinds of mistakes?”

“Oh yes…”

tosh · slowly becoming a grown-up adult and very confused about it
mythbusteranimator
Scratcher
1000+ posts

Python programming language

blob8108 wrote:

pugluv4ever wrote:

one problem I've had transitioning to a text programming language is I generate a lot of errors with simple typos

Get used to it: I still make typos like that after several years of Python coding.

I once asked a professional, bearded programmer, “Do you still make these kinds of mistakes?”

“Oh yes…”
I even grab the wrong scratch blocks still

I've been listening to…
Ogre Battle // Queen // Queen II // Heavy Metal, Hard Rock, Progressive Metal
Orion // Metallica // Master of Puppets // Heavy Metal, Thrash Metal, Instrumental
Damage Inc. // Metallica// Master of Puppets // Thrash Metal, Heavy Metal
Snow (Hey Oh) // Red Hot Chilli Peppers // Snow (Hey Oh) // Soft Rock, Acoustic
Who Wants To Live Forever // Queen // A Kind of Magic // Power Ballad, Soft Rock
I suggest you listen to…
For a influential playlist: Damage Inc and Orion. Both of these songs are part of the album that revolutionized heavy and thrash metal forever.
CA-Remix
New Scratcher
19 posts

Python programming language

Harakou wrote:

Best shell scripting language
Yes, yes it is.

I moderate the Scratch alt forums!
http://scratchforums.boards.net/forum
Shadow36821
Scratcher
100+ posts

Python programming language

I am making a 3d zombie survival game called swarm in python.

also does anyone know if pygame is working for me? Everytime I add a script like “import pygame” it gives me errors with the note Invalid syntax. It shows a red line on the first > in the script.

(insert GIF here)
alebovic
Scratcher
43 posts

Python programming language

print ‘oh why sure I use python’
import turtle
t=turtle.pen()
t.forward(90).
I think scratch really helped me understand some turtle concepts like if, else, and, or, and such so.

Last edited by alebovic (June 29, 2014 11:11:22)


A chat that works? On scratch? WHAT!?

Powered by DjangoBB