Re: Problem with Tkinter scrollbar callback

2008-01-29 Thread Ivan Van Laningham
No Joy. Waits the 1 second, then clicks the button once per second until the limit's reached. Sigh. Metta, Ivan On Jan 29, 2008 10:20 AM, Russell E Owen <[EMAIL PROTECTED]> wrote: > >Nope: > > > >'repeatdelay': ('repeatdelay', 'repeatDelay

Re: Problem with Tkinter scrollbar callback

2008-01-30 Thread Ivan Van Laningham
HI All-- We've decided that this represents a bug in the tcl/tk library, and there's no workaround. I switched to + and - buttons, which are not as nice aesthetically but work correctly on both Windows & Linux. Thanks to everyone for their help. Metta, Ivan On Jan 29, 2008 11:0

Re: Why not a Python compiler?

2008-02-07 Thread Ivan Van Laningham
ho deliberately set out to hire a starship wouldn't know the difference between time and distance. Occam's razor says Lucas screwed up and doesn't want to admit it. Metta, Ivan On Feb 7, 2008 1:05 PM, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2008-02-06, Gary Duzan &l

Re: Solve a Debate

2008-02-15 Thread Ivan Van Laningham
Hi All-- Lookup tables are always significantly faster than a bunch of ifs. Metta, Ivan On Fri, Feb 15, 2008 at 10:10 AM, Tim Chase <[EMAIL PROTECTED]> wrote: > > Ok the problem we had been asked a while back, to do a programming > > exercise (in college) > > That woul

Re: Python for web...

2008-02-24 Thread Ivan Van Laningham
Hi All-- Django is slick. I just yesterday picked up the book and started poking away. Downloaded, Installed and running in about ten minutes (I have several servers I can play with). Today I have several working pages. Use mod_python if you can. -ly y'rs, Ivan On Sun, Feb 24, 2008 at

Re: Python for web...

2008-02-25 Thread Ivan Van Laningham
Hi All-- I didn't have any trouble setting up mod_python & Django. However, I am my own hosting provider. That may make a difference. ;-) I can install fastcgi if it's a big win. Metta, Ivan On Mon, Feb 25, 2008 at 6:48 AM, Berco Beute <[EMAIL PROTECTED]> wrote: > >

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-02 Thread Ivan Ven Osdel
directly http://pythonide.stani.be/ or creating a plugin for Geany http://geany.uvena.de/ Ivan Ven Osdel Software Engineer http://www.datasyncsuite.com/ - Original Message - From: "Ali Servet Dönmez" <[EMAIL PROTECTED]> To: python-list@python.org Sent: Wednesday, July

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-02 Thread Ivan Ven Osdel
ng in Python On Jul 2, 7:55 pm, Ivan Ven Osdel <[EMAIL PROTECTED]> wrote: > The free Python editors/IDEs really do need work as far as code completion > goes but I am hopeful. > > IMO Stani's Python Editor comes closest by providing some code sense through > a combina

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-03 Thread Ivan Ven Osdel
com/ >http://www.trypython.org/ According to the site, Wings 101 doesn't support "Auto-completion for Python and extension modules" but I agree that Wings is worth it if he (or his company) can afford the license(s). If not then he should at least contribute time or money to one of the free (as in free speech, not free beer) alternatives. Ivan Ven Osdel http://www.datasyncsuite.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-07 Thread Ivan Ven Osdel
>- Original Message - >From: "Python Nutter" <[EMAIL PROTECTED]> >To: "Ivan Ven Osdel" <[EMAIL PROTECTED]> >Cc: python-list@python.org >Sent: Thursday, July 3, 2008 5:56:32 PM GMT -06:00 US/Canada Central >Subject: Re: Freesoftware for

Re: Using Python To Launch Python

2008-07-14 Thread Ivan Ven Osdel
has had the need to >perform a task similar to this one. >AHA Simplest case: >>> import os >>> os.system("/path/to/your/python app.py") Obviously things can be shortened by adding to the PATH. Ivan Ven Osdel Software Engineer http://datasyncsuite.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Framework recommendations for web service?

2008-07-16 Thread Ivan Ven Osdel
few months to get there but eventually it will be a built-in :) - Sylvain" -- Ivan Ven Osdel Senior Software Engineer http://datasyncsuite.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Framework recommendations for web service?

2008-07-16 Thread Ivan Ven Osdel
;take a few months to get there but eventually it will be >a built-in :) > >- Sylvain" My apologies, it appears that post was from 2006! -- Ivan Ven Osdel Senior Software Engineer http://datasyncsuite.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Agnostic fetching

2008-08-04 Thread Ivan Ven Osdel
#file exists urlParts = urlparse(fileUrlPath) host = urlParts[1] http = httplib.HTTP(host) http.putrequest("HEAD", fileUrlPath) http.putheader("Host", host) http.endheaders() errorcode, errormessage, headers = http.getre

