• dancergraham

    Mat4py works for me pip install mat4py in Stash
    But it has a number of limitations

    posted in Pythonista read more
  • dancergraham

    Can you guess what this code does before running it? Pythonista only...
    Inspired by wtf Python on GitHub ;)

    def apple_pi():
      ingredients = hash(float('inf'))
      oven = {1:''}
      for hour in oven.keys():
        ingredients/=10
        del oven[hour]
        oven[hour+1] = ''
      return ingredients

    posted in Pythonista read more
  • dancergraham

    I don't think you can identify the sharing app but you can use get_inputs to identify the type of data that's being shared and then code to use it appropriately.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!