• wrishel

    @mikael that was what I needed. Although I tried several things, it never occurred to me to swipe left.

    posted in Pythonista read more
  • wrishel

    @mikael thanks. I can’t find a relevant app called “stash” in the App Store. Many apps show up on the search but mostly about banking or investing.

    That being said I was able to accomplish deleting the directory with the Files app. What I can’t do is make the specious directory disappear from the Pythonista file panel that represents the top of the hierarchy.

    I suspect that this wasn’t needed in prior versions of Pythonista, but it is now.

    Is there a section of the forum that constitutes a “wish list” for future versions? Perhaps I should post it there.

    posted in Pythonista read more
  • wrishel

    PS. I tried deleting this folder Files app. The folder continues to show in Pythonista, although when I click on it sometimes I get a message that says the file can’t be accessed.

    So at this point I don’t know how to make the folder go away.

    posted in Pythonista read more
  • wrishel

    I started working on my first project by placing it in External Files/Pyista rather than in Script Library.

    I now want to create a sub folder External Files/Pyista/calc move the script and ui file from Pyista to calc.

    I touch Edit at the top of the panel, whose title is Pyista, and I am able to select the files I wish to move. I select the files to move and at the bottom of the panel I touch the icon of a folder with an arrow to the right. I am given a dialog that would allow me to move the files to the hierarchies topped with On This IPad or iCloud but there is no option for External Files so I can’t designate the newly created Calc directory.

    For now I have created a directory within On this iPad, but I’m wondering why I can create a folder and files in External Files, but I can’t move files to the directory?

    posted in Pythonista read more
  • wrishel

    Thanks @stephen. I hate it when I make an easy mistake :-).

    posted in Pythonista read more
  • wrishel

    Using the YouTube Snake Catcher Part 1 tutorial at the first run, where you should see snakes at the top of the screen I get Type_error ‘Point’ object is not callable on this line:
    new_snake.position(random.randint(0,1024), 768)

    new_snake Is a is shown in the debugger as a _scene2.SprintNode object in the debugger.

    What can I do to get past this?

    The full code is here

    from scene import *
    import sound
    import random
    import math
    A = Action
    
    class MyScene (Scene):
        def setup(self):
            self.frame_counter = 0
        
        def did_change_size(self):
            pass
        
        def update(self):
            self.frame_counter = self.frame_counter + 1
            if self.frame_counter >= 120:
                self.frame_counter = 0
                new_snake = SpriteNode('emj:Snake')
                new_snake.position(random.randint(0,1024), 768)
                self.add_child(new_snake)
                
        
        def touch_began(self, touch):
            pass
        
        def touch_moved(self, touch):
            pass
        
        def touch_ended(self, touch):
            pass
    
    if __name__ == '__main__':
        run(MyScene(), show_fps=False)
    

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!