Getting stdout and stderr from subprocess in correct order

2017-03-03 Thread Ivan "Rambius" Ivanov
Dear colleagues, I using subprocess module and I am wondering how I can get the output of the spawned process's stdout and stderr in the right order. Here are my sample programs: $ cat subprc.py import subprocess import sys f = 'hw.py' p = subprocess.run([sys.executable, f], stdout=subprocess.PI

Re: Getting stdout and stderr from subprocess in correct order

2017-03-04 Thread Ivan "Rambius" Ivanov
Hello, Thank you all for your suggestions. I will see what will apply to my use case. Regards Rambius On Sat, Mar 4, 2017 at 5:37 PM, Piet van Oostrum wrote: > "Ivan \"Rambius\" Ivanov" writes: > >> Dear colleagues, >> >> I using subprocess module

Re: what type of application implemented with python?

2017-04-15 Thread Ivan "Rambius" Ivanov
Hello, Python's own website contains a non-exhaustive list of applications implemeted in Python: https://www.python.org/about/apps/ Regards Rambius On Sat, Apr 15, 2017 at 4:13 PM, kondaiah sinha wrote: > what type of application implemented with python?...like by using java we can > implement

Re: New blog from python-dev

2011-03-29 Thread Ivan Vilata i Balaguer
d to subscribe to the RSS feed (my reader doesn't support Atom) but although I'm following the link labeled as RSS, I'm still getting an Atom feed via FeedBurner. May this be a problem with FeedBurner configuration, or I'd better use another subscription mechanism? Thank

Re: In need of a virtual filesystem / archive

2006-02-21 Thread Ivan Vilata i Balaguer
ress its nodes, which may make a reasonable option to a compressed archive. I will be pleased to give more information. Hope that helps. .. _PyTables: http://www.pytables.org/ .. _HDF5: http://hdf.ncsa.uiuc.edu/HDF5/ .. _FileNode: http://pytables.sourceforge.net/html-doc/usersguide6.html impor

What is currently the recommended way to work with a distutils-based setup.py that requires compilation?

2016-11-06 Thread Ivan Pozdeev via Python-list
the command line each time, now can they? I also asked this at http://stackoverflow.com/q/40174932/648265 a couple of days ago (to no avail). -- Regards, Ivan -- https://mail.python.org/mailman/listinfo/python-list

Re: Confused with installing per-user in Windows

2016-11-06 Thread Ivan Pozdeev via Python-list
ke this behavior default or by a simple command line option? So that user can be instructed to type "py myscript [.py]" and it will JUST work, if the script is on existing PATH or in the per-user directory? I know about bdist_wininst and Windows specific install options, but

A Single Instance of an Object?

2024-03-11 Thread Ivan "Rambius" Ivanov via Python-list
Hello, I am refactoring some code and I would like to get rid of a global variable. Here is the outline: import subprocess CACHE = {} def lookup(key): Runs the command cmd, parses its output, extract's the key's value, caches it and returns it. If the key has already been in the cac

Re: A Single Instance of an Object?

2024-03-11 Thread Ivan "Rambius" Ivanov via Python-list
On Mon, Mar 11, 2024 at 5:01 PM Chris Angelico via Python-list wrote: > > On Tue, 12 Mar 2024 at 07:54, Ivan "Rambius" Ivanov via Python-list > wrote: > > I am refactoring some code and I would like to get rid of a global > > variable. Here is the outline: > &

Re: A Single Instance of an Object?

2024-03-11 Thread Ivan "Rambius" Ivanov via Python-list
On Mon, Mar 11, 2024 at 5:06 PM dn via Python-list wrote: > > Good question Rambius! > > On 12/03/24 09:53, Ivan "Rambius" Ivanov via Python-list wrote: > > Hello, > > > > I am refactoring some code and I would like to get rid of a global > >

Timezone in HH:MM Format

2024-06-18 Thread Ivan "Rambius" Ivanov via Python-list
ZoneInfo s = datetime.strftime(datetime.now(ZoneInfo("America/New_York")), "%Y-%m-%dT%H:%M:%S%z") print(s) This prints the same as the shell command above except the last column: 2024-06-18T19:28:56-0400 Any help will be appreciated. Regards Ivan -- Ta

Re: Timezone in HH:MM Format

2024-06-18 Thread Ivan "Rambius" Ivanov via Python-list
Thank you all for your responses! On Tue, Jun 18, 2024 at 9:54 PM Jon Ribbens via Python-list wrote: > > datetime.now(ZoneInfo("America/New_York")).isoformat() Both .isoformat() and "%:z" work. -- Tangra Mega Rock: http://www.radiotangra.com -- https://mail.python.org/mailman/listinfo/python

<    1   2   3   4   5   6