Re: [PythonCE] tk/tcl

2007-01-11 Thread Bandung
. And if you want a cool table widget, you can use the following file. Place it in your lib directory along side of the bwidget directory etc. Tktable2.zip John Aherne wrote: Bandung wrote: Place these two files in your \\Python25\\Lib directory and then run root = Tkinter.Tk

Re: [PythonCE] psyqlite and tkinter

2006-12-18 Thread Bandung
that is where you need to put it. http://www.nabble.com/file/4860/pythonrc.py pythonrc.py Bandung wrote: Yes you definitely will need the kTinker file. IF you plan on writing database driven apps then you will need psyqlite. Here is my readme that I created to remind me of where to put

Re: [PythonCE] thanks

2006-12-15 Thread Bandung
Vim is a text only editor. If you want to retain embedded word processing formatting, you will have to use something like pocket word (free with the windows mobile emulator link that I sent you or free with any pda that you purchase). Otherwise ya hafta pony up and buy TextMaker - which I love.

Re: [PythonCE] thanks again

2006-12-15 Thread Bandung
(1) You unzip the file and copy the Vim directory to your \Storage Card\Program Files\Vim directory or into the device's main memory ie \Program Files\Vim (2) You will want to create a shortcut to the Vim.exe executable. Then you can launch Vim and begin programming. Notice the context

Re: [PythonCE] psyqlite and tkinter

2006-12-15 Thread Bandung
Yes you definitely will need the kTinker file. IF you plan on writing database driven apps then you will need psyqlite. Here is my readme that I created to remind me of where to put these files plus the fix for the indentation problem that python25ce has.

Re: [PythonCE] VimCE

2006-12-14 Thread Bandung
Yes it is Rainer's VIM. I wish I knew how to compile Windows apps from source code. In that case, I would try to get version 7.0 working. (1) The good news is that Rainer's Vim 6.0 version works quite well. I had to add additional file folders and populate them with the necessary plugins in

Re: [PythonCE] VimCE

2006-12-14 Thread Bandung
Editing vs IDE Editing The most sought after features that I like to see in an editor are context sensitive hiliting and a lot of short cut keys. It would also be nice to have auto completion of commands. I don't have the latter within VimCE. IDE The ability to execute the modified code

Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-12-13 Thread Bandung
: Bandung wrote: David, Could you download this version of python in a cab format and try to install it and tell us what happens? http://downloads.sourceforge.net/pythonce/PythonCE-243-20060430.PPC2003_ARM.CAB?modtime=1146511186big_mirror=0 python 2.4.3 I've tried this version

Re: [PythonCE] grid manager

2006-12-12 Thread Bandung
The following code snippet shows what I use in order to place a frame at the top rather than the centre of my screen. --Frame --- self.frame1=Frame(Parent) # self.frame1.configure(width= 235,height= 150) self.frame1.grid(row=0,column=0, sticky=W)

Re: [PythonCE] Programming on Pocket PC's, use Python?

2006-12-12 Thread Bandung
If you want to play around with the PPC before buying one, try using the following emulator. It can be run from a usb key. In that way, you can take your virtual ppc anywhere with you. http://www.furrygoat.com/2005/09/portable_ce_20.html Portable Win CE This pocket pc on an usb stick will

Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-12-12 Thread Bandung
You should either use the CAB install option (ie download the cab file and place it on your mobile) or run the install.exe from you desktop when you are linked to your mobile via ActiveSync. Make sure that you get the additional files that are missing, ie the Tkinter files as well as the

Re: [PythonCE] wxPython for PythonCE announcement

2006-10-17 Thread Bandung
I still think that the problem is related to hard coded paths in the binary. While the actual name of the storage card might not be the problem, what appears more certain is that the program can't find the necessary files - either because of the default paths that the author uses or because the

Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-10-15 Thread Bandung
, 2006 5:59 PM Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM - Original Message - From: Bandung [EMAIL PROTECTED] To: pythonce@python.org Sent: Thursday, October 12, 2006 12:09 PM Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM Also, import dbapi2 isn't recognized

Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-10-11 Thread Bandung
I tried running a simple app that uses Tkinter but I get the error message _tkinter not found. Traceback (most recent call last): File \Storage Card\5_software_developed\testcode\GstApps\gui_class\input.py, line 2, in module from Tkinter import * File

Re: [PythonCE] Fwd: PythonCE Digest, Vol 38, Issue 13

2006-09-28 Thread Bandung
I have. Its an interesting gui builder for Tkinter. And while I like its ability to place the few Tkinter objects that it currently supports, anywhere within the main window, it is not complete enough to develop any serious guis. One is forced to open up your favourite editor and begin

Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone

