> I have a image file on my pc, say a .jpg. Basically I want to setup a
> client/server socket, and I want the client to read in the jpg and send
> it to the server, where the server can write that data into a new file
> on the server.
>
> I tried just doing something like..
>
> x = open("abc.
> I seem to remember a thread a while ago about a 'bug' with the Tk Canvas
> widget keeping a reference to objects that had been deleted...
>
> Have you thought about using the 'move' method to move your lines? I
> think this will result in less supprises...
>
Actually I solved that problem.
>>I am gonna step way out of my mathematical depth here
>>
>
> I mean no disrespect, but this is the last accurate statement you made.
>
You are probably correct, I am certainly out of my field and hope
that noone would embark on a hopeless project based on my few words.
However, the school di
You didn't indicate how deep you want to get into
the code yourself.
I am gonna step way out of my mathematical depth here
and say this should not be too difficult in python.
1. you need to know the format of .wav
surely it is a set of frequency amplitude pairs.
2. you need to know the samplin
I'm mapping quadratic equations on a Canvas.
But that's irrelevant, the point is I am drawing
a lot of points in a loop without returning to
mainloop until the end. I want my students to see the
drawing progress, so I call update_idletasks() after
each tiny rectangle. ( I use to call update() and
>> Using Tkinter Canvas to teach High School Geometry
>> with A LOT of success.
>Can you post a link to your code.
>I'd like to see what you are doing.
>Thx,
>Alan Isaac
Yes, I will release it open source at the end of may.
There are too many features I want to add to release it now.
Essentially it
Using Tkinter Canvas to teach High School Geometry
with A LOT of success.
My drawing gets very slow after a lot of actions.
For instance I have created code to rotate a set of objects
about a rotation point.
rotate 360 degrees starts to get slow
after 720 degrees its crawling.
I checked the item li
se only at my company, do I have
> > to purchase a Qt or pyqt license?
> >
> > Thanks for the info!
> > Chris
>
> Oops.. I forgot to say I'm writing code for Windows.
Until the GPL versions of Qt4 and PyQt4 are available for Windows (and eric
has been porte
that the support matches that of
Qt 3.
> Also, somebody outside Trolltech was also doing a port of Qt 3 GPL to
> Windows which apparently got quite a long way. Whether that effort
> continues, and whether PyQt will support that 'unofficial' port, I
> don't know (n
> On Tue, 5 Apr 2005 11:43:38 +0100 (BST), "Phil Thompson"
> <[EMAIL PROTECTED]> wrote:
>
>>>[...]
>>> Or doesn't it fit with "Qt 3.3.4 Evaluation"
>>>
>>> Any hints?
>>
>>What version of Python do you hav
> On Tue, 5 Apr 2005 10:14:48 +0100 (BST), "Phil Thompson"
> <[EMAIL PROTECTED]> wrote:
>
>>> On Tue, 5 Apr 2005 09:17:05 +0100 (BST), "Phil Thompson"
>>> <[EMAIL PROTECTED]> wrote:
>>>
>>> What steps are missing?
>&
> On Tue, 5 Apr 2005 09:17:05 +0100 (BST), "Phil Thompson"
> <[EMAIL PROTECTED]> wrote:
>
>>> Hello NG,
>>>
>>> (Win XP)
>>>
>>> I have successfully installed pyqt, but not
>>> qtext, which I need to run Eric3.
>&g
rsion based on Qt v2 - QScintilla (and therefore eric)
requires Qt v3.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
.pyw", line 65, in ?
> from qt import *
> ImportError: Module use of python23.dll conflicts with this version of
> Python.
>
> Is there any version for Python 2.4?
> What shall I install to run pyqt?
There isn't a version for Python 2.4 because of the MSVC 6 vs 7 issues.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
"Gianluca Sartori" <[EMAIL PROTECTED]> writes:
> What web framework do you suggest to develop with?
I tend to use mod_python.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
Problem, the focus is on a field which has contents
and I scan the credit card card, which is keyboard input.
The field is altered and a bunch of chars fly acroos the
field. messy.
Ok, I can solve this in a very clumsy manner.
1. I see the first character of the scan, '%',
configure the field to s
everything I post to this list bounces awaiting moderator
approval, due to suspicious header.
COuld someone tell me what's wrong. I'm on lots of list
with no problem.
--
http://mail.python.org/mailman/listinfo/python-list
Jeff Epler wrote:
On Wed, Mar 02, 2005 at 04:58:03PM -0600, phil wrote:
Sorry for the repost, but moderator
jeld the last one,
We saw both posts.
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
create a binding on the widget for the particular character you want to
treat
Sorry for the repost, but moderator
jeld the last one,
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
Say a certain char is keyed in. Say &
I notice in the event handler for .
I don't want any more charactres to display or
be in the field until I handle, in the
event handler, a
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
Say a certain char is keyed in. Say &
I notice in the event handler for .
I don't want any more charactres to display or
be in the field until I handle a see, in the
event handler, another character. Say ?
Can the event handler som
I'm cpmpletely lost on fonts.
I'm using Tkinter
I do medarial = '-*-Arial-Bold-*-*--24-*-*-*-ISO8859-1"
or Courier or Fixed in various sizes.
Works great on my RH 7.2
But a small embedded system Im working on, nothing seems to work,
almost everything falls back to a fixed 12
The X*4 fontpaths are t
python.org/lib/module-shlex.html
While I'm replying to you, would you mind if I take the opportunity to
ask you to stop top-posting?
Thanks,
Phil
--
http://mail.python.org/mailman/listinfo/python-list
> Phil Thompson napisa³(a):
>
>> Riverbank Computing is pleased to announce the release of PyQt v3.14
>> available
>> from http://www.riverbankcomputing.co.uk/.
>
> Classes generated by puyic 3.13 are not compatible with PyQt 3.14 (some
> method signature incompat
gpl-1
>.5.tar.gz
Should be fixed now - thanks.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
Riverbank Computing is pleased to announce the release of PyQt v3.14 available
from http://www.riverbankcomputing.co.uk/.
Changes since the last release include support for QScintilla v1.5.
PyQt is a comprehensive set of Qt bindings for the Python programming language
and supports the same plat
[EMAIL PROTECTED] writes:
> Is there a way to figure out what filename an email object points to
> in a qmail style Maildir directory?
What do you mean bu "email object"? Surely if you are iterating a
Maildir then you should have the filename. Or am I misunderstanding
what
ething, an .obj file, another DLL or
> what?
Yes, you can use either SWIG or SIP. C (as opposed to C++) support was
added with SIP v4. The something is another DLL, conventionally given a
.pyd extenstion.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
> After quite a while of wxPython I'm getting back into PyQt, mainly due
> to the announcement by Trolltech that they will make a GPL version of
> Qt4 for Windows (and Phil-T said he will make a PyQt to go with it
> eventually!)
>
> I'm currently using PyQt 3.12 that co
please ?
As it's a binary package, the educational version of PyQt supports the
version of Qt that was current at the time. I think PyQt v3.7 to v3.11
supported that version of Qt.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
So have you created the library you are trying to wrap? The documentation is
describing how to wrap a library and describes a fictional library as the
basis for the example.
Phil
On Friday 28 January 2005 11:02 pm, Uwe Mayer wrote:
> Friday 28 January 2005 23:39 pm Uwe Mayer wrote:
> &g
I suggest that you post your question to the PyKDE mailing list and include a
complete example that demonstrates your problem as an attachment (so the
indentation is preserved).
Phil
On Friday 28 January 2005 9:42 pm, Michael McGarry wrote:
> Hi,
>
> I am having a problem making
complicated stuff (with Qt).
>
> The QLabel example in the SIP reference manual yields syntax errors for
> me.
What syntax errors? If there is a documentation bug then I'll fix it.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
gt; threads instead of native python threads. Is this the way to go? Are
> there other options?
Using QThreads only should work - just tell the QApplication ctor that you
have a console application.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday 30 December 2004 4:13 pm, Steve Holden wrote:
> Phil Thompson wrote:
> > On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote:
> >>hi phil...
> >>py-->2.4
> >>pyqt-->3.3
> >
> > I assume you mean PyQt-win-nc-msvc-3.13.ex
On Thursday 30 December 2004 2:34 pm, Nanoscalesoft wrote:
> hi phil...
> py-->2.4
> pyqt-->3.3
I assume you mean PyQt-win-nc-msvc-3.13.exe
> qt-->2.3.0
I assume you mean the non-commercial edition.
The binaries are built against Python 2.3.3 - Python 2.4 won't wo
gt; as the groups standard to be) would help me start my nanoscale project
> or otherwise i have to rethink the GUI..Common QT is my favourite i
> need my project work to be done on my favourite thing.
Exactly what versions of Python, Qt and PyQt have you installed?
Phil
--
http://mail.python.org/mailman/listinfo/python-list
I need to know if a process is running.
not just python.exe
but python.exe myapp
from win32all
EnumProcesses gives me the pids, then
OpenProcess(pid) gives me a handle.
Then what?
GetModuleFileNameEX? It requires two handles as args
and I can't figure out which one is the handle from OpenProcess
a
by reseting a bool that
isn't wrapped by PyQt). The same applies to MacOS.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
ses. One of the main points of Qt is that it runs
equally well on all platforms.
To the OP, get wxPython and PyQt/Qt for Windows, try them both out and go
with the one that best fits your criteria. There are free, fully
functional, evaluation versions of both Qt and PyQt.
Phil
--
http://mail.python.
nk version of Qt isn't officially supported (the native version is),
although there is a user contributed README.Fink (either with SIP or PyQt,
can't remember which).
Phil
--
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).
Or use the str() builtin.
Phil
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday 12 December 2004 4:11 pm, Michael McGarry wrote:
> Hi,
>
> Do any books cover PyQt?
>
> Michael
http://www.opendocs.org/pyqt/
Phil
--
http://mail.python.org/mailman/listinfo/python-list
>You have the source to Queue.py in your standard library
>folder. Why not throw a few more print statements into
>its __init__ and see what you learn?
Yeah I put some print statements in init and it seems
to complete.
>Are you by any chance running on a new version of the
>Linux kernel, where the
And sorry I got ticked, frustrating week
>And I could help more, being fairly experienced with
>threading issues and race conditions and such, but
>as I tried to indicate in the first place, you've
>provided next to no useful (IMHO) information to
>let anyone help you more than this
This is about 5
>Wow, amazing! Imagine that... asking for elaboration when
>someone posts unclear confusing questions and extraneous
>information. The noive!
I would be happy to elaborate. No one asked to me to elaborate.
I was simply told I didn't give enough information.
I wasn't given an idea of what addition
> 4. The fact that you have a .pyc file instead of a .py
> file very likely has *nothing* to do with any threading
> problem you are facing, so I suggest you get past that mental
> block and look elsewhere.
Well, I tried to make it clear that the ONLY difference between
working and not working was
I have a very strange bug. A thread in a .pyc stops dead.
This program has many threads and queues and has worked
great for months.
One thread listens for UDP messages from other programs,
and puts the messages in listenq.
Procmsgs gets from listenq and for a certain kind of
message creates anoth
> GvR to produce a new-and-improved version.
This thing is very cool, and it will be great for my kids to learn
with, once they're old enough to read. :)
(I even had fun with it myself, spending much more time with it than I
should have!)
Thanks for the great work!
Phil
--
http://ma
On Saturday 04 December 2004 10:30 am, Michael Sparks wrote:
> On Fri, 3 Dec 2004, Phil Thompson wrote:
> ...
>
> > The key is access to the Qt API. If your applications gives the users
> > access to the API then those users are developers and need their own
> > license
s access
to the API then those users are developers and need their own licenses. On
the other hand if the API is sufficiently removed from the Qt API then you
shouldn't have a problem. Your API should restrict itself to extending the
capabilities of your application - the more general p
t for Threads" section in the PyQt documentation.
Phil
> Hey everyone,
>
> Why doesn't this work? The code speaks much more clearly than I do,
> so i shortened it and pasted it below. Running this
> and clicking on 'Break Me' will... freak out the window...
>
&g
This is likely to be a Qt/X setup problem - PyQt doesn't explicitly call
Xrender.
Does your workstation /etc/ld.so.conf contain a line for /usr/X11R6/lib?
Phil
> I have an application importing qt on a linux server and am missing
> something in trying to run it from a workstation v
401 - 452 of 452 matches
Mail list logo