[EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Type sudo easy_install myeggfile.egg.
Sorry for not being clear. I did exec easy_install - no errors so far. But
the egg was still there. I'd expected, that it was converted into .py-files
somehow, which could be imported by my
About a year ago I dev'ed a host app in Python (2.3 at that time) to control
a KUKA KR16 robot. Comm was over OPC. The OPC 2.0 server was inst'ed on the
KRC2. What I was needed to do, was to install the appropriate (i.e. delivere
together w/ the server) client software and to take Mark Hammonds
Terry Reedy wrote:
F. GEIGER [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm on .NET/CLR2.0 and would like to use some stuff from w/i Python. The
Python for .NET file name suggests that CLR1.1 is needed. Is that
right? Any known plans to change this?
Most responders here
I'm on .NET/CLR2.0 and would like to use some stuff from w/i Python. The
Python for .NET file name suggests that CLR1.1 is needed. Is that right?
Any known plans to change this?
Kind regards
Franz GEIGER
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
Franz GEIGER wrote:
When I call the Python interpreter, the Python 2.4.1 version is called,
because I installed it weeks ago from source by myself. That means the
symlink /usr/bin/python points to 2.4. Fine.
Now, when I install Python packages using the convenient
Ganesan Rajagopal wrote:
Franz GEIGER [EMAIL PROTECTED] writes:
Now, when I install Python packages using the convenient Synaptic Package
Manager, everything goes into the 2.3-directory-tree. How can I change
that?
That's because synaptic installs packages compiled for the default debian
[EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
F. GEIGER wrote:
I've def'ed a handler for EVT_IDLE in the app's main frame. There I'd
like
to call the nanothreads' __iter__ method, somehow.
When I copy the __iter__ method into a, say, runOnce() method and call
the
next
Could it be
http://xoomer.virgilio.it/infinity77/eng/freeware.html#speedmeter you are
looking for?
HTH
Franz GEIGER
Andreas Kaiser [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hello,
I'am searching for a python solution for display a tachometer diagram.
I prefer a
Right-click on the Pythonwin icon in the tray and select Break into running
code.
HTH
Franz GEIGER
[EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi All,
(sorry for my bad english)
I wrote a __tiny__ and __stupid__ recursive script directly into
pythonwin
interactive
Just an idea: You could have n data collector threads, that all put their
results into a queue connected to 1 db thread, that stores the results into
the db.
Cheers
Franz GEIGER
Antal Rutz [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi, All!
I'm new to threading. I have
A fetchall() call causes the above error. There must be some non-utf8 chars
in the table in question and - indeed - there very likely are: The table
contains pathnames of files on the harddisk of a German speaking PC.
What I have already done to try to overcome this is:
- Inserted # coding:
For now, the names of the tables, the app knows of, are added into an
internal list, when the app is started. Then, when queries fail, the app
knoes that it has to create them.
It would be nice somehow to be able to ask the database what tables it
contains. Is anyone doing this that way? How do
Gerhard Haering [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
I've completely rewritten the db handling stuff, which formerly did too much
behind the scenes (explicit is better than implicit...). Now everything
looks much better. No unexpected errors and - most important -
In my wxPython-app a part of it gathers data, when a button is pressed, and
stores it into a db.
The GUI part should display the stuff being stored in the db.
When both parts work on the same connection, I get SQL statements in
progress errors. Seems ok to me, you can't do that.
So, next step:
Thank you Gerhard,
Gerhard Häring [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
F. GEIGER wrote:
Arrgh, sorry for that post!
self._dbc.execute(q, data)
where data is None, works with MySQL. For SQLite I have to write
if data is not None
I've troubles to let my app take off using pysqlite.
What I wonder most for now is that pysqlite2.dbapi2.OperationalError:
cannot commit transaction - SQL statements in progress when I do this:
t = time.time()
n = len(self)
while len(self):
del self[0]
Im on Python 2.3.4, using pysqlite 2.0.0 (final).
When I try to execute
self._dbc.execute(q, data)
where q is 'select count(*) from Difflets ' and date is None
I get the following exception:
pysqlite2.dbapi2.ProgrammingError: Incorrect number of bindings supplied.
The current statement uses
Arrgh, sorry for that post!
self._dbc.execute(q, data)
where data is None, works with MySQL. For SQLite I have to write
if data is not None:
self._dbc.execute(q, data)
else:
self._dbc.execute(q)
Sorry again,
Franz GEIGER
F. GEIGER [EMAIL PROTECTED
As Jp asked already: indepenedent from what?
I do such things all the time in a wx-App that controls a 6-axes robot. For
example, there I have a LED-Widget for displaying the actual pos. and
orient. of the tool. In a wxTimer handler I read OPC variables, whose values
are displayed in the
I have built a wxPython prototype of an app, that lets me place rectangles
o a wxPanel, move them and change their size. How the rects are added
and placed has to follow certain rules.
The final goal is to merge this graphical editor into a MFC app.
Converting a standalone wxPython app into a
My DataPool then is a singleton, well, actually, a Borg. See Alex Martelli's
recipe for that. If you use new style classes, then you have to look for
Singleton in the cookbook.
HTH
Franz GEIGER
MyHaz [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
so you run data pool as like a
That's the Visual Basic way to do it.
I prefer it this way:
Controls work on models. If a control has to store a value it does so by
calling MyDataPool.storeMyValue(self.GetValue()).
When the NotebookPage is changed, the new page tells all controls to update
themeselves:
Since Python doesn't have static typing, how is the same result as
traditional
function overloads results in acheived?
The more you program in Python, the less you are missing it.
As Philippe already said, use objects that support the protocol or decide
what to do with it after having
Look at the wx demos.
Another idea: Use a virtual list control. In the OnGetItemText() you could
do the appropriate SQL query. Workedpretty well for me.
HTH
Franz GEIGER
Michele [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
I've search a lot to found how visualize a mysql
vegetax [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
I was a java developer one year ago ,before i moved to python i realy
liked
it at the beggining, but i got very disapointed lately since my
previus two python proyects where relatively big,and python didnt feel
well
Torsten Mohr [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi,
i want to write an application where i need a Table to
display some values.
The table should display a list of objects, so to say,
a column for each attribute of the object.
I'd also like the user to be able
Torsten Mohr [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi,
Do a group-google search for *tkinter table*. That shows up quite a few
hits.
thanks for that hint, but nearly every hit shows the Table of contents
for Tkinter, which is not what i search for.
Do a *group*
Esmail Bonakdarian [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi
I have found ALL of the posts useful, thank you so much.
Please keep them coming! I am learning a lot.
I will probably play a bit with Tkinter and wxPython and see how
each feels, just as Peter Hansen
I'm rather new to high level parsing with lex/yacc (and realy impressed so
far).
I'd like to parse *and execute* files like this:
A=12
B=23
G X=A Y=B Z=34 # Move to X, Y, Z
G Z=0
etc.
No problems so far.
But when loops enter the game, things seem to become more difficult:
A=12
B=23
C=45
D=56
29 matches
Mail list logo