Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I have a Python project for web automatization using Selenium. As I do not always have access to my computer, I would like to be able to run it from my iPhone. Is it possible to run a .py file from a Swift app on iOS? I would appreciate code samples since I am a beginner but simply pointing me in the right direction would be a great help.
Thanks.
1) You need some backend application running on your PC;
2) backend application must have some Web API for managing Selenium application;
3) From iOS app you send http-request to API using Alamofire or any other solution.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I have a python program running in Azure VM, I need to trigger a particular function from that program as soon as a button is clicked in an android APK (android Client), this there a way to do that, if yes please help
Probably what are you looking for is Azure Functions. You can create an HTTP triggered function in azure, on python, call it and get the work done. It will be on the consumption plan, pay for use with free of costs for some (Number of Executions, Estimated Execution Time (ms), Memory Size).
Check out the official docs here: Azure Functions documentation
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 2 years ago.
Improve this question
I am currently working on a small Python script that is running on my local server. I want to create a Ui for it with Qt because i work a lot with qml. Is it possible to make a PyQt web application that i can access through my browser inside my network?
No.
Web apps and GUI programs are completely different beasts.
Usually,
GUI apps require just Python interpreter, your scripts, and proper GUI libraries. You access then from within your machine's operating system.
(Python) Web apps require Python interpreter, running Web server software and making of HTML/Python web pages instead of GUI components. Web page access happens (typically) from a browser environment, which might be local or remote.
While it is not impossible that somebody could have made libraries for showing Python GUI interfaces over the Web, it wouldn't make much sense, because it is usually much easier to just use some remote desktop software to access your machine and use native GUI.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have some Python code that I want to use in a flutter app. The code imports quite a few python packages. It is designed to take an input from a flutter app, then process it - partly with the help of the packages - then send the output back. I had a look at the various Google Cloud products, and correct me if I'm wrong, but Cloud functions cannot be used with imported python packages, so that rules it out. So I'm left with App Engine and Cloud Run (?). In that case, which of the two should I use to host the backend code, and how can I get started in doing so? Thanks in advance and cheers.
You can use Cloud Functions with Python, it is a very popular option.
The guide on how to do it is described in this quickstart.
The code should be put in the main.py part and the importst that you used have to be described in a requirements.txt file. Which you can get from you environment, from answer.
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 4 years ago.
Improve this question
This is a beginner question. I post this here because I'm so lost that I realized I even don't know what to look for.
I'm a C++ developper and have a developed C++ app. On the other hand, I recently dug into web development and created a website using the Django framework, which I host on Heroku.
The flow of the website: a user enters input on the website, input files are uploaded to AWS S3 (I managed to get that working).
The part I'm lost: with the user input, I'd like to run the C++ app which I host on a Linux server (Codenvy). But I have no idea how to launch that application from the Django site which is served by Heroku. At least giving some keywords to enhance my web searches?
It sounds like what you need is to run a script on another server using python?
I'd suggest taking a look at Paramiko:
https://github.com/paramiko/paramiko/
It is a package to allow you to ssh into another machine and execute commands.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I developed a project on django, after that uploaded it on Github. I want to see this project any other computer, on django's development server but, when I downloaded the project and tried to run by python manage.py runserver command, localhost:8000 works but, I have TemplateDoesNotExist at/ errors. How can I fix this?
Make sure that you have all files and directory that have before in initial project root directory.
also check .gitignore file in the repository