Discuss Scratch

djdolphin
Scratcher
1000+ posts

Does anyone have a copy of scratch2web.py?

A year ago TheSuccessor made a program for using Scratch as a web server. I had a copy of it, but I frequently delete my downloads. Now I want to use it again, but the download link is broken. Does anyone still have a copy of it?

!
TheSuccessor
Scratcher
4 posts

Does anyone have a copy of scratch2web.py?

I am not forgotten

It's here now and being a Dropbox link, it's likely to stay up. The old download was on my site which got cancelled for inactivity

Edit: it requires Python 3, but should be easy to rewrite as Python 2 if necessary.
Edit 2: First post in many months and I'm already overusing smilies

Last edited by TheSuccessor (Aug. 23, 2013 17:52:39)


/* No comment */
BigBlueBlock
Scratcher
500+ posts

Does anyone have a copy of scratch2web.py?

TheSuccessor wrote:

I am not forgotten

It's here now and being a Dropbox link, it's likely to stay up. The old download was on my site which got cancelled for inactivity

Edit: it requires Python 3, but should be easy to rewrite as Python 2 if necessary.
Edit 2: First post in many months and I'm already overusing smilies
Wow! This looks useful!
TheSuccessor
Scratcher
4 posts

Does anyone have a copy of scratch2web.py?

BigBlueBlock wrote:

Wow! This looks useful!
Heh, thanks, but it's probably not. It's slow, and will break if multiple requests are sent at once. I should probably handle that in the script, but I have no experience with locks and threads in Python. Still, it's fun to play with and a good way to learn about HTTP.

/* No comment */
nathanprocks
Scratcher
1000+ posts

Does anyone have a copy of scratch2web.py?

I get this when I try to run it with Python 3:
  File "scratch2web.py", line 79
while item[-1] != '"' || item[-2:] == '""':
^
SyntaxError: invalid syntax

EDIT: Don't worry I think I've fixed it. I just removed the extra |.

Last edited by nathanprocks (Aug. 24, 2013 00:46:08)



My browser / operating system: Macrosoft Winding XO, Internet Exploder 6.0, Angel Player ver.:1.2.5
;
MathWizz
Scratcher
100+ posts

Does anyone have a copy of scratch2web.py?

TheSuccessor has returned again!

running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizzJsScratch && sb.js & Amber (coming soon! maybe)
djdolphin
Scratcher
1000+ posts

Does anyone have a copy of scratch2web.py?

TheSuccessor wrote:

I am not forgotten

It's here now and being a Dropbox link, it's likely to stay up. The old download was on my site which got cancelled for inactivity

Edit: it requires Python 3, but should be easy to rewrite as Python 2 if necessary.
Edit 2: First post in many months and I'm already overusing smilies
Thank you!

!
Hardmath123
Scratcher
1000+ posts

Does anyone have a copy of scratch2web.py?

nathanprocks wrote:

I get this when I try to run it with Python 3:
  File "scratch2web.py", line 79
while item[-1] != '"' || item[-2:] == '""':
^
SyntaxError: invalid syntax

EDIT: Don't worry I think I've fixed it. I just removed the extra |.
Replace || with the word “or” (no quotes).
nathanprocks
Scratcher
1000+ posts

Does anyone have a copy of scratch2web.py?

Hardmath123 wrote:

nathanprocks wrote:

I get this when I try to run it with Python 3:
  File "scratch2web.py", line 79
while item[-1] != '"' || item[-2:] == '""':
^
SyntaxError: invalid syntax

EDIT: Don't worry I think I've fixed it. I just removed the extra |.
Replace || with the word “or” (no quotes).
Thanks, it works now!


My browser / operating system: Macrosoft Winding XO, Internet Exploder 6.0, Angel Player ver.:1.2.5
;
TheSuccessor
Scratcher
4 posts

Does anyone have a copy of scratch2web.py?

Hardmath123 wrote:

Replace || with the word “or” (no quotes).
Derp I'm a Java programmer at heart. Fixed this in the master copy now, thanks

/* No comment */
Hardmath123
Scratcher
1000+ posts

Does anyone have a copy of scratch2web.py?

http://ryanflorence.com/2011/case-against-coffeescript/

Scroll down to Verbally Readable !== Quicker Comprehension.
davidkt
Scratcher
1000+ posts

Does anyone have a copy of scratch2web.py?

Hey, this looks cool! I use python 2 though, since there's a 2to3 cmd-line utility, shouldn't there be a 3to2?

Remember when I looked like this? I still do.


Float, my Scratch 2.0 mod | My (somewhat under-construction) blog

Powered by DjangoBB