There are several GUI toolkits for python. Tkinter comes with python,
but wxPython, a binding to wxWindows is popular, as is pyQT, and pyGTK.
You can also build native win32 GUIs using PythonWin, part of win32all.
A more complete list of options is available here:
http://www.python.org/cgi-bin/moin
I should learn to type faster. You beat me to the response.
Chris
--
http://mail.python.org/mailman/listinfo/python-list
I just installed python2.4 and used it to install a set of scripts I
had previously been using distutils with. It worked fine, and replaced
the first line with:
#!/usr/local/bin/python2.4
distutils should replace that first line with the location of the
binary used to run setup.py. Are you runnin
I've got python 2.3.3, 2.4, and 1.5.2 (which came preinstalled) on my
linux box. It's redhat 7.2 (I know... I would upgrade, but it would
void my service contract, so I just install things in /usr/local). You
can check if PYTHONHOME or PYTHONPATH are set, which may somehow be
interfering. I don't h
It is possible, though possibly painful, to call java modules from
CPython using JNI. This is more difficult than Jython integration, but
probably required if you want to keep using your extension modules.
The JNI tutorial is available at
http://java.sun.com/docs/books/tutorial/native1.1/index.htm
On Sat, Jan 22, 2005 at 01:54:17AM +0100, Uwe Mayer wrote:
> Any suggestions how I handle uninstallation? This was provided by automake
> rather mechanically. I didn't find a section on that in the distutils
> documentation... :(
I've been using distutils for a couple of projects I've written for
"/usr/sbin/psrinfo -p" will print the number of physical processors on the
system, though it does not indocate if they are on- or off-line. You could also
write an extension which gets processor information using the sys/processor
library. Example code is available in the "p_online" man page.
Chr
On Sun, Jan 30, 2005 at 03:12:06PM -0800, mike wrote:
> I am new with python. Is it possible to have an MFC application and
> develop some module using python? what are the steps in doing this? can
> anybody give me a url or some documentation for this.. thanks..
It is possible to embed python in
On Mon, Jan 31, 2005 at 02:42:11PM -0800, mike wrote:
> I was also advised to build the python core (pythoncore.vcproj) with my
> C++ program. By that way I would not have to load the python core
> anymore during runtime. Is this a good approach?
> I am currently using VC++ 7 and python 2.4.
I'm n
On Sun, Feb 06, 2005 at 01:42:22PM -0800, Bobby Owens wrote:
> I've muddled through the python code and figured out parts of it. I've
> now installed Sun Solaris 10 on a VM ware installation successfully
> and can muddle thorough the basics of the o/s. I cant figure out how
> to install python. Fro
On Mon, Feb 07, 2005 at 03:43:15PM -0500, Dan Perl wrote:
>
> "Xah Lee" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > is it possible to write python code without any indentation?
>
> I read just today in a tutorial that "Python on the other hand, does not
> even allow change
On Mon, Feb 07, 2005 at 11:57:02AM -0800, Keith Veleba wrote:
> Background:
> I'm working on a project where I have to do some serious
> multithreading. I've worked up a decorator in Python 2.3.4 to implement
> the lock semantics required for specific functions I want to
> synchronize:
I found Chr
On Sat, Feb 12, 2005 at 07:16:02PM +, ted wrote:
> How does the speed of the Scons build tool compare with Ant?
I would recommend asking this question on [EMAIL PROTECTED] , but my
impressions is that most of the time is probably spent in the compiler. If you
are working on a java project you
On Sun, Feb 13, 2005 at 01:25:02PM -0600, Efrat Regev wrote:
> I would like to recurse through a directory and make files (which match
> a specific criteria) read only. From searching the Internet, I found
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303343
> which shows how to
On Thu, Feb 24, 2005 at 11:11:07AM -0600, Efrat Regev wrote:
> I was wondering whether there are any Python modules for various
> Internet protocols, ...
Twisted (http://twistedmatrix.com/products/twisted) is an event driven
framework for writing network applications. It includes many internet
On Wed, Feb 23, 2005 at 10:54:50PM -0500, Douglas Alan wrote:
> Is there a canonical way of iterating over the lines of a file that
> are null-separated rather than newline-separated?
I'm not sure if there is a canonical method, but I would recommending using a
generator to get something like this
On Thu, Feb 24, 2005 at 02:03:52PM -0500, Douglas Alan wrote:
> Thanks for the generator. It returns an extra blank line at the end
> when used with "find -print0", which is probably not ideal, and is
> also not how the normal file line iterator behaves. But don't worry
> -- I can fix it.
Sorry.
On Fri, Feb 25, 2005 at 07:56:49AM +1100, John Machin wrote:
> Try this:
> !def readweird(f, line_end='\0', bufsiz=8192):
> !retain = ''
> !while True:
> !instr = f.read(bufsiz)
> !if not instr:
> !# End of file
> !break
> !splitstr = ins
On Mon, Feb 28, 2005 at 08:30:59AM -0800, [EMAIL PROTECTED] wrote:
> WHen I use the code below and printing all the results i get this:
> --
> 0 1 10
> 11 2 3
> 4 5 6
> 7 8 9
> --
> But I want
> --
> 0 1 2
> 3 4 5
> 6 7 8
> 9 10 11
> --
If you want your key, value pairs in a certai
On Wed, Mar 02, 2005 at 01:31:04PM +0300, Denis S. Otkidach wrote:
> You are not right, records in BTree (btopen) are certainly sorted. For
> positive integers you can pack keys with struct.pack('>I', value).
You're right... I missed the btopen (rather a key thing to miss I know, but
when you hav
I use fetchmail in daemon mode and have procmail set up to filter my
email through bogofilter (http://bogofilter.sourceforge.net/). As for
outgoing mail postfix, exim, and sendmail are popular. From my laptop I
do use a python script to cache mail my mail when I'm not connected. I
then use a script
Roy Smith already touched on regular expressions, but as far as
features go, I would say that the real difference between python and
perl is not in the features, but in the philosophy. It seems to me that
any program you can write in python could also be written in perl. What
it comes down to for m
It is possible to store 70,000 items in a list (try "l =
range(7)"), but the best way to check if you can store all the
items you need to store is to try it. After all if they are all very
large you might potentially run out of memory.
Chris
--
http://mail.python.org/mailman/listinfo/python-
23 matches
Mail list logo