2006/2/25, Sybren Stuvel <[EMAIL PROTECTED]>:
> Lad enlightened us with:
> > Body='Rídících Márinka a Školák Kája
> > Marík'.decode('utf8').encode('windows-1250')# I use the text written
> > in my editor with utf-8 coding, so first I decode and then encode to
> > windows-1250
what does a string be
ocess to import the index and or it
explode in some point or they simply kill it after some time). and
they obviously don't run that process very often.
Now... anyone has some implementation of pygoogle.py that scraps the
regular html service instead of using SOAP? :)
Gabriel B.
--
http://mai
i have the following code:
Ui.py:
import Tkinter as Tk
import UiMainScreen
UiMainScreen.py:
class UiMainScreen( Tk.Frame ):
and i get the following error:
File "UiMainScreen.py", line 1, in ?
class UiMainScreen(Tk.Frame):
NameError: name 'Tk' is not defined
isn't Tk supposed to b
On Apr 10, 2005 11:08 PM, Bengt Richter <[EMAIL PROTECTED]> wrote:
> On Sat, 9 Apr 2005 19:22:16 +0200, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
> open('mywidget_v2.txt','w').write(repr(mywidget.textview)
How about a pickle hook?
You'd just unpack the pickle data, and end up with a pointer
i'm writting an application that will use Tinker in a newer future.
Now it's console only. I simply ommit some data on the display,
print() some other and go on. The problem is that i can't test the
actions tiggered by special keys, like Page Up/Down or the F1...12
Right now i'm using raw_input()
I started to use dbschema.com but it has some big flaws (mainly
regarding keys and mysql) and besides it's being in java (wich i don't
like to code at all) it's closed source.
I'm considering starting a new GPL one in python, so, i ask if you
people already know a project like that.
Thanks,
Gabri
On Sat, 12 Feb 2005 19:44:25 -0600, Jeff Epler <[EMAIL PROTECTED]> wrote:
> The reason that F10 does nothing is because there is already a binding
> on all for . [...]
> If you want to get rid of this binding, you would do it with something
> like
> w.bind_all("", "")
> for some widget w.
That
This is completely odd to me...
# Bind F1...F12 to <>
self.tk.event_add( '<>', # keys used to switch between the tabs
'','','','','',
'','','','','',
'',''
)
self.master.bind_all('<>', self.__functionKeysPressed )
def __functionKeysPressed(self, event):
print e
i'm using almost every widget property from my pyTk programs in the
form of resources, like:
self.tk.option_add ( "*InputClass*background", "White" )
In the widget creation i have only the Class and the Command
attribute, but i'm having to add some tk options to the geometry
method, in the case,
I got my self writting nested objects to hold Tk references, then i
realizes that i was working in python and not tcl, so i switched to
flat vars... and in no time i was using more then 7 words separated by
captalization in the names... i was able to rethink my scheme to use
5... no less.
i'm i ex
> Oh and you of course __must__ look at the (recently updated!) New Mexico
> Tech tkinter document at:
> http://infohost.nmt.edu/tcc/help/pubs/tkinter.pdf
>
> See page 75 and follwing for more info on keyboard bindings...
Thanks, i was looking down that doc because the first thing i looked
into i
> However, imagine simple situation:
> 1. I write proprietary program with open plugin api. I even make the api
> itself public domain. Program works by itself, does not contain any
> GPL-ed code.
No need to continue. You write something that uses a plugin, Eolas
sues you. Don't have to mind about
> >>Considering the fact that the Qt DLL exist by themselves, that the
> >>version used is the one provided by Qt, and that the EXE uses a
> >>standard, open way to communicate with it, the above does seem to say
> >>this use would be valid.
> >>
> >>
> >
> >http://www.gnu.org/licenses/gpl-faq.
On Mon, 07 Feb 2005 20:56:44 -0800, Courageous <[EMAIL PROTECTED]> wrote:
> Follow the copyright holder's wishes.
>
> That's fair. After all, it's free, so they're doing you a damn
> big favor.
I'm terrible sorry to extend this topic even furter, but it's silly,
not to say dull to think like that
> > users. For example, from their FAQ, it seems that no precompiled
> > binaries will be provided. Support for comercial compilers will not be
> > built in, only for gcc (through Cygwin?).
>
> Isn't this just the same thing with a different spin. There was always
> an available distribution for
Is it just me that can't find a full reference in the docs?
I wanted a list of all the methods of dict for example... where can i find it?
Thanks, and sorry if this question is just dumb, i really can't find it
--
http://mail.python.org/mailman/listinfo/python-list
I'm starting to write a POS application UI's module.
There's no mouse, just a bunch of global shortcuts.
the problem is that TK doesn't have global shortcuts! Is there a
work-around or i will have to attach 80 or so bindings for every input
element?
Thanks,
Gabriel
--
http://mail.python.org/mai
I just sent an email asking for hints on how to import data into a
python program
As i said earlier i'm really new to python and besides being
confortable with the syntax, i'm not sure if i'm on the right track
with the logic
I'm asking for hints again here at the list because i think i'm
already
I wanted to make a list index work as the index of the data in the
database. something like
database:
idx
item_description
item_value
being imported to my program as:
x[idx][0]= item_description
x[idx][1]= item_value
the problem is that there will be some hundred items and possible the
idx wil v
Anyone has any info if there's something similar to Newt lib for win32?
Thanks
Gabriel
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo