omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    SpriteNode built-in images

    Pythonista
    3
    7
    3404
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gblauer
      gblauer last edited by

      Can’t find where they’re listed. (Sorry. Brand new here.)

      cvp mikael 3 Replies Last reply Reply Quote 0
      • cvp
        cvp @gblauer last edited by

        @gblauer see here but instead of emoji, see Puzzle Game Art

        1 Reply Last reply Reply Quote 0
        • mikael
          mikael @gblauer last edited by

          @gblauer, do you need them listed, or have you not found the picker behind the ”plus in a circle” icon?

          gblauer 1 Reply Last reply Reply Quote 0
          • cvp
            cvp @gblauer last edited by

            @gblauer this code can print the list of all built in images but you have to know there are 8476 files 😅

            import os
            import sys
            appdir = os.path.dirname(sys.executable)
            x = appdir + '/Media/Images'
            y = os.path.realpath(os.path.expandvars(os.path.expanduser(x)))
            dirs = os.listdir(y)
            for dir in dirs:
            	files = os.listdir(y+'/'+dir)
            	for file in files:
            		print(dir,file)
            
            1 Reply Last reply Reply Quote 0
            • gblauer
              gblauer @mikael last edited by

              @mikael haven’t found the “picker”. Where is the “plus in a circle” you reference. Thanks for responding.

              cvp 1 Reply Last reply Reply Quote 0
              • cvp
                cvp @gblauer last edited by cvp

                @gblauer as shown here, just above the keyboard

                gblauer 1 Reply Last reply Reply Quote 1
                • gblauer
                  gblauer @cvp last edited by

                  @cvp Thank you!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors