• iApeiron

    @ccc Here is the project: Savethemblobs_app
    What improvements would you make? Please feel free to fork.

    posted in Pythonista read more
  • iApeiron

    Clearly, you are a Python master!

    posted in Pythonista read more
  • iApeiron

    @ccc Thank you! This works as expected!
    The first two args are necessary, the third arg is supposed to be optional. In its current form, (with Trump removed of course,) leaving the third arg blank causes script2 error (citing an invalid arg).
    Do you know how to leave an arg as optional?

    posted in Pythonista read more
  • iApeiron

    @ccc Thanks. I still get the traceback error "AttributeError: 'tuple' object has no attribute 'remove'"

    posted in Pythonista read more
  • iApeiron

    @JonB Thanks. I really like this dialogue box! If I can get the responses to act as args to control my second script, then I have it made!

    posted in Pythonista read more
  • iApeiron

    @ccc Thank you for the thoughtful answer!

    I think this discussion has strayed away from my original intention.

    To rephrase my original intention:
    A have a command line Python script which would be used as follows "python main.py arg1 arg2 arg" and then proceeds to do and print some predefined functions.
    Now, I want use a wrapper script to run main.py with the args input via a prompt, and print what main.py is doing.

    Thank you for help!

    posted in Pythonista read more
  • iApeiron

    @omz I've got this working based on the ex13 script

    from sys import argv
    
    script2 = argv
    
    first_name = raw_input("What is your first name? ")
    
    middle_name = raw_input("What is your middle name? ")
    
    last_name = raw_input("What is your last name? ")
    
    print "Your full name is %s %s %s." % (first_name, middle_name, last_name)
    

    But I have not got runpy to cooperate.
    And this doesn't use the 'raw_input' which I need.

    Do you have a solution? Thank you for your help

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!