[Python] collegamento ssh python

Balan Victor balan.victor0 a gmail.com
Ven 21 Set 2012 15:28:27 CEST


non ho capito questa parte: server che riceve una richiesta alla volta, non
uno multithread/process.
Non dovrebbe già essere cosi?

Il giorno 21 settembre 2012 15:23, Daniele Varrazzo <piro a develer.com> ha
scritto:

> On 2012-09-21 14:18, Balan Victor wrote:
>
>> ho provato a vedere un po flask e se ho capito bene dovrebbe bastare uno
>> script sulla macchina linux fatto cosi:
>>
>> from flask import Flask
>> app = Flask(__name__)
>>
>> @app.route('/')
>> def hello_world():
>>     temp=get_valute_to_return()
>>     return temp
>>
>> if __name__ == '__main__':
>>     app.run()
>>
>> e dai vari server windows fare una chiamata http.
>>
>> giusto?
>>
>
> Facile facile, no? Basta che fai girare un server che riceve una richiesta
> alla volta, non uno multithread/process, e hai risolto il problema di
> coordinare gli accessi dei diversi client.
>
>
>
> --
> Daniele Varrazzo - Develer S.r.l.
> http://www.develer.com
> ______________________________**_________________
> Python mailing list
> Python a lists.python.it
> http://lists.python.it/**mailman/listinfo/python<http://lists.python.it/mailman/listinfo/python>
>
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.python.it/pipermail/python/attachments/20120921/8e5b1863/attachment-0001.html>


Maggiori informazioni sulla lista Python