python real-time client-server application [closed] - python

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I need create a real-time client-server application (like Dropbox).
Client application should listen one channel of data.
I can do it with python?
What solutions, technologies, modules exists in python for this task?

Yes, you can do it with Python. You could do it with PHP, Bash, JavaScript, Ruby, C, C++, C#, Java, Haskell, Go, Assembler, Perl, Pascal, Oberon, Prolog, Lisp, or Caml if you like too.
Most interfaces to sockets fall into one of two categories:
Blocking interfaces
Event interfaces
There is no way to know which is right for your application without knowing what your application does.

Related

How to make two Python scripts communicate over the internet? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a way to make two Python scripts communicate over the internet. Something like what Socket.IO does with NodeJS, but without a browser, and in Python.
A constant connection (socket?) would be the best in my option, but if this is impossible or really difficult, using normal HTTP requests could be fine too.
Are there any frameworks to do this? If yes, which ones? Is there proper documentation? If no, how would this be achievable without a framework?
sockets are indeed what you're looking for. The Python docs have pretty good examples at the bottom of the page I linked.
As for frameworks, there is twisted which might help streamline the socket construction and message handling for you.
Lastly, there is an extremely helpful guide I reference often when programming with sockets. Warning: The guide is written for C, but the concepts apply nonetheless.
You should try to do this with xmlrpclib : http://docs.python.org/2/library/xmlrpclib.html.
It handle HTTP request.

Language for automation in cloud Administration or infrastructure management [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
My question is related to the language to learn for automation task in cloud computing.
will it be python or ruby or some thing else. i want to move into the ladder as a automation engineer for infrastructure in cloud and data centers/companies.
Thanks and Regards,
Your friend.
For an interesting Python counterpart to Puppert/Chef see Ansible.
Chef and Puppet, two tools commonly used for this kind of automation, are both written in Ruby.

PyQT + Django system architecture. Is Python a good way? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I need to create 2 level web-system. I choose Python as my tool.
I want use PyQt to develop 1st level: TCP/IP-server, and Django as 2nd level: Data visualization through Ajax(Front-End). System sketch on picture:
http://i.stack.imgur.com/pprv9.jpg
1st level will "chat" with about 1000 objects. And web-app with about 200 people.
Is it right way to use Python, Django and PyQt? Or may be there is better architecture solution?
While PyQt's networking module provides tools for writing TCP servers, I'm not sure you really need that dependency, since TCP servers can be written just in Python using only the standard library, and in fact Python already comes with a simple HTTP server built-in (and so does Django, by the way).
I have nothing against PyQt (quite the contrary, I like it a lot), but mixing its programming model and idioms into a Python program has to be done for a reason, and a network server isn't IMHO a good enough reason. If you want a GUI, then sure. But for a network server, just stick with Python, which has some incredibly powerful libraries of its own for writing servers, the foremost being Twisted, which you should definitely check out.

Ruby vs Python for Society Management System ! [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
My Graduation Project is developing a web-based Society Management System and i sould deliver Final Product of it at May 2012. for sure the front-end side will be designed using javascript,HTML,CSS,AJAX,..etc. The Question at Back-end side, my choice will be between Ruby on Rails and Python, i don't need to explain me the difference between them; but i need what's the best of them in case i'm something new in web Development, in the end i should learn both but i want to know what first should i start. My knowlegde til now is Good at ASP.NET and at front-back Markup Languages and i currently learn PHP Programming Language.
I think learning Python is easier than learning Ruby (simpler syntax).
So in my opinion start with Python to learn the concepts of scripting languages and afterwards Ruby will be easier.

Open source examples of well designed Python applications [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Do you know of well designed open source applications that are instructive to analyse?
Of course this question is strictly related to this other post, but I am specifically interested in applications written in Python.
Django is a python package that is very nicely coded and designed.
Look in the Python Standard Library. It is a great wealth of python code. I particularly like this.py :)
Seriously though there is good code in the std library.
Zope .
Pyramid is Great !
Pyramid - Web Framework

Categories