abpage module in
my app. Guess I should take a harder look at it. Nice bit of software.
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
t;
> print "Supported="+str(ser)
>
> How can i get rid of those single quotes.
>
> Thanking you
>
> shakeel
>>> l = ['0x3e', '0x28', '0x3b', '0x22', '0x20', '0x27', '0xaa']
>>> ','.join(l)
'0x3e,0x28,0x3b,0x22,0x20,0x27,0xaa'
You may want to look at the ConfigParser package too. It's for reading/
writing .ini file.
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
y as this is
my first attempt at syntax highlighing. I can load a file and the
highlighting works very well. I used an elaborate regex with named
groups and re.finditer(). I either use the names directly as edit
tags, or they help me look up other tags in a dict. It's quite fast.
screenshot with
ging = False
changing = False
root = tk.Tk()
t = tk.Text(master=root)
t.pack()
t.focus_set()
t.tk.call(t._w, 'edit', 'modified', 0)
t.bind('<>', text_changed)
root.mainloop()
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 5, 3:52 pm, "Goldfish" <[EMAIL PROTECTED]> wrote:
> On Mar 5, 1:56 am, "bytecolor" <[EMAIL PROTECTED]> wrote:
> I have a package along with a samples section. I have both a setup.py
> script along with a MANIFEST.in file to make sure everything
is not added to the tarball.
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Russell, those funcs sound familiar. I've probably used them or,
more than likely, read about them in the past.
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
his is really driving me nuts, because I know for a fact I was getting
the long name using python on 2k not 3 days ago, but now it's returning
the short name and I haven't changed/installed anything.
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
com.client as w32c
>>> fc = w32c.Dispatch('Featurecam.Application')
>>> fc.InstallPath
u'C:\\Program Files\\FeatureCAM'
>>>
Why the short vs long names?
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Alex, the weak references *seem* to be doing what I want for
now.
In each __init__() I use:
aptbase.drawables.append(weakref.ref(self))
Then in show():
for d in aptbase.drawables:
o = d()
if o is not None:
# render it
--
bytecolor
--
http://mail.python.org/mailman
objects to the
render list. I only want objects that have been assigned to a variable
to be rendered. (Try to ignore the function overloading.)
So how can I tell if an instance of point, line or circle has actually
been assigned to a variable?
--
bytecolor
--
http://mail.python.org/mailman/listi
I recently wrote a small application using wxPython (my first with this
GUI). I've used it on
Windows XP, Debian GNU/Linux (sarge) and OS X (Panther). The
application only uses a few widgets but it wasnt difficult at all to
get up and running.
--
bytecolor
--
http://mail.python.org/ma
http://www.norvig.com/21-days.html
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
is there a module out there that will already handle
this
> approach?
>
> Thanks for any suggestions :)
>
> Andrew
If I were in your situation, I'd probably write a BNF for the
tiny-language. This would help wrap my brain around the problem.
The BNF would help show what kind of regular expression you are
looking at creating as well.
--
bytecolor
--
http://mail.python.org/mailman/listinfo/python-list
14 matches
Mail list logo