[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() _

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

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

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

Re: [PythonCE] Pyeditce is online!

2006-05-17 Thread Bandung
I have tried the program and I do like it. I would like it if your file loading dialog box accepted not only *py files but all file using the *.* mask. In that way I can open files with the *.pyw extension. -- View this message in context: http://www.nabble.com/Pyeditce-is-online%21-t1621223.ht

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 would

Re: [PythonCE] Tk/Tcl Widgets

2006-05-19 Thread Bandung
I was thinking something similar in that perhaps we could use a lot of these tcl components ln the same fashion that we use Tkinter widgets - as black boxes within our Python framework. I was eyeing their SSL toolset as an example. Plus I like the file system proggie. What I want to avoid is ha

Re: [PythonCE] Tk/Tcl Widgets

2006-06-07 Thread Bandung
This project also has some promise and is based upon tcl as well. SpecTix -- View this message in context: http://www.nabble.com/Tk-Tcl-Widgets-t1646602.html#a4766993 Sent from the Python - pythonce forum at Nabble.com. ___ PythonCE mailing list Pyth

Re: [PythonCE] pyeditce is online!

2006-06-07 Thread Bandung
You may want to take a look at the SpecTix project for some layout ideas. The ide was written in tcl/tk. I like the way that it adds geometry widgets at the start of a new project. If you can port this to wm5, that would be the bomb. (it may even run as it). When I get my new mini SD card, I

[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] Python 2.5?

2006-08-13 Thread Bandung
Have you had any success in compiling the pysqlite module that is now part of python 2.5? If so, maybe I will wait until python 2.5 is available for mobile devices, rather than hammering my head against the wall trying to compile it for version 2.4 Luke Dunstan wrote: > > Hi, > > Yes I have

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 directories

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 programm

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

[PythonCE] Bwidget combo boxes stop working with latest tk84.dll

2006-09-18 Thread Bandung
With the tk84.dd version 8.4.6, I could build dialog boxes with bwidget controls. The one control that I particularly liked was the combo box. The only problem was the number of combo boxes used. I was continually getting "no more winhandle map slots" whenever I clicked on 5 comboboxes. I rem

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 Wu

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

2006-09-25 Thread Bandung
display utility 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 favo

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] wxPython for PythonCE announcement

2006-09-26 Thread Bandung
I don't think that the problem has anything to do with the machine being "out of memory". I think the problem lies with the default paths that seemed to be hard wired into the binary packages. For example, the error message refers to line 4 within the _misc.py file within a directory tree that c

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

2006-09-26 Thread Bandung
Vim within this debugger. I don't know yet whether or not this debugger is part of the pythonce build. Bandung wrote: > > 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 regi

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

2006-09-27 Thread Bandung
stan wrote: > > > - Original Message - > From: "Bandung" <[EMAIL PROTECTED]> > To: > 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 &qu

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

2006-09-27 Thread Bandung
; along side of it, I ain't very interested. Anyways, the pocket Vim exercise looks mucho promising. 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 th

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 hacking

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 from Tkinter import * File "C:\devl\release\PythonCE-2.5-20061012\Py

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

2006-10-15 Thread Bandung
D]> > To: > Sent: Thursday, October 12, 2006 5:59 PM > Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > > >> >> - Original Message - >> From: "Bandung" <[EMAIL PROTECTED]> >> To: >> Sent: Thursday, October 12, 20

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 n

[PythonCE] Windows Mobile 5.0 Now Has a Console!

2006-12-08 Thread Bandung
cket ssh port created by Rainer (it supports tunneling) and other apps that have command line arguments and switches. Example. ssh mysite.com -l bandung -L 25:127.0.0.1:25 So to the point. I want to be able to launch python with the command line prompts/arguments. Things such as python.exe my_mod

Re: [PythonCE] Windows Mobile 5.0 Now Has a Console!

2006-12-09 Thread Bandung
module as an argument. Any thoughts? Bandung wrote: > > It is now possible to load and run Microsoft's console as well as > Simbolic's PocketConsole. Here are the steps. > > 1. Get the Pocket Console and install it > http://www.symbolictools.de/public/pocketconso

Re: [PythonCE] Windows Mobile 5.0 Now Has a Console!

2006-12-09 Thread Bandung
would work. Then we could type the following.. \>python \path\sample\module.py -i and put python into the interactive mode while loading the module. If anyone knows how to get pythonce to accept parameters such as -i, etc, this would be the bomb. Bandung Bandung wrote: > >

Re: [PythonCE] Python CE on Windows Mobile 5

