3

I've been searching for some time, and, as I couldn't find an answer, I'm asking this one. My issue is quite simple:

I have a form linked to a sheet. Bound to this sheet, I have a script running, performing calculations based on the just inserted data, and taking actions. Although, I would like to perform a request on a given API. For so, I have a working script in python (something about 100 lines), and I'm not willing to rewrite it in JS (and I don't even know if that would be possible, considering some limitations on Google Apps Script JS), nor do I want to pay for Google App Engine.

Is there anyway to run an external file, like a DOS command line, from my script in Google Apps Script?

I've seen something similar here, but this doesn't fit my cases because the asker is willing to use GAE.

Thanks in advance!

4
  • 2
    GAE has a free tier, if you didn't know. Commented Dec 8, 2016 at 21:09
  • Oh, thanks, @MattDMo , I really didn't! But, by that, you mean the trial 60 days version? Commented Dec 12, 2016 at 11:26
  • I have a couple apps running on GAE that I wrote several years ago, that I've never paid a cent for. AFAIK, you can still do that. Search through the docs, download the SDK, and see what you can do. Commented Dec 12, 2016 at 18:23
  • Thank you! I'm gonna try that. Commented Dec 13, 2016 at 16:29

1 Answer 1

3

No. You'll either have to run the python app in a 3rd party service and then call it from GAS using UrlFetch(); or call a GAS function from python using Google's execution API. I don't think there's any other way.

Sign up to request clarification or add additional context in comments.

1 Comment

I understand, and pitty on that. Thank you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.