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

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

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

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: 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

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 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 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 --

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

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

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: 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: 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: 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: 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()

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, 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: 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

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: 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:

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: 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: 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: 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: 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: 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

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: 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

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: It works! Was: Installing Python 3000

2007-11-27 Thread jim-on-linux
;python" > 11. print("Hello world!") > 12. Be happy! > > André, hoping this report might help some other newbie. Bug fix excluded, After unpacking the compressed version of Python, look for a file named "README". Open "README" and look for Installing. Make install and Make altinstall is explained. I don't like to read instructions but in the long run, it saves time. jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Custom Tkinter scrollbar

2007-11-15 Thread jim-on-linux
Reilly written by Mark Lutz, Programming Python, look up programming scrollbars. jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: gui toolkits: the real story? (Tkinter, PyGTK, etc.)

2007-10-02 Thread jim-on-linux
. Let me spend my time programming not trying to make existing programs compatible with the unknown. (Some change to who knows what.) On the other hand, questions like yours are exactly what keeps the pressure on the Tkinter people to upgrade. I think they got the message with the recent announcement of some long awaited changes. jim-on-linux http://inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter pack difficulty

2007-09-12 Thread jim-on-linux
he static layout grid() will give me. > > Any thoughts or advice? Sorry I can't help you with pack, I don't use it anymore. I am able to do everything with grid that I can do with pack. Once I learned to use grid I liked it better than pack. Spend some time to learn grid you may like

Re: sqlite3 create table col width?

2007-08-04 Thread jim-on-linux
On Saturday 04 August 2007 14:05, Carsten Haese wrote: > On Sat, 2007-08-04 at 13:51 -0400, jim-on-linux wrote: > > PY help, > > > > Using sqlite3 v3.1.3 > > > > When I create a table collumn using; > > > > newcollum VARCHAR(35), > > > > I

sqlite3 create table col width?

2007-08-04 Thread jim-on-linux
ng, I want to varry the column sizes. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Re: Error with Tkinter and tkMessageBox

2007-07-31 Thread jim-on-linux
loop() > > > > > > > > Mike > > You're right. But the problem I have is always > there. Tkinter doesn't work properly and I > don't understand why. Thanks! Try This: def reply(): showinfo('ciao','hello') jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: shelve crashing under Win ME

2007-06-30 Thread jim-on-linux
On Saturday 30 June 2007 10:07, jim-on-linux wrote: > On Saturday 30 June 2007 04:52, > [EMAIL PROTECTED] > > wrote: > > Hi, > > > > I'm not a Win ME fan myself (I'm a Mac user), > > but I'm here in Thailand developing software > > for spe

Re: shelve crashing under Win ME

