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.


    ui.TableViewCell - returning a custom class instead?

    Pythonista
    tableviewcell ui.tableview
    5
    22
    18829
    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.
    • ccc
      ccc last edited by ccc

      @cook Your example caused me to write fake_format.py to enable a usage like:

      from fake_format import fake_fmt
      html = fake_fmt('<h4 style="margin:0px">{name}</h4><p>{email}</p>'
                      '<p>{phone_number}</p><p>{address}</p>')
      
      1 Reply Last reply Reply Quote 0
      • cook
        cook last edited by

        @ccc
        That's cool! I don't remember how I saw this faker module- maybe just looking at the pythonista docs as it's listed as a third party module. Sure is useful though!

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