Discuss Scratch
- Discussion Forums
- » Things I'm Making and Creating
- » Python programming language
- 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)
- 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?
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.
- 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.
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
- computerawesomeness
- Scratcher
100+ 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.
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###
- blob8108
- Scratcher
1000+ posts
Python programming language
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…”
- mythbusteranimator
- Scratcher
1000+ posts
Python programming language
I even grab the wrong scratch blocks stillone 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'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 to Scratch
19 posts
Python programming language
Yes, yes it is. Best shell scripting language
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.
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)
- Discussion Forums
- » Things I'm Making and Creating
- » Python programming language