Debugging pipe IPC

2007-12-17 Thread Jim B. Wilson
t; and allowed me to compose/test small snippets on the terminal. So far, no joy. Is this possible? If so, can someone nudge me toward a solution or better yet a recipe? Jim Wilson Gainesville, FL -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugging pipe IPC

2007-12-17 Thread Jim B. Wilson
Ian Clark pointed me to: > ... the cmd module. > <http://docs.python.org/lib/module-cmd.html> Yes, I found that, but I could only get it to print a nice interactive prompt, "(Cmd)", read a line of input and discard it. Apparently, I'm too stupid to figure out how t

Re: Another newbie design question

2007-12-17 Thread Jim B. Wilson
ot;""'d strings. They come in quite handy in a lot of practical cases. And remember: "If you need it and you don't have it, you don't need it." (at least in backpacking :) Jim Wilson Gainesville, FL -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugging pipe IPC

2007-12-17 Thread Jim B. Wilson
Ian Clark wrote: > Jim B. Wilson wrote: > ... >> The child/client sends requests on its stdout and receives responses >> on stdin. > > So, why can't you just run this client on the command line and let the > shell handle stdin/stdout for you? I'm not s

Re: Debugging pipe IPC

2007-12-18 Thread Jim B. Wilson
. Normally, when I wonder if Python can do something, I imagine what the syntax would be if it could, type it in, and sure enough it works. Jim -- http://mail.python.org/mailman/listinfo/python-list

Re: Debugging pipe IPC

2007-12-20 Thread Jim B. Wilson
Ian Clark wrote: > import os > os.system("netcat -l -p 1234 localhost") > > HTH, Nope, but the network theme got me thinking about how one might run Python on a remote host. After a few false starts, Googling "remote python shell" led me to Guido's "ripshell.py" (not *that* Guido, a diffe

Re: user friendly datetime features

2008-01-09 Thread jim-on-linux
Why not build your own module? You can use it where and when you need it. jim-on-linux http://www.inqvista.com On Tuesday 08 January 2008 20:19, Daniel Fetchinson wrote: > Many times a more user friendly date format is convenient than the > pure date and time. > For example for a

Re: Problems installing Python on server

2008-01-29 Thread jim-on-linux
/home/youraccount/yourlibs/python > > > > and you should be all set." > > Go to the ReadME file after you unpack python. Open and look for "Installing". Read the section, it explains how to install on the entire system and how to install locally. "Make al

Fwd: Re: Problems installing Python on server

2008-01-31 Thread jim-on-linux
scripts to > > > reflect the location of YOUR python > > > binary: > > > > > > #! /home/youraccount/yourlibs/python > > > > > > and you should be all set." > > Go to the ReadME file after you unpack > python. > Open and loo

Re: Fwd: Re: Problems installing Python on server

