Is it possible to create a PyQt web application? [closed] - python

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.

Related

What would be the best way to create a GUI for selenium automation? [closed]

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 6 months ago.
Improve this question
I am looking to turn my script which is written in python and uses selenium to automate tasks on a client’s website. I am looking to create a GUI that allows my client to run these automations on their site simply by interacting with the GUI. Im not sure if this is possible but the idea is that the client would just click a button on the interface which would then trigger the automation depending on the input selected. They want to be able to run these automations scripts on their own. I am trying to make it easy for them to interact with the automation script by building a GUI due to a lack of coding knowledge.
I would go with the easiest approach which to me would be using Jenkins as your UI.
Jenkins is a CI/CD tool that helps us to trigger our automated tests, no matter which automation framework you are using you can integrate your tests there, but you can use this tool as a UI to trigger your tests suite.
If your client wants to run some tests he should be able to do it directly on Jenkins. You can make it as easy as you want, from a single button or as hard as having many options, is up to your needs.

Is it possible to use Tkinter to create an app for Android or iOS? [closed]

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 am trying to create an app and tkinter is really helpful, just want to confirm if Tkinter will successfully lead me to an app for IOS or Android.
Unfortunately Tkinter won't work for creating mobile apps as it is meant to be used on desktop only. However check out Swift with Xcode that has a really good user interface for building app interfaces where you can drag and drop different items you want onto the screen - you will need a Mac for that.
Alternatively Android Studio is continually being updated which has a similar interface for creating app screens - available for Windows and Mac.
There are loads of tutorials for starting of on Xcode or Android Studio which should help you get started.
Tkinter is meant for desktop applications, not mobile apps. You won't be able to make a mobile app with Tkinter. However, I've found that developing in Tkinter has given me a taste of what developing apps is like, and so I figure some of the thought processes I've learned will transfer over to Swift and Java, which are the main languages for developing mobile apps.

Django with application [closed]

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.

How can I make a program on python that connects a raspberry pi to a windows PC and allows the two to communicate? [closed]

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 7 years ago.
Improve this question
I currently have no ideas for what code I could use, nor if it is even possible but I have been asked to find out for work. I work for a broadcasting company and they have bought a raspberry pi as a experimental thing. They want to use it to attach to monitors and screens at festivals and other jobs they do. None of the other workers here even have the slightest idea how to work python 3 so its up to me to get a network set up between a windows 7 home premium pc and their raspberry pi. I have looked at some Youtube videos of various people trying to do this but each one says something different and it has confused me further. Please get back to me if anyone has a definitive answer. Thank you
Connecting to computers for communication has nothing to do with Python. Instead, you might want to look into SSH clients for windows and how to setup the corresponding server on the Raspberry (which will certainly run a Unix system). Everything else depends on the specific application.
Here is a tutorial on SSH using Windows: https://www.raspberrypi.org/documentation/remote-access/ssh/windows.md
You basically install PuTTY, log into your Raspberry and control it via command line (create and manipulate files etc.) as if you were working on the Raspberry directly.

distribute deploy python web application [closed]

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 9 years ago.
Improve this question
I'm in the early phases of designing and implementing a python web project that i want to be able to easily distribute.
Coming from a primary PHP and Perl world i know how i would do the project in those lanuages but I am trying to find the best method for python.
Not sure if it matters, but I'm thinking of using django as the web framework, but still exploring other frameworks.
What i'm looking for is best practices to be able to bundle my application and have users just install it using pip.
Would i be able to package the wen application like that even if it using django or is that not the way its normally done? Would they instead just download the code and set it up like it was any other tar ball of code?
I tried searching around for this but i find mostly information on people deploying there own projects.
Thanks
Dan
The answer depends of the size of your project.
If it's a plugin that could be integrated to any web site, so probally just an app in the project, it's quite easy check the page of the django's doc
If it's a full websitethen it's a little bit more complicated, since a django project depends on multiple settings that could differ from one system to an other I usually see the project being installed from a tar ball.
I've seen packages like django-admintools bundle multiple apps in one package, but the user still need to create a basic django project.
From what I know a full project cannot be install only by PIP.. the user always need to setup settings and the webserver (apache or nginx).
I hope this helped you.

Categories

Resources