Discuss Scratch

BookOwl
Scratcher
1000+ posts

pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

Change Log
  • Version 0.2
  • Bug Fixes
  • Added a ‘download_sb2’ function to pyscratch2.sb2
  • Added lists module for working with scratch lists

  • Version 0.1
    First Release
What is pyscratch2?
pyscratch2 is

  • open source


  • a python library


  • makes it easier to mix scratch with python!

    What can pyscratch2 do?
    It can
  • Use scratch2 APIs to get information about projects, cloud variables, project JSON, and more!
  • Makes it easier to pack/unpack .sb2 files

    How can I get pyscratch2?
    Version 0.2: Windows | Zip
    You can download the source code setup.py command-line installer or, if you have Windows, you can download an executable installer here.
    (For more info on the setup.py installer, see this python manual

    Documentation
    Download Docs here

    Please post if you have a Python module or script that has to do with scratch 2.0 and you want me to add it to pyscratch2, or if you have any questions or suggestions.
    pyscratch2 is licensed under the MIT License
  • Last edited by BookOwl (April 15, 2015 20:30:22)

    __init__
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    Cool! I'll definitely try this out.
    BookOwl
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    bump
    QuillzToxic
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    Documentation?
    BookOwl
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    QuillzToxic wrote:

    Documentation?
    Added Documentation
    ninjagolloyd
    Scratcher
    500+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    It says that there isn't a module named ‘request’.
    __init__
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    ninjagolloyd wrote:

    It says that there isn't a module named ‘request’.
    Are you using Python 2 or 3?
    ninjagolloyd
    Scratcher
    500+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    __init__ wrote:

    ninjagolloyd wrote:

    It says that there isn't a module named ‘request’.
    Are you using Python 2 or 3?
    PY2.
    __init__
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    ninjagolloyd wrote:

    __init__ wrote:

    ninjagolloyd wrote:

    It says that there isn't a module named ‘request’.
    Are you using Python 2 or 3?
    PY2.
    Same. I haven't tried it yet, but this might only be compatible with 3.
    ninjagolloyd
    Scratcher
    500+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    Meh. I am trying it now.
    ninjagolloyd
    Scratcher
    500+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    Nope.
    ninjagolloyd
    Scratcher
    500+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    BUMP!!!!!!!!!!!!!!!!!!!!!
    Anyone have this error?
    BookOwl
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    ninjagolloyd wrote:

    __init__ wrote:

    ninjagolloyd wrote:

    It says that there isn't a module named ‘request’.
    Are you using Python 2 or 3?
    PY2.
    Sorry that I ahven't been able to answer sooner. This is a Py2 Error. pyscratch2 is a Py3 only libary
    __init__
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    BookOwl wrote:

    ninjagolloyd wrote:

    __init__ wrote:

    ninjagolloyd wrote:

    It says that there isn't a module named ‘request’.
    Are you using Python 2 or 3?
    PY2.
    Sorry that I ahven't been able to answer sooner. This is a Py2 Error. pyscratch2 is a Py3 only libary
    Dang. Can you port it to 2? 2's so much better than 3
    BookOwl
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    __init__ wrote:

    BookOwl wrote:

    ninjagolloyd wrote:

    __init__ wrote:

    ninjagolloyd wrote:

    It says that there isn't a module named ‘request’.
    Are you using Python 2 or 3?
    PY2.
    Sorry that I ahven't been able to answer sooner. This is a Py2 Error. pyscratch2 is a Py3 only libary
    Dang. Can you port it to 2? 2's so much better than 3
    I should be able too. I will work on that other the next week.Why do you not like Python 3? It is the __future__ of python.
    SimpleScratch
    Scratcher
    500+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    @bookOwl
    I program in Python 2 but if you've made this in Python 3 then DON'T port it.

    If you port it - then no incentive for people to move to 3

    If you leave it in 3 and people want it - they WILL install 3

    And the Python world will thank you

    Simon
    BookOwl
    Scratcher
    1000+ posts

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    Version 0.2 is out!
    ourhead
    Scratcher
    1 post

    pyscratch 2 - A Python Library for Interfacing with Scratch 2.0 Version 0.2

    QuillzToxic wrote:

    Documentation?
    ha

    Powered by DjangoBB