Creating Gui for python client server - python

Help needed with my python project.
Unable to get the code for the client or server implemented with the Gui i created.
it is one based on book seller where the client is the buyer and the server is the seller.
Code written so far could be supplied upon request.
please and thanks :)

If you want to develop a GUI then please visit this question. Here you can read different opinions regarding how to develop a GUI with python.
I personally would suggest you wxPython.
Also, upon googling for a second I found this link , which maybe be helpful.

Related

Sharepoint 2013 - create a reply to discussion using python

We have a discussion board in Sharepoint 2013, which has a workflow associated to perform several updates and send notifications to persons defined in the parent topic. The workflow runs when a reply is created.
We need to create automated replies to topics in that discussion board from a python microservice (running in kubernetes), and be sure the workflow is started correctly, in the same way when manual replies are created.
We have tried several things without success:
Using REST API from python. We can create the reply but the ParentItemID field it's not being assigned correctly, so it's not showing as a reply of the parent topic and the workflow is not running with the info of the parent
Using JSOM (JavaScript Object Model): we created a web page in the sharepoint site that can create the reply correctly using a content web part with a JS code, but we have not found a way to run this page from the python script. As it has JS, the option is to use requests-html library, which uses pyppeteer, but it requires to install Chrome and we don't have the option to install all prerequisites for this. Is there any other way to use the JSOM API from python?
We will really appreciate any help on this. Thanks!

NLP: How to tell wether a text is talking about which topic

I am a noob in python I was just making a website for studying for children so, I wanted the student to enter their response to a question and then their text response is reviewed and then it checks whether the child has given a response on a particular topic and whether the answer talks about a few key points, so how do I make it and implement it using Django, btw I started web dev a week ago so I am very new to this. Please help me!
thank you !!
You can check the Django tutorial. It will help you understand how django works, and the tutorial could lead you close to your need.

I cannot open my page with a specific link

Hi there I have a website which is hosted by pythonanywhere and the domain is from godaddy. So I have a simple issue I guess but I couldn't find the answer. My domain is www.itucampus.com
Everyone can reach my webpage with the links below:
http://itucampus.com
http://www.itucampus.com
itucampus.com
www.itucampus.com
https://www.itucampus.com
only this does not work -> https://itucampus.com The problem is I need it to be fixed for google adsense because they are trying to crawl my webpage over this link and they said they cannot change it to another. I also contacted godaddy and pythonanywhere if they may help me but they couldn't. I am new to web programming so I am not sure where I have to fix it. I hope you can help me. Thank you in advance.
You need to use an external HTTPS redirection service, e.g. NakedSSL.
You can read more on PythonAnywhere help pages.

how to build online point to point video chat web application, what tech stack any library? especially in python

I'm trying to build a web application like chatroulette, but with text chatting and user identification and user authorization functionality. Is there any suggestion on what tech stack I should use? Would be better if it's python. The most baffling part for me so far is I have no idea how to make two user video chat with each other directly without server transferring the video stream, how to make them be able to find each other? Especially when they are under sub-net. My friend mentioned use SIP to make them be able to talk to each other, any other options? Any library or framework suggested? Thanks...

Creating a URL filter for a proxy in python

I've been working on a small project which requires me to create a proxy with access to only a few sites.
Am using the code from here: https://github.com/labnol/google-proxy
Now, basically am a PHP guy, but haven't found anything as better as the above for setting up a web proxy server.
What I need here is:
A way to filter out URLs. Like I want people to access only the sites I allow.
In the allowed sites, I'd like to block certain scripts. e.g. On wikipedia.org, the person shouldn't be allowed to login.
Am a complete noob in Python. Can anyone suggest me something here, or provide a code snippet which I can use?
Thanks! :)
P.S.: For a PHP version, I've tried using Glype and miniProxy. But not as good as the one I mentioned. They break the CSS/JS of the websites.
You may install Squid and write your own filtering rules.

Categories