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.


    problem with python script

    Editorial
    2
    2
    1934
    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.
    • filippocld223
      filippocld223 last edited by

      trying this code :

      #coding: utf-8
      import workflow
      action_in = workflow.get_input()
      
      if action_in.endswith('     ')==True :
          action_out='True'
      else:
          pass 
      
      workflow.set_output(action_out)
      

      Editorial gives this error: NameError:line 10 name "action_out" is not defined

      1 Reply Last reply Reply Quote 0
      • Stefano
        Stefano last edited by

        Ole did reply in the Phytonista forum : duplicate post https://omz-forums.appspot.com/pythonista/post/5780668424388608.

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