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()
_
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
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.
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
; 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
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
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
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
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
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
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
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:
>
>
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
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)
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
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
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
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
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
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
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
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
(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
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
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.
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
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
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
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
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
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
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
:
>
> 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
>>
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
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
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
53 matches
Mail list logo