Re: Nufox : Xul + Python

2005-10-02 Thread Salvatore
As you said this is in early stage 0.1-alpha-alpha :-) I'm not the author of this interesting piece of work it is Tim Stebbing I only wanted to share Tim's work. Don't hesitate to contact him on the nufox mailin list It runs on top of twisted-nevow. Indeed for now the application is not reinitiali

Nufox hosted.

2005-10-13 Thread Salvatore
Hello, I've been kindly authorized to host Nufox examples for free on : http://bsd.miki.eu.org:9090/ Regards -- http://mail.python.org/mailman/listinfo/python-list

Nufox examples hosted :-)

2005-10-13 Thread Salvatore
Hello, I've been kindly authorized to host Nufox examples for free on : http://bsd.miki.eu.org:9090/ Regards -- http://mail.python.org/mailman/listinfo/python-list

Xul - Python

2005-10-19 Thread Salvatore
Hello, Nufox. You can give a try with Firefox or Mozilla on http://www.salvatore.exolia.net:9090/ Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: parabola

2005-11-08 Thread Salvatore
Here is an old piece of code I wrote when begining Python ;-) from Tkinter import * import string import Numeric from Canvas import Line import math class Tableau(Canvas): def __init__(self,master=None,size=400,col='black',colrep='red',colgrid='grey'): Canvas.__init__(self,master,width=size

Re: parabola

2005-11-08 Thread Salvatore
Here is an old piece of code I wrote to test Tkinter from Tkinter import * import string import Numeric from Canvas import Line import math class Tableau(Canvas): def __init__(self,master=None,size=400,col='black',colrep='red',colgrid='grey'): Canvas.__init__(self,master,width=size,height=s

Nufox : Nouveaux examples...

2005-11-11 Thread Salvatore
Sur : http://www.salvatore.exolia.net:9090/ (Nécessite Firefox ou Mozilla) Cordialement Salvatore. -- http://mail.python.org/mailman/listinfo/python-list

Nufox : New examples

2005-11-11 Thread Salvatore
On : http://www.salvatore.exolia.net:9090/ (Firefox ou Mozilla) Regards -- http://mail.python.org/mailman/listinfo/python-list

os.spawnl error

2005-11-17 Thread Salvatore
r: [Errno 22] Invalid argument Regards Salvatore -- http://mail.python.org/mailman/listinfo/python-list

PSE : Python Servlet Engine configuration

2005-01-23 Thread salvatore
Hello, Is there someone who use PSE ? I have a strange problem, i don't see how pse.conf is managed. Indeed althoug I make modifications on it nothind is take in account. I have also erases it !!! and PSE doesn't claim anything !!! Can someone help me ? Regards Salvatore -- http://mail.

Re: urllib.urlopen: Errno socket error

2006-10-16 Thread Salvatore
Hello, Try to increase the time out : socket.settimeout(n) and catch the timeout error when it occurs Regards [EMAIL PROTECTED] a écrit : > Hi, > > I'm just trying to read from a webpage with urllib but I'm getting > IOErrors. This is my code: > > import urllib > sock = urllib.urlopen("http:/

Re: Forum written in Python?

2006-11-02 Thread Salvatore
Hello, Look at Karrigell, it includes the base of a forum and a blog in is demo Karrigell is a wonderfull pythonic framework. It's simple and efficient. Thanks his author Regards slav0nic a écrit : > Karlo Lozovina ÐÉÛÅÔ: > > Are there any forum or bulletin board systems written entirely in

"Adding" dictionnaries

2006-06-13 Thread Salvatore
Hello, Does anybody had the problem of adding the content of two dictionnaries. ? Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: "Adding" dictionnaries

2006-06-13 Thread Salvatore
While reading the doc i've found 'update' :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: "Adding" dictionnaries

2006-06-13 Thread Salvatore
Paul McGuire a écrit : > Also, you will find a wealth of help by using (from the interactive Python > prompt) "help(dict)" or "help(str)" or "import unfamiliarModule; > help(unfamiliarModule)". > Thanks Paul -- http://mail.python.org/mailman/listinfo/python-list

Candygram

2006-08-29 Thread Salvatore
Hello, I am using the following code to fetch URL Is there a way to speed it. I cant't get rid of the time.sleep(1) for every request !!! Thank you for you advise Regards Salvatore from candygram import cg def fetchURL(): r = cg.Receiver() r.addHandler(cg.Any,getURL,cg.Me

Re: python

2006-02-07 Thread Salvatore
A new OS in Python : http://unununium.org/introduction :-) -- http://mail.python.org/mailman/listinfo/python-list

Python in HTML Application (HTA)

2007-10-13 Thread Salvatore
k%Server).read() setValue('tabcentre',c) ... ... When I call 'infoSystem', the 'info' div is only updated at the end of the 'infoSystem' call. Did someone have an explication of that behavior ? Regards Salvatore -- http://mail.python.org/mailman/listinfo/python-list

Re: Python in HTML Application (HTA)

2007-10-13 Thread Salvatore
In fact, whatever I do in "infoSystem" (modifiying style attributes of an object, change cursor appearance...), changes are only reflected at the end of the function call ... Salvatore a écrit : > Hello, > > I encounter a display problem in one of my script > > ... &

Re: Python FTP server library 0.3.0 released

2008-01-17 Thread Salvatore
integrate in Python Libs Regards Salvatore -- http://mail.python.org/mailman/listinfo/python-list

Re: Client side GUI-like web framework ?

2008-02-04 Thread Salvatore
x27;... Give a try to http://www.appcelerator.org/index.html Regards Salvatore A.K.A ArtyProg -- http://mail.python.org/mailman/listinfo/python-list

Python types

2006-03-24 Thread Salvatore
Hello, I've read several articles where it's said that Python is weakly typed. I'm a little surprised. All objects seem to have a perfectly defined type Am i wrong? Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: Python types

2006-03-25 Thread Salvatore
Thank's everybody :-) Here is a type définition I've found on the net which I agree with : Attribute of a variable which determines the set of the values this variabe can take and the operations we can apply on it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python types

2006-03-25 Thread Salvatore
Grazie ALex, for your comment. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python types

2006-03-26 Thread Salvatore
Thank's Bruno. -- http://mail.python.org/mailman/listinfo/python-list

Uninstall tool not working.

2022-09-13 Thread Salvatore Bruzzese
Hi, I was trying to uninstall version 3.10.7 of python but I've encountered problems with the uninstall tool. I open the python setup program, click on the uninstall button but it doesn't even start deleting python even though it says that the process has finished. Feel free to ask for more details

Nufox : Simple Tree

2005-09-28 Thread salvatore . didio
Nufox allow XUL developement like you could do with any other GUI library If you want to see an example : http://www.google.com/url?sa=D&q=http://www.freezope.org/Members/artyprog/programmation/lienspython/nufox/examples/sortedcolumns Regards Salvatore -- http://mail.python.org/mai

Nufox : Xul + Python

2005-10-01 Thread salvatore . didio
Hello, You can test Nufox (with Firefox) at : http://artyprog.no-ip.org Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: Nufox : Xul + Python

2005-10-01 Thread salvatore . didio
Oops: http://artyprog.noip.org:8080 -- http://mail.python.org/mailman/listinfo/python-list

Re: Nufox : Xul + Python

2005-10-02 Thread salvatore . didio
Thank you for testing Indeed it is very interesting :-) I've had some problems with my ports forwarding and no-ip.org. Here is then the new address : http://artyprog.dyndns.org:8080 Regards Betwise, I live in France so the site is close when i'am at work -- http://mail.python.org/mailman/lis

Re: Nufox : Xul + Python

2005-10-02 Thread salvatore . didio
You are perfectly right ;-) And I've been a network technician !!! I've modified the address, thank you for testing Regards Salvatore -- http://mail.python.org/mailman/listinfo/python-list

Valgrind and pexpect

2007-12-20 Thread Salvatore Iovene
So, does anyone know what the correct way to do this is? Thanks in advance, Salvarore. -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 -- http://mail.python.org/mailman/listinfo/python-list

ArtWork in PyPyBox - Pure Python

2016-03-30 Thread Salvatore DI DIO
In pure Python, here is a nice image (for me at least) http://salvatore.diodev.fr/pypybox/ Regards -- https://mail.python.org/mailman/listinfo/python-list

Transcrypt - Games for Kids

2016-06-27 Thread Salvatore DI DIO
Hello, I am using Transcrypt (Python to Javascript translator) to create games for kids, and introduce them to programming. You can give an eye here : https://github.com/artyprog/GFK Regards -- https://mail.python.org/mailman/listinfo/python-list

RapydScript : Python to Javascript translator

2013-11-17 Thread Salvatore DI DIO
Hello, If someone is interested about a fast Python to Javascript translator (not a compiler like Brython which is another beast) Here is a link of a RapydScript Tester. For now it's only for windows. Regards http://salvatore.pythonanywhere.com/static/Projects/RapydScriptDemo.exe (I can if t

Re: [ANN] Pythonium Core 0.2.5

2013-11-17 Thread Salvatore DI DIO
Thanks Amirouche, I am now balanced between RapydScript and Pythonium :-) Le dimanche 17 novembre 2013 20:17:44 UTC+1, Amirouche Boubekki a écrit : > Héllo Pythonistas from all over the world, > > > > I'm very proud to announce the immediate availability of Pythonium Core > 0.2.5, a Python 3

Re: [ANN] Pythonium Core 0.2.5

2013-11-17 Thread Salvatore DI DIO
Porting Kivy would be really great. Le dimanche 17 novembre 2013 20:17:44 UTC+1, Amirouche Boubekki a écrit : > Héllo Pythonistas from all over the world, > > > > I'm very proud to announce the immediate availability of Pythonium Core > 0.2.5, a Python 3 to Javascript translator (the best) th

Re: [ANN] Pythonium Core 0.2.5

2013-11-17 Thread Salvatore DI DIO
Are lists comprehensions are featured in Veloce ? -- https://mail.python.org/mailman/listinfo/python-list

Re: RapydScript : Python to Javascript translator

2013-11-18 Thread Salvatore DI DIO
ght :-) Here is the source code : https://github.com/charleslaw/rapydscript_online You can see other demos here : http://salvatore.pythonanywhere.com/RapydScript The official site of RapydScript : http://rapydscript.pyjeon.com/ e assumptions before testing : Here is the official site: http://rapyd

Source code of Python to Javascsript translator

2013-11-18 Thread Salvatore DI DIO
is the source code : https://github.com/charleslaw/rapydscript_online You can see other demos here : http://salvatore.pythonanywhere.com/RapydScript The official site of RapydScript : http://rapydscript.pyjeon.com/ e assumptions before testing : Here is the official site: http://rap

RapydBox

2014-02-04 Thread Salvatore DI DIO
Hello, For those of you who are interested by tools like NodeBox or Processing. you can give a try to RapydScript here : https://github.com/artyprog/RapydBox Regards -- https://mail.python.org/mailman/listinfo/python-list

Explaining names vs variables in Python

2016-03-02 Thread Salvatore DI DIO
Hello, I know Python does not have variables, but names. Multiple names cant then be bound to the same objects. So this behavior >>> b = 234 >>> v = 234 >>> b is v True according to the above that is ok But where is the consistency ? if I try : >>> v = 890 >>> w = 890 >>> v is w False It

Explaining names vs variables in Python (follow)

2016-03-02 Thread Salvatore DI DIO
Thank you very much all of you. I better understand now Regards -- https://mail.python.org/mailman/listinfo/python-list

Re: Explaining names vs variables in Python

2016-03-02 Thread Salvatore DI DIO
Thank you very much ast and all of you. I better understant now Regards -- https://mail.python.org/mailman/listinfo/python-list

Experimenting with PyPyJS

2016-03-19 Thread Salvatore DI DIO
Hy all, I am experimenting PyPyJS and found it not so bad at all. The virtual machine loads on a few seconds (using firefox). It s really nice for learning Python, you have all the standard libraries, and traceback on errors. I don't have to choose anymore with all transpilers around You can t

Re: Experimenting with PyPyJS

2016-03-19 Thread Salvatore DI DIO
Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit : > Hy all, > > I am experimenting PyPyJS and found it not so bad at all. > The virtual machine loads on a few seconds (using firefox). > > It s really nice for learning Python, you have all the standard librarie

Re: Experimenting with PyPyJS

2016-03-19 Thread Salvatore DI DIO
Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit : > Le 19/03/2016 16:32, Salvatore DI DIO a écrit : > > Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit : > >> Hy all, > >> > >> I am experimenting PyPyJS and found it not so

Re: Experimenting with PyPyJS

2016-03-19 Thread Salvatore DI DIO
Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit : > Le 19/03/2016 16:32, Salvatore DI DIO a écrit : > > Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit : > >> Hy all, > >> > >> I am experimenting PyPyJS and found it not so

Re: Experimenting with PyPyJS

2016-03-19 Thread Salvatore DI DIO
Le samedi 19 mars 2016 19:52:45 UTC+1, Terry Reedy a écrit : > On 3/19/2016 1:06 PM, Salvatore DI DIO wrote: > > Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit : > >> Le 19/03/2016 16:32, Salvatore DI DIO a écrit : > >>> Le samedi 19 mars 2016 16:2

Nodebox(v1) on the web via RapydScript

2013-10-03 Thread Salvatore DI DIO
Hello, Nodebox is a program in the spirit of Processing but for Python. The first version runs only on MAC. Tom, the creator has partly ported it to Javascript. But many of you dislike Javascript. The solution was to use a translator, Python -> Javascript Of the both two greats solutions Bryth

Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
Hello, I was trying to show that this limit was 'e' But when I try large numbers I get errors def lim(p): return math.pow(1 + 1.0 / p , p) >>> lim(5) 2.718281748862504 >>> lim(9) 2.7182820518605446 What am i doing wrong ? Regards -- https://mail.python.org/mailman/l

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
Thank you very much Oscar,I was considerind using Mapple :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
Thank you very much Chris -- https://mail.python.org/mailman/listinfo/python-list

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
Thank you very much Oscar, I was considering using Mapple :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-10 Thread Salvatore DI DIO
Thank you very much Peter -- https://mail.python.org/mailman/listinfo/python-list

I/O Multiplexing and non blocking socket

2006-12-01 Thread Salvatore Di Fazio
Hi guys, I'm looking for a tutorial to make a client with a i/o multiplexing and non blocking socket. Anybody knows where is a tutorial? Tnx -- http://mail.python.org/mailman/listinfo/python-list

Re: I/O Multiplexing and non blocking socket

2006-12-01 Thread Salvatore Di Fazio
Jean-Paul Calderone ha scritto: > On 1 Dec 2006 06:07:28 -0800, Salvatore Di Fazio <[EMAIL PROTECTED]> wrote: > >Hi guys, > >I'm looking for a tutorial to make a client with a i/o multiplexing and > >non blocking socket. > > > >Anybody knows where

Thread help

2006-12-01 Thread Salvatore Di Fazio
Hi guys, I would make 3 threads for a client application. Tnx -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread help

2006-12-01 Thread Salvatore Di Fazio
Grant Edwards ha scritto: > You should use 4. Yes, but I don't know how can I make a thread :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread help

2006-12-01 Thread Salvatore Di Fazio
Grant Edwards ha scritto: > http://docs.python.org/lib/module-threading.html > http://linuxgazette.net/107/pai.html > http://www.wellho.net/solutions/python-python-threads-a-first-example.html > http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf Thank Edward, I didn't find the linuxgazet

Re: Thread help

2006-12-01 Thread Salvatore Di Fazio
Grant Edwards ha scritto: > http://docs.python.org/lib/module-threading.html > http://linuxgazette.net/107/pai.html > http://www.wellho.net/solutions/python-python-threads-a-first-example.html > http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf Thank Edward, I didn't find the linuxgazet

Thread error

2006-12-03 Thread Salvatore Di Fazio
Hi guys, when I close the application I get the following error: - Traceback (most recent call last): File "main.py", line 88, in while exit : pass KeyboardInterrupt Unhandled exception in thread started by Error in sys.excepthook: Original exception was: --

Re: Thread error

2006-12-04 Thread Salvatore Di Fazio
Tnx Dennis, this is my first python program, so I don't know every modules :( Anyway thank you so much for the suggestions, corrections and for the whole program :) Thank you -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread error

2006-12-04 Thread Salvatore Di Fazio
Hi Dennis, I have another little problem with your source: Traceback (most recent call last): File "main.py", line 86, in kdi.join() # wait for kdi thread to exit NO CPU HOG BUSY LOOPS File "d:\programmi\python25\lib\threading.py", line 549, in join assert self.__started, "cannot joi

Re: Thread error

2006-12-05 Thread Salvatore Di Fazio
Dennis Lee Bieber ha scritto: > Ah, sorry... Warned you that I didn't test... > > Duplicate the block of lines with the .join() calls. Put this block > just before them, but after the threading.Thread calls, and change the > .join() to .start() Tnx Dennis I resolved yesterday after th

Watch log

2007-01-15 Thread Salvatore Di Fazio
Hi guys, I've an application that writes a log file. I need to write an application with python that will read this file. I would like wait until a new line will be write in the file. Something like the "watch cat Log" command on Linux os. How can I check the eof and restart the reading? -- ht

Re: Watch log

2007-01-15 Thread Salvatore Di Fazio
Bjoern Schliessmann ha scritto: > Why not read the file continuously and only do something if a new > line is complete (i. e. a newline char is detected)? How can I read the file continuously? -- http://mail.python.org/mailman/listinfo/python-list

Re: Watch log

2007-01-16 Thread Salvatore Di Fazio
Thinker ha scritto: > What you want is something like 'tail -f' in linux. > If you look into it's source code, you will find it check file periodically. > When a read() reach the end of the file, read() will return a empty string. > You can try to read data from the file periodically after a EOF.

Re: Watch log

2007-01-16 Thread Salvatore Di Fazio
Michele Simionato ha scritto: > You may begin from this: Tnx Michele -- http://mail.python.org/mailman/listinfo/python-list

Re: Compress a string

2008-05-18 Thread Salvatore DI DI0
Try this t = set("bbc") list(t) Regards Salvatore "Matt Porter" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hi guys, > > I'm trying to compress a string. > E.g: > "BBBC" -&

Processing in Python

2008-05-20 Thread Salvatore DI DI0
Hello, The Processing Graphics language has been implemented in Javascript. Does anybody tried to make this in Python ? Regards Salvatore http://processing.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Processing in Python

2008-05-21 Thread Salvatore DI DI0
> He meant it has been re-implemented in Javascript: Indeed :-) There is a jython based NodeBox that runs on windows that can be found > here: > > http://research.nodebox.net/index.php/NodeBoxDev > Thank you -- http://mail.python.org/mailman/listinfo/python-list

Re: Processing in Python

2008-05-21 Thread Salvatore DI DI0
Thanks all of you Regards Salvatore -- http://mail.python.org/mailman/listinfo/python-list