2006-09-27 Thread Bandung
: - Original Message - From: Bandung [EMAIL PROTECTED] To: pythonce@python.org Sent: Wednesday, September 27, 2006 2:35 AM Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone I wish there was a path equivalent for Windows mobile so that I could put \Storage Card

Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone

2006-09-27 Thread Bandung
. Now if I could just get pysqlite with sqlite3 and wxpythonce and bwidgets to bleepin work... Bandung wrote: Yes, I've tried typing long path names that point into the Storage Card and I get nothing but the failed error -1. Too bad windows doesn't have the same concept as a Linux link

Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone

2006-09-26 Thread Bandung
The only way that I know how to edit a *.py file rather than execute it is to change the registry entry that *.py points to in your registry. Normally .py calls the pyfile entry and it is within pyfile where one types the command to launch python24.exe. I simply point *.py to my Vim Open

Re: [PythonCE] how to take screenshot from pocketPC screen

2006-09-25 Thread Bandung
You could try Remote Display from Microsoft. http://www.microsoft.com/technet/prodtechnol/wce/downloads/ppctoys.mspx remotedsp you will see the contents of your pda on a similar sized screen on your desktop. Then use your favourite desktop capture utilitiy. jeffbarish wrote: Petri

Re: [PythonCE] how to take screenshot from pocketPC screen

2006-09-25 Thread Bandung
nowadays. Bandung wrote: You could try Remote Display from Microsoft. http://www.microsoft.com/technet/prodtechnol/wce/downloads/ppctoys.mspx remotedsp you will see the contents of your pda on a similar sized screen on your desktop. Then use your favourite desktop capture utilitiy

Re: [PythonCE] Seeking alternative to wxPython

2006-09-17 Thread Bandung
If you really want a Windows look and feel then I would suggest that you use Visual Basic or any one of the visual microsoft development tools. They are cross platform if you don't mind sticking to windoze machines. The challenge then becomes, how do you point your callbacks into python, rather

Re: [PythonCE] IDE for Python on Windows Pocket PC?

2006-09-11 Thread Bandung
On the desktop, I develop my scripts with SPE http://www.stani.be/python/spe/blog/ SPE editor and occasionally with iPython or Boa Constructor. On my pda, I now use only VIM with the python syntax plugin. http://www.rainer-keuchel.de/wince/vim.html VimCE I have used the pocket idle

Re: [PythonCE] python editor...

2006-09-10 Thread Bandung
I like Vim. http://www.rainer-keuchel.de/wince/vim.html Pocket Vim It works exceedingly well in Windows mobile 5.0. In order to get all of the additional plugins, macros, syntax files, etc, I installed VIm for the desktop (I used version 6.x) then copied all of those files and sub

[PythonCE] SQLIte and PySQLite binaries

2006-08-13 Thread Bandung
I have banged my head against the wall trying to comile sqlite3 for windows mobile 5.0 and just can't get around the compiler errors such as unexpected end of file errors for virtually every code element in the module. So I tried to find binaries that would work on my starcom 6700. No go.

Re: [PythonCE] Tk/Tcl Widgets

2006-05-18 Thread Bandung
This is a nice find. I agree with you that it certainly shows what's possible. Alas, but I have given my heart to Pythoning and I can't bear to learn another language. I have waded into this Tkintering thingy because of the lack of an up to date wxPython capability for the poacketpc. I

Re: [PythonCE] Can't Get My Import Module Command to Work Properly

2006-05-17 Thread Bandung
The *.pth is the easiest solution to the problem of being able to run a script within a given directory. Mark, your solution also works wrt to appending the needed directory. In fact it is the same as mine. Only difference is the name of the file and the fact that I don't use an os import

Re: [PythonCE] raw_input for pythonce ver 2.4.3 gives EOF Error

2006-05-17 Thread Bandung
Thank you for this input. I suppose python ce also doesn't support the launching of scripts with the python myscript.py -i %1 for the same reason. I tried creating a file extension *.pyi that called the above command in order to circumvent the lack of a console. I get a Null :

[PythonCE] Can't Get My Import Module Command to Work Properly

2006-05-16 Thread Bandung
Using the PythonCE interactive window, I am trying to shortcut having to type in a sys.path.append() command every time I want to run a python script that is not in the standard path. So I created a module called paths.py with several sys.path.append commands in it. When I import this module

[PythonCE] raw_input for pythonce ver 2.4.3 gives EOF Error

2006-05-13 Thread Bandung
I seemed have gotten idlece working along with Tkinter and python works well except for a few problems. The one that I would like to find a work around to is with the input() and raw_input() commands. Both return an EOFError When reading a line the line of code is def main() x = raw_input()