Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How can i implement OCR on google app engine? I already googled and found out, i need pure python code to run on that environment. Is there any pure python library?
App Engine is not limited to pure python code anymore. Just set up your own API for OCR using Managed VMs. You can use any library you want. Note that Managed VMs are still in early beta, but you can start to build something with it already.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am new to google cloud console and I am trying to run a python script which is stored in a storage bucket. I was not able to find a documentation for this. Does anyone know?
Thank you!
Are you trying to run the script from the cloud console?
In this case, you can just copy the file from GS to the console instance with gsutil and then run it:
gsutil cp gs://path_to_file/filename.py . && python filename.py
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm trying to develop a windows gui app with python and i will distribute that later. I don't know how to set the app for some future releasing updates or bug fix from a server/remotely. How can I handle this problem? Can I add some auto-update future to app? What should write for that in my code and what framework or library should I use?
Do pyinstaller/ inno setup have some futures for this?
Thanks for your help.
How about this approach:
You can use a version control service like github to version control your code.
Then checkout the repository on your windows machine.
Write a batch/bash script to checkout the latest version of your code and restart the app.
Then use the Windows task scheduler to periodically run this script.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am new to DevOps and python. I want to dockerize my python ML model which is a Flask API. I want to know if we only put the .pyd files on the container or the whole source code in the docker container.
Python is not a compiled language. While there are 'tricks' to ship only the bytecode, Python programs are usually shipped with the whole source code.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to create a webjob in python that listens to a queue. I have done the same in c# with the following code,
public static void ProcessQueueMessage([QueueTrigger("webjobsqueue")] string inputText,
[Blob("containername/blobname")]TextWriter writer)
{
writer.WriteLine(inputText);
}
I want the equivalent in python that listens to a queue and trigger the python file.
There is currently no WebJobs SDK support for python, you can use the Azure Python SDK to do so as you don't have to use WebJobs SDK to create a WebJob.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am trying to build a REST API web service using Python Eve. I have experience in using Lithium (PHP framework) and Ruby on Rails but I am struggling to figure out the proper folder structure to use with Python Eve. Any suggestion on where to put my models and controllers (mostly pre / post hooks).
Have you looked at the Eve demo source code? Should be enough to get you started. Hooks can then be added to the run.py script, see the documentation. A more complex application (not so much at this point in time) is Adam, still a work in progress though.