Using google cloud function to spawn a python script

前端 未结 1 453
[愿得一人]
[愿得一人] 2020-12-06 03:29

I need to execute some python machine learning code and was hoping to execute it from a node process within a Google Cloud Function.

I want to use node because I ha

相关标签:
1条回答
  • 2020-12-06 04:11

    Yes, this would be possible, you probably need to use http://www.pyinstaller.org/ to package the python code. Have a look at my python library for actually writing your functions in python to do it, or just copy paste whatever parts you need to do it yourself: https://github.com/MartinSahlen/cloud-functions-python/

    0 讨论(0)
提交回复
热议问题