Execute Python Script

285 views
Skip to first unread message

Jon Carlisle

unread,
Apr 22, 2016, 10:03:04 PM4/22/16
to google-cloud-sdk
Hello,

I have a web scrapping script in Python I want to try out on Google Cloud.  Can anyone point mew to an example of how to do this?

Vilas Jagannath

unread,
Apr 25, 2016, 10:50:04 AM4/25/16
to google-cloud-sdk
Sorry, your question is not specific enough. Which Google Cloud product/service do you want to use?

Perhaps you want to use AppEngine to run your script? Here is the quick start guide for Python AppEngine.

Jon Carlisle

unread,
May 25, 2016, 6:03:59 PM5/25/16
to google-cloud-sdk
I figured this out.  Simply copy the script to the instance and then type sudo python3 myscript.py

Thanks.

Vilas Jagannath

unread,
May 25, 2016, 6:11:36 PM5/25/16
to Jon Carlisle, google-cloud-sdk
You typically should not need the 'sudo'...

Cheers,

Vilas


--
You received this message because you are subscribed to a topic in the Google Groups "google-cloud-sdk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-sdk/o_TenKtm8Zs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/b03fa70a-6957-479b-96c1-2bbb7226fcb8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages