Re: pyrudp

2013-01-30 Thread Jorge Alberto Diaz Orozco
I´ve tried it but it´s not reliable. Datagrams can arive disorganised or just not arive. Some programmers said I most use TCP, but I need to use UDP. that´s why I need pyrudp, but I can not find it. On Jan 30, 2013, at 8:12 AM, Jorge Alberto Diaz Orozco What about the native socket call to

Re: pyrudp

2013-01-30 Thread Jorge Alberto Diaz Orozco
I want to use a reliable UDP connection like you say, a TCP like connection but over UDP. thaks for your recomendation, if I get good results I promise to share them. - Original Message - From: "Michael Torrie" To: python-list@python.org Sent: Wednesday, January 30, 2013 9:16:15 AM Subj

Re: pyrudp

2013-01-30 Thread Jorge Alberto Diaz Orozco
I have restrictions in my system that does not allow me to use TCP, so I want to make a pipe over UDP imitating TCP behavior. I have control over both endpoints, and I´m writing both of them. I just don´t want to re-invent the wheel and I´m looking for a reliable UDP sockets implementation for Py

xarry netcdf message

2022-08-23 Thread Jorge Conrado Conforte Conforte
Hi, I'm reading my netcdf data air.2m.mon.ltm.nc. I used the netcdf4 and I didn't have message when i read my data. But if I use the xarray I had this message: /home/conrado/.conda/envs/meuambi/lib/python3.8/site-packages/xarray/backends/plugins.py:61: RuntimeWarning: Engine 'cfgrib' loading fail

Re: Pexpect getting a defuct process

2005-01-04 Thread Jorge Luiz Godoy Filho
Baillargeon, Sonny, TerÃa 04 Janeiro 2005 14:42, wrote: > This used to work before but now I get a defunct process after it runs. > Any ideas? "before" what? What has changed in your environment to make it stop working? -- Godoy. <[EMAIL PROTECTED]> -- http://mail.python.org/mailman/lis

RE: Pexpect getting a defuct process

2005-01-04 Thread Jorge Luiz Godoy Filho
Baillargeon, Sonny, TerÃa 04 Janeiro 2005 16:16, wrote: > Nothing...I know that's the default answer but considering I control the > environment, I can assure you that nothing changed. I have no reason to doubt you. :-) Checking pexpect's documentation, and re-reading your code I see that you h

Re: get the IP address of a host

2005-01-07 Thread Jorge Luiz Godoy Filho
Kartic, Quarta 05 Janeiro 2005 14:08, wrote: > socket.gethostbyaddr(socket.gethostname()) > > will return a tuple containing fully qualified hostname, alternative > hostnames, ip addresses (>1 if multihomed). > > or > > socket.gethostbyname(socket.gethostname()) None of these work with compute

Re: python mode indentation problem

2005-01-15 Thread Jorge Luiz Godoy Filho
Xah Lee, SÃbado 15 Janeiro 2005 13:24, wrote: > does anyone know why the Python mode in emacs uses spaces for first > level indentation but one tab for second level? > > i'm using emacs 21.3.50.1. > Xah > [EMAIL PROTECTED] > http://xahlee.org/PageTwo_dir/more.html It doesn't. It uses spaces f

Accessing MDB files on Windows

2005-01-19 Thread Jorge Luiz Godoy Filho
Hi, What is the best way to deal with MDB files? I was thinking on using ODBC... I'll need to read and write some information to it. The load won't be so high, but there might be a lot of data. Any advices? Will my approach work? I'm not a Windows guy... :-) -- Godoy. <[EMAIL PROTEC

Re: Accessing MDB files on Windows

2005-01-19 Thread Jorge Luiz Godoy Filho
Larry Bates, Quarta 19 Janeiro 2005 14:01, wrote: > I'm assuming the application will be run on Windows. You're right. It will be run on Windows. I discarded some other platform due to the difficulty of supporting this file format. > You can use ODBC or DAO. > > An DAO solution that I wrote

Re: Accessing MDB files on Windows

2005-01-19 Thread Jorge Luiz Godoy Filho
Steve Holden, Quarta 19 Janeiro 2005 14:38, wrote: > Note that DAO is a very old library, and nowadays ADO would probably be > the preferred method in the Windows environment (can DAO even *use* > oledb providers?). ADO libraries are available - see > >http://www.markcarter.me.uk/computing/py

Re: Accessing MDB files on Windows

2005-01-19 Thread Jorge Luiz Godoy Filho
Jorge Luiz Godoy Filho, Quarta 19 Janeiro 2005 14:25, wrote: > Thanks! I'm looking at it. Worked like a charm! And just now I noticed who's the author of the recipe ;-) Thanks! -- Godoy. <[EMAIL PROTECTED]> -- http://mail.python.org/mailman/listinfo/python-list

Re: Accessing MDB files on Windows

2005-01-19 Thread Jorge Luiz Godoy Filho
Jorge Luiz Godoy Filho, Quarta 19 Janeiro 2005 15:17, wrote: > Hmmm... I see. I'm trying to avoid having to install external modules > at > my client's server. Should I use, given that both DAO and ODBC are > available with the win32all extensions, DAO or ODBC? >

Re: ElementTree cannot parse UTF-8 Unicode?

2005-01-20 Thread Jorge Luiz Godoy Filho
Fredrik Lundh, Quinta 20 Janeiro 2005 05:17, wrote: > what does it give you on your machine? (looks like wxPython cannot handle > Unicode strings, but can that really be true?) It does support Unicode if it was built to do so... -- Godoy. <[EMAIL PROTECTED]> -- http://mail.python.org/ma

Background thread

2005-06-25 Thread Jorge Louis De Castro
e or documentation directions will be highly appreciated.   Thanks in advance   jorge -- http://mail.python.org/mailman/listinfo/python-list

Background thread or non-blocking raw_input

2005-06-26 Thread Jorge Louis De Castro
sible to have the thread print its stuff and then return to raw_input() ? Any code examples or pseudo-code or documentation directions will be highly appreciated.   Thanks in advance   jorge -- http://mail.python.org/mailman/listinfo/python-list

Non-blocking raw_input

2005-06-27 Thread Jorge Louis de Castro
Hi, Could anyone tell me whether I can find a non blocking alternative to raw_input that works on windows? Is there not a python way of achieving this? Can I find it somewhere in the documentation? Any help will be highly appreciated Cheers j. -- http://mail.python.org/mailman/listinfo/pytho

Re: Non-blocking raw_input

2005-06-28 Thread Jorge Louis de Castro
() ? Or use any function other than raw_input? Any code examples, pseudo-code, or documentation directions will be highly appreciated! Thanks in advance Cheers jorge >From: Peter Hansen <[EMAIL PROTECTED]> >To: python-list@python.org >Subject: Re: Non-blocking raw_input >Date

Learning Python - IM Wiki

2005-07-08 Thread Jorge Louis De Castro
post the code it here? Actually, I'll post it below and if anyone knows of a better place to do something like this I'll do it there. Next I'm changing the client to include a server thread listening instead of polling the server.   Regards jorge     SIMPLE IM CLIENT   import s

Re: Postgres and SSL

2005-02-11 Thread Jorge Luiz Godoy Filho
Greg Lindstrom wrote: > I'm on a Linux box running python 2.3 and would like to connect to a > postgres database via SSL, but have not been able to find a module to do > this (or haven't figured out the syntax). Can anyone help me out? With both psycopg and pypgsql it depends on how your libpq w

Re: Big development in the GUI realm

2005-02-11 Thread Jorge Luiz Godoy Filho
Max M wrote: > GPL is not suitable for all kinds of software. It's nice if you are > sharing code with others, but if you are developing something like a > desktop application that you want to sell for money, using the GPL is a > bad idea. If you're earning money, why not pay for the libraries th

Re: how to pass globals across modules (wxPython)

2004-12-21 Thread Jorge Luiz Godoy Filho
Peter Hansen, Segunda 20 Dezembro 2004 08:01, wrote: > An even better approach might be to find a way to avoid > having to access the main window through a global, but > I'll have to leave this up to you, as it may depend on > your program structure. This might be a problem also to share a databa

Re: how to pass globals across modules (wxPython)

2004-12-21 Thread Jorge Luiz Godoy Filho
Fredrik Lundh, TerÃa 21 Dezembro 2004 14:02, wrote: > or a single "application context class" instance, which is passed to > various parts of the system as necessary. Wouldn't that cause a chicken & egg problem? How, then, would one pass such an instance across modules? I'm sorry for my ignoran

Re: how to pass globals across modules (wxPython)

2004-12-22 Thread Jorge Luiz Godoy Filho
Fredrik Lundh, TerÃa 21 Dezembro 2004 16:33, wrote: > well, in my applications, subsystems usually consists of one or more > classes, or at least > one or more functions. code that needs the global context usually gets > the content either as a constructor argument, or as an argument to > individ

Re: consequences of not calling object.__init__?

2004-12-28 Thread Jorge Luiz Godoy Filho
Peter Hansen, Quarta 29 Dezembro 2004 01:04, wrote: > Maybe there's no such pronouncement, but unless there is a > clear statement somewhere (and I believe I've missed it, if > there is) that reads "one should *always* call __init__ on the > superclass even if one is just subclassing object and no

Updating file objects automatically

2004-12-29 Thread Jorge Luiz Godoy Filho
Hi, I have the following situation where I only open the file on the Search class (where it should be used more often) and I want to reutilize search methods to find the exact location of where the changes should occur. In code terms, I have something like:

Re: Updating file objects automatically

2004-12-30 Thread Jorge Luiz Godoy Filho
Craig Ringer, Quinta 30 Dezembro 2004 06:27, wrote: > I couldn't really catch your explanation, but mention of changing all > instances of a class suggests that you may be in a situation where you > need to modify the class, not its instances. There are two methods I use > when I have to change th

Re: Updating file objects automatically

2004-12-30 Thread Jorge Luiz Godoy Filho
Jorge Luiz Godoy Filho, Quinta 30 Dezembro 2004 09:20, wrote: > It helps, yes. Putting the object on the class instead of on an instance > of > it might (I'm 99.9% sure) solve the problem. (I have already done that > for other object that is shared, but I didn't remember

Re: PyQT installation

2004-12-30 Thread Jorge Luiz Godoy Filho
Steve Holden, Quinta 30 Dezembro 2004 14:13, wrote: > If that is a real *never* then Qt just fell behind in the "what's the > best GUI platform" stakes. It'd be a shame to lose PyQT, but if there's > no way to migrate it forwards it will atrophy and die. Have TrollTech > said they will never issue

Re: standard IDE in python 3000 (or beyond)? *semi-newbie*

2004-12-30 Thread Jorge Luiz Godoy Filho
mrkurt, Quinta 30 Dezembro 2004 14:39, wrote: > About the closest thing to what Mike might want is Boa Constructor, > which does have a GUI building tool. It is not as polished as the > Visual Studio GUI builder, but there are a lot of controls there that > can be used. It requires the wxWindows

python app hosting

2014-07-11 Thread Jorge Alberto Díaz Orozco
Hi, I'm looking for some server to host an xmlrpc server app I've made. Can someone help me find any? VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 2014. Ver www.uci.cu -- https://mail.python.org/mailman/listinfo/python-list

examples of pyraknet

2013-04-24 Thread Jorge Alberto Diaz Orozco
do anyone has examples of pyraknet??? I've being seen these ones (http://nullege.com/codes/search/pyraknet) but I still don't understand lot of things about it and I can't find anything else. http://www.uci.cu -- http://mail.python.org/mailman/listinfo/python-list

licenses

2016-01-09 Thread Martinez, Jorge Alberto (GE Aviation)
Hello We develop applications here with Python and I want to know if there's issues by using. We use NumPy, PyDaqMx, Py Visa How can we cover this licensing? Regards Jorge Alberto Martinez GE Aviation Systems HW Team Manager GEIQ Power Engineering T +52 442 456 6446 E jorgealberto.

RE: licenses

2016-01-11 Thread Martinez, Jorge Alberto (GE Aviation)
Thank you very much for your reply. Best Regards From: Cody Piersall [mailto:cody.piers...@gmail.com] Sent: Sunday, January 10, 2016 1:43 PM To: python-list@python.org Cc: Martinez, Jorge Alberto (GE Aviation) Subject: Re: licenses On Fri, Jan 8, 2016 at 1:41 PM, Martinez, Jorge Alberto (GE

Scipy curve_fit

2025-03-06 Thread Jorge Conrado Conforte via Python-list
Hi, I have an array with precipitation data and other with burned area. I don't have experience with curve_fit. I read my data and plot the points for each precipitation and burned area. Then I use: popt = curve_fit(non_linear_model, preciamz,areaqamz) and I had: /home/conrado/FOCOS_2003_2024/NEL

<    1   2   3   4   5