py2exe help

2010-05-11 Thread jim-on-linux
: 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 to compile a working program. The program runs and prints fine until

py2exe users

2009-11-28 Thread jim-on-linux
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
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 service pack 2 I ran Dependency Walker

Problems running on HP Intel duo core machine

2008-12-11 Thread jim-on-linux
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 module 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 on windows

Problems running on hp duo Pentium R processor

2008-12-05 Thread jim-on-linux
, in module 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 -- http

Re: Problems running on hp duo Pentium R processor

2008-12-05 Thread jim-on-linux
. 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 it on. jim-on-linux On Fri, Dec 5, 2008 at 2:02 PM, jim-on-linux [EMAIL

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 module File win32ui.pyc, line 10, in

Problems running on hp dual core processor

2008-09-22 Thread jim-on-linux
, in _load 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

Re: install py2exe in vista

2008-06-22 Thread jim-on-linux
] 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\py2exe-wininst.log The installation goes on and do something, run some postinstall script

Re: pyHook and py2exe

2008-06-22 Thread jim-on-linux
? 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 -- http://mail.python.org/mailman/listinfo/python-list

Re: sorting a file

2008-06-14 Thread jim-on-linux
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 Sanoski

Re: tkinter, annoying grid-problem

2008-04-11 Thread jim-on-linux
. jim-on-linux http://www.inqvista.com ## class Calc : def __init__ (self) : self.mygui = Tk() self.mygui.title(Calculator) self.MkButtons() def MkButtons(self): mygui = self.mygui dataFra = Frame(mygui

Re: Tkinter, repaint?, keep size?

2008-04-06 Thread jim-on-linux
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 a lot more but this is the way I would proceed. jim-on-linux http://www.inqvista.com

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. *one is i need to repaint once i have performed

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
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://www.inqvista.com self.cursor.execute(cmd, content) pysqlite2.dbapi2.ProgrammingError: Incorrect number

Re: Licence confusion: distributing MSVC?71.DLL

2008-03-06 Thread jim-on-linux
.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
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://www.inqvista.com from Tkinter import * from tkMessageBox import askokcancel class Quitter (Frame): # subclass our GUI def __init__(self

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 chapter give me errors. Both on a shelve.open call: Pretty simple code

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): from; jim-on-linux http://[EMAIL PROTECTED] My

Re: shelve.open call gives error

2008-02-08 Thread jim-on-linux
converted your numbers to text, I believe shelves requires string keys and values. I had to eliminate the import Person, Manager If you still have problems you have an idea where to look. jim-on-linux http://[EMAIL PROTECTED] # import shelve ##from people import Person, Manager bob = 'Bob

Re: Tkinter fonts setting

2008-02-06 Thread jim-on-linux
default font for widgets)? In fact, all I want is to get default OS font unless (rarely) I need to specify another. Thanks Go to: http://www.pythonware.com/library/tkinter/introduction/ Read chapter 6, Widget Styling, there is a section on Fonts which has a sub-section on System Fonts. jim

Fwd: Re: Problems installing Python on server

2008-01-31 Thread jim-on-linux
to install on the entire system and how to install locally. Make altinstall is what you are looking for. jim-on-linux http:\\www.inqvista.com The build instructions for Python are: To start building right away (on UNIX): type ./configure in the current directory and when

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 PROTECTED] wrote: I asked my hosting company if they would upgrade Python on my

Re: Problems installing Python on server

2008-01-29 Thread jim-on-linux
, it explains how to install on the entire system and how to install locally. Make altinstall is what you are looking for. jim-on-linux http:\\www.inqvista.com The build instructions for Python are: To start building right away (on UNIX): type ./configure in the current directory

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 date

Re: It works! Was: Installing Python 3000

2007-11-27 Thread jim-on-linux
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

Re: Custom Tkinter scrollbar

2007-11-15 Thread jim-on-linux
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
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
need. jim-on-linux http://inqvista.com Thanks in advance, ~Simon # Tkinter script from Tkinter import * t = Tk() header = Frame(t, bg=black, height=10) header.pack(expand=1, fill=X, side=TOP, anchor=N) body = Frame(t, bg=grey) body.pack(expand=1, fill=BOTH, anchor=CENTER) log

sqlite3 create table col width?

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

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 get a default of 10 spaces. No matter what I set the size to I get 10

Re: Error with Tkinter and tkMessageBox

2007-07-31 Thread jim-on-linux
(): 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
is correct I had to import dbhash into my setup for py2exe back then to fix it.. Your code for shelve is correct, the problem is someplace else. 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 special-needs kids, and the test PC in my home office is a Win ME machine

Re: Tkinter - resize tkMessageBox

2007-06-04 Thread jim-on-linux
, 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: Circular imports

2007-05-29 Thread jim-on-linux
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 the first occurence of whatever names you're importing from the respective modules. That way, each module gets to define as much

Re: python unix install, sqlite3

2007-05-29 Thread jim-on-linux
get: /ptmp/bin/ python Python 2.5.1 (r251:54863, May 29 2007, 05:19:30) [GCC 3.3.2] on sunos5 Type help, copyright, credits or license for more information. import 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

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

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 Wednesday 18 April

