• FarmerPaco

    I use github to move projects from pythonista to and from my raspberry pi.
    It is easiest to simple install stash and then git push or pull from pythonista. Alternatively you can scp from stash and move files directly to or from the raspberry pi.

    When managing the pi I use the Termius app to ssh and manage files via bash, but you can also ssh directly from stash.

    It would seem that stash is what you need. Plus using git allows for version control between pythonista and your pi.

    Please know that I am no expert, but I hope this helps.

    FYI: Stash is on GitHub with an easy one line installer.

    posted in Pythonista read more
  • FarmerPaco

    @JonB this works beautifully. I now have little turtles all over my screen. You should share this with @olemoritz incase he feels like adding it to the turtle module in Pythonista.
    Seriously, thank you.

    posted in Pythonista read more
  • FarmerPaco

    Thanks for a quick reply. Let me take a look at this. I am really grateful.

    posted in Pythonista read more
  • FarmerPaco

    Love that @olemoritz quietly added a turtle.py module.
    Unfortunately turtle.shape() is still on the todo list.
    If someone with more skill then me can help me turn the current triangle shape into a little turtle shape it would be magic to my students who are learning python3 on pythonista.
    I am guessing the curent turtle shape is drawin in the
    pen_tip = ui.path
    Would it be as simple as painstakingly drawing a ui.path outline of a turtle shape to change the default triangle?

    posted in Pythonista read more
  • FarmerPaco

    Hi @ywangd
    Love Stash.

    Is there any reason I am getting ‘Repository/branch not found’ when running selfupdate?

    I’m on
    StaSh v0.6.19
    Pythonista 3.2 (320000)
    iOS 11.3.1 (64-bit iPad5,3)
    root: ~/Documents/site-packages/stash
    stash.py: 2018-01-01 12:59:22
    SELFUPDATE_BRANCH: master

    posted in Pythonista read more
  • FarmerPaco

    @Tito I think Learn Python the Hard Way is actually a great learning tool. If you bought Zed’s course then you have a great community there to ask questions as well.

    Plus learning to work in Bash will help later if you want to try some physical computing later with a raspberry pi (lots of fun).

    If you want to mimic Bash a bit in Pythonista there is always Stash.

    posted in Pythonista read more
  • FarmerPaco

    I would gladly pitch in for a crowdfunding project. I am sure there are a lot of experienced users with lots of great projects that would shine a little on how to make the most out of this amazing app.

    posted in Pythonista read more
  • FarmerPaco

    @abcabc thanks a lot. One of the amazing thing about these forums is that people (like you) help out with great examples and no snark. I am really grateful. And hopefully when I have greased my wheeels a bit more I will also be to help others out.

    So thanks again for pointing out my mistake.
    The polygon you included also really helps understand the syntax better!

    posted in Pythonista read more
  • FarmerPaco

    So I am playing around with the Game Module and I have enjoyed swapping out coins for snowflakes and then slowed them down for a beautiful snowy day, but I want to do this with a ShapeNode and can't seem to figure it out..

    class Coin (SpriteNode):
        def __init__(self, **kwargs):
            
            SpriteNode.__init__(self, 'emj:Snowflake', **kwargs)
    

    If anyone can point me in the right direction to use a circle (ui.Path.oval) instead of a texture.
    It tried this

    class Ball(ShapeNode):
        def __init__(self, **kwargs):
            
            circle = ui.Path.oval (0, 0, 20, 20)
                    
            theball = ShapeNode(circle,'red', stroke_color='clear', shadow=None)
            
            ShapeNode.__init__(self, theball, *kwargs)
    

    And it tells me the ShapeNode object has no attribute bounds.
    Thanks in advance to anyone who can help.

    posted in Pythonista read more
  • FarmerPaco

    Always grateful for each update. I use this app for education. Each update means I have a better and more powerful learning tool for my students.
    Thanks a million.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!