2008-01-31 Thread jim-on-linux
On Thursday 31 January 2008 09:46, jim-on-linux wrote: > > > Also be careful and setup all the > > > paths that is required for compiling > > > various Python modules etc. > > > > > > On Jan 29, 8:28 am, Yansky > > > > <[EMAIL P

Re: Tkinter fonts setting

2008-02-06 Thread jim-on-linux
a section on Fonts which has a sub-section on System Fonts. jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: shelve.open call gives error

2008-02-08 Thread jim-on-linux
On Friday 08 February 2008 12:10, jim-on-linux wrote: > On Friday 08 February 2008 03:36, waltbrad > > wrote: > > Working through the Mark Lutz book > > Programming Python 3rd Edition. > > > > A couple of modules in the "Preview" > > chapt

Re: shelve.open call gives error

2008-02-08 Thread jim-on-linux
On Friday 08 February 2008 03:36, waltbrad wrote: > Working through the Mark Lutz book > Programming Python 3rd Edition. > > A couple of modules in the "Preview" > chapter give me errors. Both on a > shelve.open call: > > Pretty simple code, (2nd example):

Re: shelve.open call gives error

2008-02-08 Thread jim-on-linux
db = shelve.open('class-shelve') > db['bob'] = bob > db['sue'] = sue > db['tom'] = tom > db.close() > code end This works for me. I converted your numbers to text, I believe shelves requires string keys and values. I had to eliminate the

Re: class object using widget

2008-02-20 Thread jim-on-linux
whatever that represents, I'm not sure. But if you carriage return at the end of each line then delete until the next line comes to the cursor then use only space bar and carriage return (Enter) to format you will fix it. Or copy below and paste into your file. jim-on-linux http://ww

Re: Licence confusion: distributing MSVC?71.DLL

2008-03-06 Thread jim-on-linux
adds significant and primary functionality to the Redistributables", i.e. python25.dll. IANAL; this is not legal advise." jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: escape string to store in a database?

2008-03-14 Thread jim-on-linux
pdate items set contents = (?) where id =(?)", [ x, y] ) put your data in a list or ("update items set contents = (?) where id =%d ", [ x] ) below statement "uses 1" refers to the one (?) , 0 supplied, means no list or none in list. jim-on-linux http:

python program deleted

2008-03-27 Thread jim-on-linux
but the size is 8k when it should be about 5 mb. I've renamed the file without the zip ext. and tried other renaming schemes without success. Has anyone had this experience? Any ideas on how to solve this problem. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Re: python program deleted

2008-03-28 Thread jim-on-linux
thanks for the responses. I put the files in an ftp site and all is well. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Problems running on hp duo Pentium R processor

2008-12-05 Thread jim-on-linux
File win32ui.pyc, line 10, in _load ImportError: DLL load failed: The specified module could not be found. It turns out that the E2200 processor is 64 bit architecture. What are my options? I've run DependecyWalker, They are using Win XP Service Pack 2 jim=on-linux --

Re: Problems running on hp duo Pentium R processor

2008-12-05 Thread jim-on-linux
find out why my program gets an import error on only one machine. Is there any problem with python running on a 64 bit Architecture machine or is it something specific to this one HP machine? None of my other clients have had this problem, nor have I on any machine that I've tried tested

Problems running on HP Intel duo core machine

2008-12-11 Thread jim-on-linux
ecked a lot of things but I'm not there yet, Any suggestions would be helpful. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems running on HP Intel duo core machine

2008-12-11 Thread jim-on-linux
Aaron, The TraceBack is : TraceBack: File win32ui.pyc, line 12, in File win32ui.pyc Line 10, in _load ImportError: DLL Load Failed: The specified module could not be found. On Thursday 11 December 2008 14:58, jim-on-linux wrote: > py help, > > I produced a program that runs o

Re: Problems running on HP Intel duel core machine

2009-04-16 Thread jim-on-linux
wonder if they tried installing an HP? jim-on-linux http://inqvista.com > py help, > > I produced a program that runs on windows. > One client is using an HP machine with an Intel cpu > E2200 @ 2.2ghz., and with .99 G ram. > The machine is using Win XP Pro 32 bit OS with > s

Re: finding icons for Apps

2008-05-25 Thread jim-on-linux
Learn how to use Gimp, Make your own icons, of and from anything. You can use screen shots and picks from anywhere. Import your own photos and modify any pic however you want. Check them out, free download, tutorial. http://www.gimp.org jim-on-linux http://www.inqvista.com > Sano

Re: sorting a file

2008-06-14 Thread jim-on-linux
Dict.keys() ## get the keys from Dict x.sort() # produce a sorted list of keys of column3 Loop these sorted keys to extract from the dictionary the values related to each jim-on-linux http://:inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: install py2exe in vista

2008-06-22 Thread jim-on-linux
ink below. [EMAIL PROTECTED] jim-on-linux http://inqvista.com > I press 'OK', then.. > could not set key value python 2.5 py2exe-0.6.8 > > I press 'OK' again, then... > could not set key value > c:\Python25\Removepy2exe.exe" -u > "c:\python25\py2ex

Re: pyHook and py2exe

2008-06-22 Thread jim-on-linux
> ? > > is their any solution? > I would be glad to know if anyone ever experienced > this problem and if he solve it eventually > > I forwarded your question but you may want to ask again at the link below. [EMAIL PROTECTED] jim-on-linux http:\\inqvista.com > thanks &g

Re: Tkinter, repaint?, keep size?

2008-04-06 Thread jim-on-linux
ton1.grid(row = x, column = y, sticky = NSEW) put other stuff into the master using another frame and grid it in some other column and or row. If you make all buttons the same size inside the frame they will keep their size even if you have more text then the button will hold. There is

Re: Tkinter, repaint?, keep size?

2008-04-06 Thread jim-on-linux
On Sunday 06 April 2008 20:12, jim-on-linux wrote: > On Sunday 06 April 2008 13:24, > > [EMAIL PROTECTED] wrote: > > so my calculator is almost done for u > > that have read my previous posts. > > i have some minor problems i have to fix > > though. > > &g

Re: tkinter, annoying grid-problem

2008-04-11 Thread jim-on-linux
have to play with it to get the results that you want, which you can do. jim-on-linux http://www.inqvista.com ## class Calc : def __init__ (self) : self.mygui = Tk() self.mygui.title("Calculator") self.MkButtons()

Problems running on hp dual core processor

2008-09-22 Thread jim-on-linux
Python help, I have a number of clients running a program built with python 2.5. One has just purchased an HP with a duel core processor, 2.2G with .099g ram. On the new hp, when they try to print they get an import error; File win32ui.pyc line 12, in File win32ui.pyc, line 10, in _load Imp

Problems running on hp dual core processor

2008-09-22 Thread jim-on-linux
ImportError: DLL load failed: The specified module could not be found. The file is there The only difference I could find from their other machines is the processor. I would appreciate any help Jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

py2exe users

2009-11-28 Thread jim-on-linux
.6 on win XP. Any Ideas? jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

load_dynamic(_name_, path)

2009-10-08 Thread jim-on-linux
Python help, In win32api line 10 is written: mod = imp.load_dynamic(__name__, path) traceback; ImportError: DLL load failed: The specified module could not be found. import imp is available, Where does load_dynamic(__name__, path) come from? jim-on-linux -- http://mail.python.org/mailman

py2exe help

2010-05-11 Thread jim-on-linux
or message: ImportError: Dll load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Anyone have the same problem with this?. jim-on linux -- http://mail.python.org/mailman/listinfo/python-list

Re: py2exe help

2010-05-11 Thread jim-on-linux
I appreciate the help, it's working. jim-on-linux > jim-on-linux wrote in > news:mailman.74.1273614703.32709.python-l...@python.org > > in comp.lang.python: > > python help, > > > > I'm open for suggestions. > > > > I'm using py2exe t

Python misbehavior

2024-02-07 Thread Jim via Python-list
could you please pass my message on to a better choice? Gratefully, Jim Haas Sent from my iPhone -- https://mail.python.org/mailman/listinfo/python-list

Re: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
What version of visual studio are you using? What version of python? I’ve had success with using the cython package in python and cl from visual studio, but I haven’t tried visual studio alone. Sent from my iPhone > On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list > wrote: >

RE: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
Sent: Tuesday, June 13, 2023 1:12 PM To: Python Cc: Thomas Schweikle Subject: Re: Compiling python on windows with vs Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: > What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. > What version of python? python 3.10.1

Re: Question(s)

2023-10-25 Thread Jim Schwartz via Python-list
Does this link help? It seems to have a Linux package here. [1]Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and [2]favicon.ico over 350 open source projects... eclipse.org Sent from my iPhone On Oct 25, 2023

RE: Writing to clipboard in Python 3.11

2023-11-07 Thread Jim Schwartz via Python-list
It doesn't work in python 3.12.0 -Original Message- From: Python-list On Behalf Of Thomas Passin via Python-list Sent: Tuesday, November 7, 2023 12:08 PM To: python-list@python.org Subject: Re: Writing to clipboard in Python 3.11 On 11/5/2023 7:51 PM, Rob Cliffe via Python-list wrote: >

Re: fCONV_AUSRICHTG is not defined - Why?

2023-11-07 Thread Jim Schwartz via Python-list
Where do you define fCONV_AUSRICHTG? It must be initialized or defined somewhere. Did you leave out a statement from the python 2 version? Sent from my iPhone > On Nov 7, 2023, at 1:06 PM, Thomas Passin via Python-list > wrote: > > On 11/7/2023 12:47 PM, Egon Frerich via Python-list wrote:

Re: Trouble with version 3.8

2020-06-01 Thread Jim Parinisi via Python-list
I had been using python 3.6 on two computers with windows 7 and windows 10.  We bought a windows 10 machine and I installed python 3.8 on it.  Many of my python apps failed with an error similar to this:  File "C:\Python38\lib\os.py", line 818, in fsdecode    filename = fspath(filename)  # Do

Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread Jim Schwartz via Python-list
Will it be recorded? Sent from my iPhone > On Mar 17, 2024, at 1:47 AM, dn via Python-list > wrote: > > The Auckland Branch of NZPUG meets this Wednesday, 20 March at 1830 NZDT > (0530 UTC, midnight-ish Tue/Wed in American time-zones), for a virtual > meeting. > > Part 1: Learn the basic

Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread Jim Schwartz via Python-list
Actually, I have a sleep disorder that requires me to keep a constant sleep schedule. Thats why I asked. Sent from my iPhone > On Mar 17, 2024, at 3:36 PM, dn via Python-list > wrote: > > On 17/03/24 23:40, Jim Schwartz wrote: >> Will it be recorded? > > Bett

<    3   4   5   6   7   8