Re: Expanding tkinter widgets to fill the window

2007-04-20 Thread jim-on-linux
= 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-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 but they are getting the following traceback. File LOP_PRT_10.pyc, line 170

PY shutil on win xp home version

2007-04-18 Thread jim-on-linux
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
recently installed py 2.5 and I used the local user option. Now I build programs on 2.5 but I 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

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

2007-03-21 Thread jim-on-linux
() 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
and do name = str.record[0] rather than name = record[0] So far, I havn't had any problems. For some reason the unicode u is removed. I havn't wanted to spend the time to figure out why. jim-on-linux http://www.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 exchange text in Unicode because

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 reason ?? When you first open a connection

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 produces results but, after closing then re-opening the database the select produces

SQLite3, data not found

2007-03-16 Thread jim-on-linux
(); 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: 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 closing then re-opening

Re: attaching Tkinter Listbox to python list object

2007-03-12 Thread jim-on-linux
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 can't help more, but I think this is what you are looking for. jim-on-linux http

Re: Signed zeros: is this a bug?

2007-03-11 Thread jim-on-linux
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: Signed zeros: is this a bug?

2007-03-11 Thread jim-on-linux
) y= Decimal(-0.0) print x,y jim-on-linux http:\\www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

SQLite3 trapping OperationalError

2007-03-09 Thread jim-on-linux
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. jim-on-linux -- http://mail.python.org/mailman/listinfo

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 needs to be spelled except sqlite3.OperationalError: do_something

Re: tkinter text editor

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

Re: writing dictionary to file

2007-03-08 Thread jim-on-linux
? 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: 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 ugly empty Window appears with the Input-Window behind and all

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: askstring Window to the top under Windows By default tk

Re: askstring Window to the top under Windows

2007-03-06 Thread jim-on-linux
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 -- http://mail.python.org/mailman

Re: pop method question

2007-03-03 Thread jim-on-linux
why the python core has this pop method implemented for a dictionary type? aDict.pop(theKey) 'produce the value' pop removes the key:value and produces the value as results jim-on-linux http:\\www.inqvista.com Try typing: help({}.pop) -- http://mail.python.org/mailman

window opens with os.system()

2007-02-18 Thread jim-on-linux
window. xp no longer allows the 'ctty' command. jim-on-linux -- http://mail.python.org/mailman/listinfo/python-list

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 'Fprtd' directory. The module contains the following code

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

2007-02-13 Thread jim-on-linux
. 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 PROTECTED] wrote: Grant Edwards wrote

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(Button-1, callback) frame.pack() root.mainloop() if

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, 13 Feb 2007 08:44:18 GMT, Jussi

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: 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 place http://mail.python.org/pipermail/python-list/ 2002

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: 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 is the executable

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread jim-on-linux
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 or type in from keyboard? When the client

Re: Easiest way to print from XP/DOS.

2006-12-30 Thread jim-on-linux
that 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 nothing prints

Easiest way to print from XP/DOS.

2006-12-29 Thread jim-on-linux
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: 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. For clients that use win95, win98 machines, They unpack

Re: writing serial port data to the gzip file

2006-12-18 Thread jim-on-linux
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', 'w') jim-on-linux http:\\www.inqvista.com while 1: g=gzip.GzipFile(/root

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 next best step to take to merge these two

Re: shtoom making PC2Phone calls

2006-11-30 Thread jim-on-linux
]) 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. jim-on-linux http://www.inqvista.com

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 code for making PC2Phone calls and pc

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.voidspace.org.uk/python

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

2006-11-27 Thread jim-on-linux
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 visit the Tkinter wiki at http://tkinter.unpythonic.net

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 consistent, all my classes begin with K. def __init__(self

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: Is that a typo? No, it's a style. life seems to be easier to me if one

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, I think this is what you want. class Kdoi: Is that a typo

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 want. class Kdoi: Is that a typo? No, it's a style. life seems

Re: Access to variable from external imported module

2006-11-24 Thread jim-on-linux
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 Bieber wrote: On Fri, 24 Nov 2006 16:56:58 -0500

Re: Access to variable from external imported module

2006-11-23 Thread jim-on-linux
= 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 jim-on-linux http://www.inqvista.com

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 wrote: Caution: newbie

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 defined? Please take into account

Re: Press button to load data

2006-11-16 Thread jim-on-linux
, 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 return bill def fetchRecord(x): print x top = Tk() DisplayBills(top), NameFields(top) mainloop() jim-on-linux wrote: Just from

Re: Press button to load data

2006-11-15 Thread jim-on-linux
. 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 Wednesday 15 November 2006 23:20

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: Tkinter check box behaviour - Windows / Linux discrepancy

2006-11-09 Thread jim-on-linux
') jim-on-linux http://www.inqvista.com On Thursday 09 November 2006 18:28, peter wrote: I've come across a weird difference between the behaviour of the Tkinter checkbox in Windows and Linux. The issue became apparent in some code I wrote to display an image in a fixed size canvas widget

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 File

Re: Simple Tkinter problem

2006-11-07 Thread jim-on-linux
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 Ktest: def __init__(self): self.Ftest1()

  1   2   >