2007-06-30 Thread jim-on-linux
having Win ME machine in my office) to run > shelve? (or more specifically run bsddb's > hashopen?) > > Or should I trash shelve entirely and rewrite > all my code to use a simpler, homemade database > scheme? > > Thanks for any advice! > > Warmly, > Joel > [EMAI

Re: Tkinter - resize tkMessageBox

2007-06-04 Thread jim-on-linux
r better off using Toplevel and/or frame, you have more control over the window and its appearance. jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: python unix install, sqlite3

2007-05-29 Thread jim-on-linux
port sqlite3 > I'm using python 2.5 on linux and it works fine Try; import sqlite3 in place of from sqlite3 import * jim-on-linux http://www.inqvista.com > Traceback (most recent call last): > File "", line 1, in > File > "/ptmp/Python-2.5.1/lib/python2.5/

Re: Circular imports

2007-05-29 Thread jim-on-linux
the file. I agree, waite until python complains. You might try to remove all of the import statements then add then as they are requested by the program by a traceback error. jim-on-linux > Try moving each import > statement to the latest possible point in the > code, i.e. right before

Re: What happened to [EMAIL PROTECTED]

2007-05-05 Thread jim-on-linux
On Friday 04 May 2007 22:19, Carsten Haese wrote: > Hiya, > > I just tried sending an email to > [EMAIL PROTECTED] to request a website > change, and the email bounced back with this > excerpt from the delivery failure report: > > """ > Reporting-MTA: dns; bag.python.org > [...] > Final-Recipient:

Re: Expanding tkinter widgets to fill the window

2007-04-20 Thread jim-on-linux
demonstrating > your question. > > http://homepage1.nifty.com/algafield/sscce.html > > A. try; sticky = NSEW without plus signs headFrame = Frame(win01, bg = 'light grey', bd=10) headFrame.grid(row = 0, column=0, sticky = NSEW) jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: PY shutil on win xp home version

2007-04-20 Thread jim-on-linux
Thanks Tim for resopnding, I appreciate the help. I convinced the client to install Linux on 4 machines rather than upgrade from xp home to XP Pro, and more machines to come if the like it. jim-on-linux On Friday 20 April 2007 03:22, you wrote: > jim-on-linux wrote: > > On Wed

Re: PY shutil on win xp home version

2007-04-19 Thread jim-on-linux
On Wednesday 18 April 2007 17:02, Tim Golden wrote: > jim-on-linux wrote: > > python help, > > > > A client is using win xp home. > > > > my program contains; > >shutil.copyfile(n, 'prn') > > > > This runs fine on win xp pro bu

PY shutil on win xp home version

2007-04-18 Thread jim-on-linux
n but I don't want to use the client as a testor. Or is there some other explaination for the problem. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Re: What is the best way to upgrade python?

2007-03-22 Thread jim-on-linux
left the system with the original 2.4? since it worked just fine. Look in the instructions on how to build for local users and you 'll save yourself from encountering the unexpected. jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: the second of nested buttons using textvariable remains void!

2007-03-21 Thread jim-on-linux
ext() def next(): second = Toplevel() s0=StringVar() s0.set("click_s0") blabel0 = Button(second, textvariable=s0, command = second.destroy, width = 10, height = 2) blabel0.pack() if __name__ == '__main__' : go() mainloop() jim-on-linux http://inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: mysterious unicode

2007-03-20 Thread jim-on-linux
On Tuesday 20 March 2007 21:17, Carsten Haese wrote: > On Tue, 2007-03-20 at 20:26 -0400, jim-on-linux wrote: > > I have been getting the same thing using > > SQLite3 when extracting data fron an SQLite3 > > database. > > Many APIs that exchange data choose to exchang

Re: mysterious unicode

2007-03-20 Thread jim-on-linux
;Q1', 'O') 4 [1, u' ', 4] > > where qno seems to be a vanilla Q1, but a tuple > using qno is (u'Q1', ...). > > Can somebody help me out? I have been getting the same thing using SQLite3 when extracting data fron an SQLite3 database.

Re: SQLite3, data not found

2007-03-17 Thread jim-on-linux
On Saturday 17 March 2007 13:51, John Nagle wrote: > jim-on-linux wrote: > > On Friday 16 March 2007 18:23, Jerry Hill wrote: > >>On 3/16/07, jim-on-linux > >> <[EMAIL PROTECTED]> > > > > wrote: > >>>Below, the first select prod

Re: SQLite3, data not found

2007-03-17 Thread jim-on-linux
On Friday 16 March 2007 18:23, Jerry Hill wrote: > On 3/16/07, jim-on-linux <[EMAIL PROTECTED]> wrote: > > Below, the first select produces results but, > > after closing then re-opening the database > > the select produces an empty list. Anyone > > know the re

Re: SQLite3, data not found

2007-03-16 Thread jim-on-linux
from John Clark use con.commit() Thanks John, this works jim-on-linux On Friday 16 March 2007 17:55, jim-on-linux wrote: > Python help, > > I just started working with SQLite3 and ran > into this problem. > > Below, the first select produces results but, > after cl

SQLite3, data not found

2007-03-16 Thread jim-on-linux
?,?)", record ) ; cursor.execute("select * from data "); print cursor.fetchall(); con.close() con = sqlite3.connect('myData') cursor = con.cursor() cursor.execute("select * from data"); print cursor.fetchall(); jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Re: attaching Tkinter Listbox to python list object

2007-03-12 Thread jim-on-linux
ly this I can think of is create a > subclass of list that deletes and then refills > the Listbox every time that the list changes, > but this seems very in efficient. > > > Any ideas? > > Steve Look into the StringVar(), class for Tkinter. var = stringVar() sorry I ca

Re: Signed zeros: is this a bug?

2007-03-11 Thread jim-on-linux
ort test > > -0.0 -0.0 > > Mark This is the only way I could make this work in a script. from decimal import Decimal x = Decimal( "-0.0") y= Decimal("0.0") print x,y x = Decimal( "0.0") y= Decimal("-0.0") print x,y jim-on-linux http:\\www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Signed zeros: is this a bug?

2007-03-11 Thread jim-on-linux
re > branch cuts, and hence signed zeros, are > important, and it would be handy if the above > code could be relied upon to do the right > thing. > > Mark This works for some reason instead of x,y = -0.0, 0.0 clumpy but the results are right. x = -0.0 y= 0.0 x,y (-0.0, 0.0) jim-on-linux http:\\inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: SQLite3 trapping OperationalError

2007-03-09 Thread jim-on-linux
On Friday 09 March 2007 13:10, Jerry Hill wrote: > On 3/9/07, jim-on-linux <[EMAIL PROTECTED]> wrote: > > However python 2.5, > > except OperationalError: > > responds with > > "OperationalError" is not defined. > > I believe that need

SQLite3 trapping OperationalError

2007-03-09 Thread jim-on-linux
he table debtor does not exist so I get "OperationalError" which I want to trap with try/except or some other way. However python 2.5, except OperationalError: responds with "OperationalError" is not defined. Ideas on how to determine if a table exists would be welcome.

Re: writing dictionary to file

2007-03-08 Thread jim-on-linux
t; but i see an empty file opened,,, > > kavitha > > Simon Brunning <[EMAIL PROTECTED]> > wrote: > > On 3/8/07, kavitha thankaian wrote: > > can anyone help me??? > > I'm sure we can. How far have you got so far? try f=open("logfile.txt", "w") f.write('name') f.write('\n') f.write(('credit(') f:close() jim-on-linux http:\\www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: tkinter text editor

2007-03-08 Thread jim-on-linux
ge allowed ## to Text Wiget state = 'normal' ## default for Text Wiget jim-on-linux http:\\www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: askstring Window to the top under Windows

2007-03-07 Thread jim-on-linux
On Wednesday 07 March 2007 05:02, Ingo Wolf wrote: > Original-Nachricht > Datum: Tue, 06 Mar 2007 20:49:42 -0500 > Von: jim-on-linux <[EMAIL PROTECTED]> > An: python-list@python.org > CC: "iwl" <[EMAIL PROTECTED]> > Betreff: Re: ask

Re: askstring Window to the top under Windows

2007-03-07 Thread jim-on-linux
On Wednesday 07 March 2007 05:05, iwl wrote: > On 7 Mrz., 02:49, jim-on-linux <[EMAIL PROTECTED]> wrote: > > On Tuesday 06 March 2007 08:13, iwl wrote: > > > Hi, > > > > > > I tryed askstring to input some text in my > > > script, but some ug

Re: askstring Window to the top under Windows

2007-03-06 Thread jim-on-linux
st by the user - very > unconfortable By default tk will open a root window. so you will have to create something to put into the root window. I suggest a button to open the tkSimpleDialog box. go to; http://www.pythonware.com/library/tkinter/introduction/ jim-on-linux http://www.inqvista.com --

Re: pop method question

2007-03-03 Thread jim-on-linux
"ordered" list data > >> structure. Dictionaries in Python have no > >> order but are sequences. Now, does anyone > >> know why the python core has this pop method > >> implemented for a dictionary type? aDict.pop(theKey) 'produ

Re: window opens with os.system()

2007-02-18 Thread jim-on-linux
On Sunday 18 February 2007 17:27, Gabriel Genellina wrote: > En Sun, 18 Feb 2007 18:09:23 -0300, > jim-on-linux <[EMAIL PROTECTED]> > > escribió: > > I have a simple module that sends text files > > to a printer. Then, it moves the file to the > > '

window opens with os.system()

2007-02-18 Thread jim-on-linux
comes objectionable. Is there any way to supress the flashing window. xp no longer allows the 'ctty' command. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Re: can't find a way to display and print pdf through python.

2007-02-13 Thread jim-on-linux
For those who care, the file below should run on a unix/ linux style system. And "xpdf", amoung others, will run a pdf file. import os def Printpdf(): os.system( 'xpdf form.pdf' ) if __name__ == '__main__' : Printpdf() jim-on-linux > On Tue

Re: Tkinter: how; newbie

2007-02-13 Thread jim-on-linux
On Tuesday 13 February 2007 18:02, Gigs_ wrote: > can someone explain me this code? > > from Tkinter import * > > root = Tk() > > def callback(event): > print "clicked at", event.x, event.y > > frame = Frame(root, width=100, height=100) > frame.bind("", callback) > frame.pack() > > root.mainlo

Re: can't find a way to display and print pdf through python.

2007-02-13 Thread jim-on-linux
em modules. os.execvep() ## or others like execl, execle os.spawnv(), os.spawnve(), os.popen() hope this give some direction. jim-on-linux On Tuesday 13 February 2007 03:44, Jussi Salmela wrote: > Grant Edwards kirjoitti: > > On 2007-02-12, Larry Bates <[EMAIL PROTECT

Re: download win32file

2007-01-15 Thread jim-on-linux
On Monday 15 January 2007 18:02, Bill Tydeman wrote: > > ?? Do I have to download pywin32 to get > > win32ui, or win32file, or win32api > > Yes Got it. Thank you. -- http://mail.python.org/mailman/listinfo/python-list

Re: download win32file

2007-01-15 Thread jim-on-linux
On Monday 15 January 2007 10:37, hg wrote: > jim-on-linux wrote: > > Where can I download win32file / win32ui? > > > > The links below are broken. Mark Hammond > > should be made aware of this. > > > > > > URL below has two links that send you no &

download win32file

2007-01-15 Thread jim-on-linux
/Downloads.html http://starship.python.net/crew/mhammond/downloads/win32all-148.exe Produce; The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. jim-on-linux -- http

Re: where is python on linux?

2007-01-07 Thread jim-on-linux
on linux type: whereis python You should get a list of directories where all of python lives. jim-on-linux http:\\www.inqvista.com On Sunday 07 January 2007 04:05, Frank Potter wrote: > I installed fedora core 6 and it has python > installed. But the question is, where

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread jim-on-linux
stops the operation then I think I may have to install the program as opposed to unzipping and running the exe file. On Saturday 30 December 2006 01:33, Tom Plunker wrote: > jim-on-linux wrote: > > When the client runs the utility program the > > output file is built but

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread jim-on-linux
previous versions, or is there something abnormal going on. I'm trying to avoid setting up an xp machine for one client. jim-on-linux On Saturday 30 December 2006 03:05, Tim Roberts wrote: > jim-on-linux <[EMAIL PROTECTED]> wrote: > >Did you run from a file

Re: Easiest way to print from XP/DOS.

2006-12-29 Thread jim-on-linux
software is interacting? On Friday 29 December 2006 17:58, Larry Bates wrote: > jim-on-linux wrote: > > This is the situation I'm in. > > > > I've built a single file utility using > > py2exe. I zip the dist directory and send it > > to the client. > >

Easiest way to print from XP/DOS.

2006-12-29 Thread jim-on-linux
way, which package is the simplest to use. Also, if the utility is registered in xp, will the same statement send the file to the printer as it does in win98. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

Re: writing serial port data to the gzip file

2006-12-18 Thread jim-on-linux
hen everything in the file is left untouched and the new data is appended to the end of the file. Your while loop is deleting everything in the file on each loop with the 'w' mode. try, vfile = open('vfile', 'a') rather than vfile = open('vfile', &#

Re: Python, PostgreSQL, What next?

2006-12-02 Thread jim-on-linux
://gadfly.sourceforge.net/ jim-on-linux http://www.inqvista.com On Saturday 02 December 2006 11:33, Thomas Bartkus wrote: > On Fri, 01 Dec 2006 23:04:37 -0800, vbgunz wrote: > > Hello all, > > > > I've studied Python and studied PostgreSQL. > > What is the absolute nex

Re: shtoom making PC2Phone calls

2006-11-30 Thread jim-on-linux
Forgot to include, Check out pyserial-2-2 at sourceforge.net/ by Chris Liechti On Thursday 30 November 2006 21:07, jim-on-linux wrote: > On Thursday 30 November 2006 12:35, Croteam wrote: > > Hello, > > > > Can somebody give me shtoom examples or > > source cod

Re: shtoom making PC2Phone calls

2006-11-30 Thread jim-on-linux
;[EMAIL PROTECTED]) > >Thanks,I will really > appreciate that Try, http://pyserial.sourceforge.net/ Many examples. I've used some of the examples to connect pc to pc. And with phone attached, you can to talk with someone on the other end. Search using serial port. j

Re: odict the Ordered Diction 0.2.2

2006-11-29 Thread jim-on-linux
Thanks for the post, Its become a part time job keeping up with updates. jim-on-linux http://www.inqvista.com On Wednesday 29 November 2006 09:41, Fuzzyman wrote: > After a break of almost a year there has been > an update to `odict the Ordered Dictionary > <http://www.void

Re: Several entries on Tile and TableList at the Tkinter wiki

2006-11-27 Thread jim-on-linux
s Python. If we couldn't build programs for Windows, where would a python programmes's money come from? Thanks again, jim-on-linux http://www.inqvista.com On Sunday 26 November 2006 15:50, Kevin Walzer wrote: > I'm not sure how often members of this list &

Re: Access to variable from external imported module

2006-11-24 Thread jim-on-linux
fill out a deposit ticket. I think Bill Gates recognize early that the money is in the marketing of the product, not the programming of it. How else can you explain the success of Windows, like it or not? jim-on-linux http://www.inqvista.com On Friday 24 November 2006 17:18, Dennis Lee Bieb

Re: Access to variable from external imported module

2006-11-24 Thread jim-on-linux
On Friday 24 November 2006 13:41, John Machin wrote: > jim-on-linux wrote: > > On Friday 24 November 2006 03:30, John Machin > > > > wrote: > > > jim-on-linux wrote: > > > > GinTon, > > > > > > > > I think this is what you wa

Re: Access to variable from external imported module

2006-11-24 Thread jim-on-linux
On Friday 24 November 2006 13:20, jim-on-linux wrote: > On Friday 24 November 2006 13:01, jim-on-linux > > wrote: > > On Friday 24 November 2006 03:30, John Machin > > > > wrote: > > > jim-on-linux wrote: > > > > GinTon, > > > > > >

Re: Access to variable from external imported module

2006-11-24 Thread jim-on-linux
On Friday 24 November 2006 13:01, jim-on-linux wrote: > On Friday 24 November 2006 03:30, John Machin > > wrote: > > jim-on-linux wrote: > > > GinTon, > > > > > > I think this is what you want. > > > > > > > > > class Kdoi:

Re: Access to variable from external imported module

2006-11-24 Thread jim-on-linux
On Friday 24 November 2006 03:30, John Machin wrote: > jim-on-linux wrote: > > GinTon, > > > > I think this is what you want. > > > > > > class Kdoi: > > Is that a typo? No, it's a style. life seems to be easier to me if one is cons

Re: Access to variable from external imported module

2006-11-23 Thread jim-on-linux
searchterm = searchterm #<<<<      print Kdo.searchterm #used outside the class Kdomore()     class Kdomore(Kdo): def __init__(self) : self.Fdomore() def Fdomore(self): searchterm = Kdo.searchterm # <<<< print searchterm ji

Re: Caution newbie question: python window to stay open ?

2006-11-22 Thread jim-on-linux
Michael, put this at the top of your code. After the window closes read the testLog.out file. It may give you a clue as to what is happening. sys.stdout = open('testLog.out', 'w') jim-on-linux http://www.inqvista.com On Tuesday 21 November 2006 22:20, mkengel wrot

Re: Press button to load data

2006-11-17 Thread jim-on-linux
On Friday 17 November 2006 02:58, you wrote: > On Fri, 17 Nov 2006 00:25:39 -0500, > jim-on-linux <[EMAIL PROTECTED]> > > declaimed the following in comp.lang.python: > > Without being able to run the code my > > question is where is the id in the lambda > >

Re: Press button to load data

2006-11-16 Thread jim-on-linux
ne, > text= shelvename[bill].dateDue, relief=RIDGE, > font=('bold',10)) > bill1.grid(row=c, column=0, > sticky=NSEW) bill2.grid(row=c,column=1, > sticky=NSEW) bill3.grid(row=c,column=2, > sticky=NSEW) bill4.grid(row=c,column=3, > sticky=NSEW) c = c + 1 >

Re: Press button to load data

2006-11-15 Thread jim-on-linux
to a file. Also, when using the open() function, close it after you get the data you need. otherwise you may experience unexpected problems. client = open('client', 'r') client.read() (readline()) (readlines()) client.close() jim-on-linux http//:www.inqvista.com On We

Re: Tkinter check box behaviour - Windows / Linux discrepancy

2006-11-09 Thread jim-on-linux
def chkTest_click0(self,event): self.chkTest_click() def chkTest_click(self): # read check box state and display appropriate text if self.intTest.get()==0: self.lblTest.config(text='Check box cleared') else: self.lblTest.config

Re: Python deployment options

2006-11-09 Thread jim-on-linux
Rooy, If you are still having problems with py2exe, I suggest you start with the simplest program you can build and include everything in one file. Make that work like the simple examples in the py2exe samples. jim-on-linux http://www.inqvista.com On Wednesday 08 November 2006 22:04

Re: Python Error:IndentationError: expected an indented block

2006-11-08 Thread jim-on-linux
try this def DoCsubnet1 (action, subject, target, args): pass jim-on-linux http://www.inqvista.com On Wednesday 08 November 2006 10:47, Antonios Katsikadamos wrote: > hi all. I try to run an old python code and i > get the following message >

Re: Simple Tkinter problem

2006-11-07 Thread jim-on-linux
On Tuesday 07 November 2006 10:38, jim-on-linux wrote: Greg, Run the following code to see how pack_forget() or grid_forget() works, it makes previous widgets disappear but not go away. If you call grid() or pack() again after using grid_forget() the widget returns. root = Tk() class

  1   2   >