2006-12-09 Thread Bandung
Their console does indeed work on Windows Mobile 5.0 And so does the Microsoft console ver 4.2 All you have to do after installing either or both apps is to change one registry entry. HKEY_LOCAL_MACHINE\Drivers\Console\OutputTo set this value to 0 With this change, I am able to call python fr

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 r

Re: [PythonCE] grid manager

2006-12-12 Thread Bandung
Here is another thread that talks about the joys of getting the grid manager to play nice. http://mail.python.org/pipermail/python-list/2002-July/155857.html Using The Grid Manager Bandung wrote: > > The following code snippet shows what I use in order to place a frame at > the t

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 MySQLit

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

2006-12-13 Thread Bandung
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=1146511186&big_mirror=0 python 2.4.3 David Goncalves wrote: > > Hi, > > > Thanks for your

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

2006-12-13 Thread Bandung
Good luck. David Goncalves wrote: > > 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?m

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 with

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 sensiti

Re: [PythonCE] setup.exe didnt finish downlaod cant delete

2006-12-15 Thread Bandung
To delete that file that is always in use, I suggest that you use the following trick. START | RUN | CMD CD to your directory. Use: DIR /X /A to see the SHORT FILE NAMES of the files and directories there. use: RMDIR [/Q] [drive:]path RD [/Q] [drive:]path /S Removes all directories

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

Re: [PythonCE] VimCE

2007-01-03 Thread Bandung
I managed to find two scripts that add the features that I was looking for when editing python scripts within Pocket Vim. 1. Navigation Shortcuts Using my trusty "OpenWith" utility that attaches to pocket explorer, I open the python file with Vim. What's nice about this utility is that it show

Re: [PythonCE] python 2.5 tkinter install help!!

2007-01-07 Thread Bandung
This was answered earlier on. There are a number of files missing in the download. You will have to revisit the site to retrieve them. There are a couple of other quirks wrt python 2.5 such as the indentation not working correctly. Just do a browse of the subjects on this site for the last few

Re: [PythonCE] the problem still exists..

2007-01-08 Thread Bandung
It sounds like you are almost there. Yes you need these three files in your windows directory TK84.DLL TCL84.DLL and celib.dll Make sure that you have the latest version possible that you can find for CELIB. I don't remember what mine is. I seem to think tht I found a CELIB ver 2.13 Google

Re: [PythonCE] tk/tcl

2007-01-09 Thread Bandung
I don't know paint from whatever when it comes to how folks compile things for windoze machines. I have always suspected that some of the wince issues are due to hard wired path statements at install time. But before we can point our fingers at this issue, lets look at a few other things. (1) F

Re: [PythonCE] tk/tcl

2007-01-10 Thread Bandung
You don't need that Tkinter download nor the tcl/tk download. The Python25 cab has everything needed to run its own version of Tkinter. You are mixing versions of Python. The instructions that you were following were for an older version of python, version 2.4.3, I think. You need to "lose" al

Re: [PythonCE] tk/tcl

2007-01-10 Thread Bandung
Here are my latest files: celib2.13 , then tcl84 and tk84 dll's http://www.nabble.com/file/5568/celib.dll celib.dll http://www.nabble.com/file/5566/tcl84.dll tcl84.dll http://www.nabble.com/file/5567/tk84.dll tk84.dll johnaherne wrote: > > Thanks for the clarification. > > As you said

Re: [PythonCE] tk/tcl

2007-01-10 Thread Bandung
: > > Bandung wrote: >> Here are my latest files: celib2.13 , then tcl84 and tk84 dll's >> >> http://www.nabble.com/file/5568/celib.dll celib.dll >> http://www.nabble.com/file/5566/tcl84.dll tcl84.dll >> http://www.nabble.com/file/5567/tk84.dll tk84.dll >>

Re: [PythonCE] tk/tcl

2007-01-11 Thread Bandung
You are almost there! Looks like you need tcl. Download this file and unzip it. it is a later version of tcl than the one that you were using. http://www.nabble.com/file/5586/tcltk8_4_12_ce-arm.zip tcltk8_4_12_ce-arm.zip Place the lib directory under your \\Program files\\ directory. You

Re: [PythonCE] tk/tcl

2007-01-11 Thread Bandung
iles into your Windows directory as well. 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

Re: [PythonCE] UI?

2007-02-06 Thread Bandung
Start with Tkinter. It comes with Python2.5 You will have to install tcl in order to use it. Go to this thread and read it if you are having difficulties in getting your Tkinter/tcl installation working. The thread includes the latest copies of tcl for wince. Make sure that you include Celib