Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. AIXouch

    Python script calling another and passing all vars set in first

    It is a proprietary IBM language without a name really. It is used to process snmp, syslog, etc events. Great regex capabilities, but costly to run.
  2. AIXouch

    Python script calling another and passing all vars set in first

    I needed to convert an archaic language into python quite similarly to what Chris mentioned. I have enough to go on now, so the lecturing can cease. As you were.
  3. AIXouch

    Python script calling another and passing all vars set in first

    Hmm, I guess my original post wasn't clear. A.py runs and an unknown # of vars is set in it, A.py then 'reads' in B.py and it is executed, the code in B.py can reference any variable set by A.py before it was read in and any variable set or changed in B.py is known to A.py after the B.py code is...
  4. AIXouch

    Python script calling another and passing all vars set in first

    It seems the answer is there is no way to do what I require and will just have to concatenate the scripts into one.
  5. AIXouch

    Python script calling another and passing all vars set in first

    I've seen many examples of python script A calling python script B, but in testing I can't figure out how ALL variables set in the script A can be referenced by the called script B. eg I set x = "foo" in the 1st script and then when I call the 2nd script, I want to reference x which has been set...

Part and Inventory Search

Back
Top