Hi,
I am having a problem making a widget appear. I have 5 widgets which
are windows with no parents. 3 of the widgets appear without a problem
the other 2 widgets will not appear when I invoke widget.show() from
within a handler for another widget. I am completely clueless as to why
these 2 widge
Hi,
I am just starting to use Python. Does Python have all the regular
expression features of Perl?
Is Python missing any features available in Perl?
Thanks,
Michael
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Christopher De Vries wrote:
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.
To help aid in this discussion, the following Python and Per
Hi,
Are there hashes in Python?
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Peter Hansen wrote:
Michael McGarry wrote:
Are there hashes in Python?
Define hash. Or look at Python's 'dict' type, or the hash()
function and decide for yourself if that's what you meant.
-Peter
Yes, I guess the dict type is what I am looking for.
Thank you,
Michael
--
ht
Hi,
Do any books cover PyQt?
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
What is the best book covering Python?
Michael
--
http://mail.python.org/mailman/listinfo/python-list
I have many years of programming experience and know a little bit of
Tcl. I am looking for a book to detail on the features including GUI in
a reference style.
Thanks,
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am trying to show a radio button group on a window, but only the last
radio button shows up. Anyone know why?
Here is the code:
from qt import *
import sys
a = QApplication(sys.argv)
widget = QWidget()
trafftype = QButtonGroup("Traffic Type", widget)
poisson = QRadioButton("Poisson", trafft
Thanks, I had just discovered Qt Designer. I will probably use this. It
seems to work well.
Michael
--
http://mail.python.org/mailman/listinfo/python-list
. Martelli published by O'Reilly. It has a section on
Tkinter and many other things that you may find useful.
ah
On Mon, 13 Dec 2004, Rod Haper wrote:
Michael McGarry wrote:
I have many years of programming experience and know a little bit of
Tcl. I am looking for a book to detail on the fea
Hi,
How do I convert from a qt.QString to a Python string?
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Michael McGarry wrote:
Hi,
How do I convert from a qt.QString to a Python string?
Michael
Apparently the ascii() method of QString does this. (I answered my own
question).
sorry for wasting newsgroup space.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm trying to get PyQt up and running under Mac OS X 10.2.8, but
can't get past configuring sip.
I installed fink's qt3-3.2.3-2 and restarted my shells to get
qt3's environment variables QTDIR and QMAKESPEC.
I downloaded sip-4.1 from
http://www.river-bank.demon.co.uk,
unpacked it, ran
pytho
Kevin Walzer wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've assembled a binary installer for the native version of PyQt. See
http://www.wordtech-software.com/pyqt-mac.html
I built it on Panther. Not sure if it will work on Jaguar, but you're
welcome to give it a try.
Micha
glenn andreas wrote:
In article <[EMAIL PROTECTED]>,
Michael McGarry <[EMAIL PROTECTED]> wrote:
One problem is my Window created in Qt appears underneath all others on
the screen and focus never goes completely onto this window. Kind of weird.
Any ideas?
If the application is
whamoo wrote:
Michael McGarry <[EMAIL PROTECTED]> wrote:
thanks that did the trick!!!
One problem is my Window created in Qt appears underneath all others on
the screen and focus never goes completely onto this window. Kind of weird.
Any ideas?
You must use pythonw for graphics application
Binu K S wrote:
You can do this without regular expressions if you like
uptime='12:12:05 up 21 days, 16:31, 10 users, load average:
0.01, 0.02, 0.04'
load = uptime[uptime.find('load average:'):]
load
'load average: 0.01, 0.02, 0.04'
load = load.split(':')
load
['load average', ' 0.01, 0.02, 0.04
Hi,
I am horrible with Regular Expressions, can anyone recommend a book on it?
Also I am trying to parse the following string to extract the number
after load average.
" load average: 0.04, 0.02, 0.01"
how can I extract this number with RE or otherwise?
Michael
--
http://mail.python.org/mailm
Philippe C. Martin wrote:
I'm struggling myself and have bought:
"Mastering Regular Expressions"
2nd Edition,
O'REILLY
Jeffrey E. F. Friedl
I covers the reg exp concepts + applications in various languages (mostly PERL
but some Python also)
Thank you everyone for the tips!!
--
http://mail.python
Hi,
How do I redirect stdin, stdout and stderr to a window? I am using Qt
for GUI.
Thanks,
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Esmail Bonakdarian wrote:
My post wasn't complete, sorry for the additional post:
ps: this is basically the same query as posted December 10 “Re: GUIs:
wxPython vs. Tkinter (and others)” by Erik Johnson which really seemed
to end up comparing PyQt (?)
I recommend PyQt because of the easy to use d
Definitely look at PyQt. It was the GUI framework I chose when going
through the same process 3 weeks ago. I have to disagree with F.Geiger
(sorry, F.Geiger), I think a GUI builder is a necessity. It saves you a
lot of time. The alternative is to keep changing your code until your
GUI looks as
Hi,
I am using the default Python installation that comes with Mac OS X
Tiger. I want to use the Qt module. How can I install the Qt module?
Qt is already installed.
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am using the marshal module in python to save a data structure to a
file. It does not appear to be portable. The data is saved on a Linux
machine. Loading that same data on a Mac gives me the bad marshal data
message.
Is this data really not portable or I am doing something wrong here. I
th
Thanks, that worked.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am running a Python/Qt app I developed that runs flawlessly in Linux
on my Mac. It is unfortunate not running properly on the Mac OS X. The
window will not come into focus and is grayed out.
Does anyone have any ideas?
Thanks,
Michael
--
http://mail.python.org/mailman/listinfo/python-li
Pickle is working well for me. I do not need speed or small file size.
Flexibility is more important for me. If speed was important I would
write the app in C.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I would like to form a regular expression to find a few different
tokens (and, or, xor) followed by some variable number of whitespace
(i.e., tabs and spaces) followed by a hash mark (i.e., #). What would
be the regular expression for this?
Thanks for any help,
Michael
--
http://mail.pytho
Tim,
for some reason that does not seem to do the trick.
I am testing it with grep. (i.e., grep -e '(and|or|xor)\s*#' myfile)
Michael
--
http://mail.python.org/mailman/listinfo/python-list
30 matches
Mail list logo