er/index.html>
* Pyphant
<http://www.fmf.uni-freiburg.de/service/Servicegruppen/sg_wissinfo/Software/Pyphant>
So I decided to start another one, some results can be seen here:
http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_animations_screenshots.html
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
hello,
from the manual I read that a bitwise inversion should be done by invert.
But from some experiments I see that not works equally well.
Is this coincidence ?
(The disadvantage of invert is that I've to import operators)
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
e time in the
product with the best intentions,
but unfortunately these programs are not ready for use by others
(specially not for windows users).
I'ld suggest that you download the wxPython demo (with interactive
editor) and see for yourself.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
graphical-canvas-drop
w = self.parent_form.Splitter.GetSashPosition()
x, y = event.GetPoint()
if x > w:
self.Insert_Lib_Object ( self.drag_item, x-w, y+26 )
else :
cheers,
Stef
>
> Erik
>
>
--
http://mail.python.org/mailman/listinfo/python-list
.Net, or Delphi, but I didn't find
> alternatives.
Funny, compared to Delphi-7,
I found the grid in wxPython much richer ;-)
Very easy to add own in place editors,
easy add checkboxes, colorpickers etc into the grid.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
ed in node1, to node 2, etc ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Gary Herron wrote:
> Stef Mientki wrote:
>> hello,
>>
>> I've GUI tree with drag and drop nodes,
>> where each nodes contains a code snippet.
>> Now I want to run one or more branches in that tree,
>> so I enumerate over the nodes and have to run
Thanks, Gary and Dennis,
Dennis Lee Bieber wrote:
> On Thu, 13 Mar 2008 21:35:42 +0100, Stef Mientki
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>
>
>> The result of globals and locals in the file is eaxctly the same and
>> none of
hello,
by accident I typed a double value test,
and to my surprise it seems to work.
Is this valid ?
a = 2
b = 2
a == b == 2
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
taticText
self.Scope_History ,PlotCanvas_History ,self, Real_Time
"""
exec ( Create_GUI ( GUI, 'Plots_Dock' ) )
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
x27;t need brackets and no quotes.
What are others opinion about this ?
thanks,
Stef Mientki
class super_list(list):
pass
def kwadraat ( value ) :
return value * value
x={}
x['frequency']=33
x['functie']=kwadraat
print x['functie'](2)
y = super_list()
y.f
thanks Gabriel,
Gabriel Genellina wrote:
> En Fri, 28 Mar 2008 12:15:45 -0300, Stef Mientki <[EMAIL PROTECTED]>
> escribió:
>
>
>> Passing all kinds of data between objects,
>> I'm looking for an elegant (and simple) way to pack the data.
>> Now i
> print x['functie'](2)
>>>
>>> y = super_list()
>>> y.frequency = 33
>>> y.functie = kwadraat
>>> print y.functie(3)
>>>
>>
>> You don't use y as a list at all - you might as well inherit from
>> object.
> Good point, didn't notice that.
Sorry, not a good point,
by deriving from a list, I get all the list methods for nothing.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Sorry,
although the code example was correct,
the question was wrong.
Stef Mientki
Stef Mientki wrote:
> hello,
>
> Passing all kinds of data between objects,
> I'm looking for an elegant (and simple) way to pack the data.
> Now it looks to me that both the class an
hello,
I wonder if there's something like a module decorator.
I could use it in debugging a large highly dynamical program.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
hello,
I wonder if there's something like a module decorator.
I could use it in debugging a large highly dynamical program.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
Stef Mientki schrieb:
hello,
I wonder if there's something like a module decorator.
I could use it in debugging a large highly dynamical program.
No, there isn't. This has been discussed a while ago:
http://groups.google.de/group/comp.lang.python/browse_thr
)
http://mientki.ruhosting.nl/data_www/pylab_works/pw_signal_workbench.html
cheers,
Stef
bearophileh...@lycos.com wrote:
I use the Python shell daily, plus of course normal editors to edit
python scripts. They both are very useful for different purposes. But
the default interactive shell isn
thing wrong with the above formula.
thanks
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
( self.Value )
line = line [:2] + line [2:].upper()
return line
btw, I'm a hardware guy too, and therefor I've never understood why the
hex function returns lowercase ;-)
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
find the answer there
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
:
line = hex ( self.Value )
line = line [:2] + line [2:].upper()
return line
__str__ = __repr__
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Marc 'BlackJack' Rintsch wrote:
On Fri, 30 Jan 2009 00:25:03 +0100, Stef Mientki wrote:
try this:
class MyRegClass ( int ) :
def __init__ ( self, value ) :
self.Value = value
def __repr__ ( self ) :
line = hex ( self.Value )
line = line [:2] + line [2:].upper()
thanks Matthew,
for the extended answer
and the great link,
I'm going to study that carefully.
cheers,
Stef
MattBD wrote:
On Feb 1, 12:19 pm, Stef Mientki wrote:
IMHO, scripting languages like Python are generally better suited to
working with a text editor than an IDE.
I
IMHO, scripting languages like Python are generally better suited to
working with a text editor than an IDE.
I don't understand that, because in my opinion yields
IDE = texteditor + (much) more
please could you explain (as I'm very interested in user interfaces in
general )
ch
tabase wrapper ?
Are there any alternatives ?
I don't know if it matters:
but for the short term it's only for desktop applications,
but in the future I'll certainly want to move to web based databases.
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Chris Rebert wrote:
On Sun, Feb 1, 2009 at 2:56 PM, Stef Mientki wrote:
hello,
Until now I used a simple wrapper around pysqlite and pyodbc to manage my
databases.
Now I'm looking for a better solution,
because I've to support a (for this moment) unknown database,
and I'm
DE, but can be used as a
standalone tool on any OS, might be what your looking for
http://mientki.ruhosting.nl/data_www/pylab_works/pw_code_editor.html
you can find the code here
http://code.google.com/p/pylab-works
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
and something even easier:
http://mientki.ruhosting.nl/data_www/pylab_works/pw_gui_support.html
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
. Most of these are dedicated game engines but this is
all i can find
Panda 3D
OGRE
Soya 3D
VTK
Cystal Space
CG Kit
SciPy
Maya ?
Blender ?
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
. Most of these are dedicated game engines but this is
all i can find
Panda 3D
OGRE
Soya 3D
VTK
Cystal Space
CG Kit
SciPy
I forgot:
pySoy
Intensity
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
e lot of files,
I wonder if there's a simple trick to point
/usr/share/tinybldLin/
to my directory ?
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Alec Schueler wrote:
On Feb 11, 7:58 pm, Stef Mientki wrote:
As there are a whole lot of these lines, in a whole lot of files,
I wonder if there's a simple trick to point
/usr/share/tinybldLin/
to my directory ?
thanks,
Stef
Find and replace?
well I was thinking of a
nd maintaining a GUI
builders,
it might be better to choose another solution.
btw, the idea I used, can be seen here]
http://mientki.ruhosting.nl/data_www/pylab_works/pw_gui_support.html
and the code can be found here
http://code.google.com/p/pylab-works/downloads/list
cheers,
Stef
--
http://mai
be the same as mutable ?
( The type of connection need not be a standard Python type,
but might be any type created by the user. )
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
thanks Diez,
Diez B. Roggisch wrote:
Stef Mientki schrieb:
hello,
I'm making a virtual machine,
in which (small) pieces of software (called bricks) are connected,
by connecting an output of a brick to the input of another brick.
A connection between 2 bricks may be of any type,
so it
have bounced in this problem before me ;-)
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
ith a modified flag ?
Or are there other solutions to detect easily a directory change ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
On Sun, 23 Nov 2008 01:18:17 -0800, bearophileHUGS wrote:
Stef Mientki:
I would like to detect if a dictionary has been changed. So I would
like to have a modified-flag.
A solution is of course to create a SDict class, that works like a
normal dict
too difficult.
Does anyone has a better solution ?
thanks,
Stef Mientki
# ***
# ***
def Get_PDB_Windows_Filename ( FileName ) :
"""
On
Martin v. Löwis wrote:
Does anyone has a better solution ?
If you have pythonwin, you can use win32file.FindFilesW, passing
the lower-cased file name.
Thanks Martin,
seems to work great.
cheers,
Stef
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
odify flag.
thank you all for the contributions.
Paul and "bearophile", you talks about "functional" languages and
balanced trees are a bit too high for my knowledge,
all though the program in which I need this is a functional language
environment and based on dataflow programmi
be more useful for me.
I use Python's own triple quoted string as a generator for the GUI, like
this:
GUI = """
self.NB ,wx.Notebook ,style = wx.NO_BORDER
self.Grid ,Base_Table_Grid ,None, data_values, data_types, data_defs
Panel2 ,PanelVer, 11,name
None-type (if that's possible),
with a dummy Skip() method.
Is it wise to do ?
If not what are the disadvantages ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
guess Python is missing some kind of CSS ;-)
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Jason Scheirer wrote:
On Nov 26, 11:40 am, Terry Reedy <[EMAIL PROTECTED]> wrote:
Stef Mientki wrote:
hello,
I've the idea that I always have a lot of useless code in my programs,
like the next example.
def _On_Menu_File_Open ( self, event = None ):
reted by the database program, before it's executed.
But as far as we know there are no restrictions on the VBS.
So it should be possible to do the real work in Python.
How can I call Python from within VBS ?
I googled, but didn't find any relevant pages (probably used the wrong
words).
9 (today's
date).
Are there any modules which could be helpful here ?
os
I don't have much literature on py, and the manual is a little hard to
follow to me as a beginner, so I'm asking your help.
os.makedirs ( path )
cheers,
Stef
I'd appreciate any advice you can giv
IDE's ?
thanks,
Stef Mirntki
--
http://mail.python.org/mailman/listinfo/python-list
there standard ways to find the docs for the above programs,
or is it pure random where these files are located ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Scott David Daniels wrote:
Stef Mientki wrote:
The debugging ability of the Komodo IDE is _significantly_ better than
the freely available debuggers. If you like the Komodo Editor, you'll
love the debugger.
hi Scott, can you tell us, > why Komodo debugger is better than
PyScripter
lost. Many cows were killed. Many chickens were eaten in those
wars.
Don't we have something like a poll to solve this peacefully ?
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
like
different things, especially when it comes to editors.
+1
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
hello,
I'm very satisfied about the great standardization of doc strings in python.
Now in contrast to that,
the general documentation of libraries,
either in plain text, html, pdf, chm, ...
doesn't have a standarized name nor location.
Why is that ?
thanks,
Stef Mient
Chris Rebert wrote:
On Mon, Dec 1, 2008 at 1:22 PM, Stef Mientki <[EMAIL PROTECTED]> wrote:
hello,
I'm very satisfied about the great standardization of doc strings in python.
Now in contrast to that,
the general documentation of libraries,
either in plain text, html, pdf, chm,
e commercial packages,
even if the product, is technical speaking, much better ?
Well I still have some hope,
the recently published MatPlotLib documentation / galery is a good example.
just my 1 cent (considering there's a recession),
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
check winpdb / rpdb2,
cheers,
Stef
On 12/3/08, alex23 <[EMAIL PROTECTED]> wrote:
> On Dec 3, 2:19 am, Kevin D. Smith <[EMAIL PROTECTED]> wrote:
>> I have a fairly large python program that, when a certain combination
>> of options is used, hangs. I have no idea where
hello,
I want to give a small beep,
for windows there's message-beep,
and there seems to be something like " curses" ,
but that package seems to be totally broken in P2.5 for windows.
Any other suggestions ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Rainy wrote:
On Dec 6, 3:40 pm, Stef Mientki <[EMAIL PROTECTED]> wrote:
hello,
I want to give a small beep,
for windows there's message-beep,
and there seems to be something like " curses" ,
but that package seems to be totally broken in P2.5 for windows.
Any other
Chris Rebert wrote:
On Sun, Dec 7, 2008 at 1:27 AM, Stef Mientki <[EMAIL PROTECTED]> wrote:
Rainy wrote:
On Dec 6, 3:40 pm, Stef Mientki <[EMAIL PROTECTED]> wrote:
hello,
I want to give a small beep,
for windows there's message-beep,
and there seems to
ly) lengthy and contentious process required to add
something to the Python system libraries, where would be the next best
place for this sort of simple OS abstraction layer?
Well I would love to try it,
why not already attach it to this list ?
cheers,
Stef
Thanks,
- Joe
--
http://mail.python.org/m
; Simply change these lines in Jon's program:
>
> Main[9, 512, 4] to Main[9, 512, 4.]
>
> and it will run faster.
>
Who said Mathematica was a high level language ?
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
s guy in the junk filter,
in may of this year he (or it) started the same discussion.
Stef
--
http://mail.python.org/mailman/listinfo/python-list
s always
import numpy
or
from numpy import *
is always at the start of the program, so it doesn't belong to the
functional code ?
And for those who use VPython (and thus needs " from visual import *" )
can simply do
a = norm ( v )
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
h all the extra speed provided by c++ (a
Hello World! ?)...
Still no reply from cm_gui, he must have googled "C hello world" :D
or cm_gui is slow,
btw I thought r was a statistic package ;-)
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
--
http://
nform
- tell the applications mainform, that some wxpanel is the parent
I use this to dock VPython in wxPython.
Is there a similar solution for Linux ( and Mac) ?
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
ntervals,
or when one questionnaire is completely finished.
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
read about this issue acouple of weeks ago, look for
"how to get a beep, OS independent ?"
The best way seems to use something like PyGame.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
;m no expert at all (but as an exercise I'm just now writing an EDIF-v2
to SystemC converter in Python) ,
I wonder why I only see comparison with VHDL and SystemVerilog,
and not with SystemC ?
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
hello,
Is there a function to remove escape characters from a string ?
(preferable all escape characters except "\n").
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
On Thu, 25 Dec 2008 11:00:18 +0100, Stef Mientki wrote:
hello,
Is there a function to remove escape characters from a string ?
(preferable all escape characters except "\n").
Can you explain what you mean? I can think of at least four alternati
uences?
Just a windows guy,
or maybe better, "being a windows guy for many years",
windows users are wysiwyg users, they are not dealing with individual bits.
I personally left escape sequences and values of ASCII characters behind
me more than 25 years ago.
And now maybe you might understand note 1) and note 2) .
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
On Dec 27, 12:05 am, Stef Mientki wrote:
Yep, chr(254), because it's not in the human range of characters
and it's accepted by windows ini-files.
import unicodedata as ucd
for i in (0,1,2,3,4,7,8):
...s = chr(254)
...enc = '
Steven D'Aprano wrote:
On Sat, 27 Dec 2008 01:41:40 +0100, Stef Mientki wrote:
Sorry if I offended someone, that was certainly not my intention. And I
guess you will be surprised, if I tell you, I don't (want) to understand
any bit of the above code ;-) Come on, the home co
hello,
I'm running scripts, with the execute function (Python 2.5),
and it seems that triple quoted strings are not allowed.
Is there a workaround,
or is this a fundamental problem of the exec-function ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
ibpe...@gmail.com wrote:
On Dec 30, 2:48 pm, Steve Holden wrote:
Stef Mientki wrote:
hello,
I'm running scripts, with the execute function (Python 2.5),
and it seems that triple quoted strings are not allowed.
Is there a workaround,
or is this a fundamental probl
going on in the gui,
as I see the gui just a tool to control the real data.
For a pretty high level data manipulation,
something like PyLab_Works ?
http://code.google.com/p/pylab-works/
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Maybe VPython (Visual) or Panda fits your needs.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
nd out that it's already all
there in Qt 4.4: QGraphicsScene/QGraphicsView
- etc.
I think wxPython now has it all too.
I replaced wxOGL with a modified version of OGLlike, see some
screenshots here:
http://mientki.ruhosting.nl/data_www/pylab_works/pw_animations_screenshots.html
cheers,
Stef Mientki wrote:
hello,
I'm running scripts, with the execute function (Python 2.5),
and it seems that triple quoted strings are not allowed.
Is there a workaround,
or is this a fundamental problem of the exec-function ?
thanks,
Stef Mientki
thanks for all the answers,
but I still
be open source replacement for MatLab + LabView.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
/pw_manual.pdf
I'm now trying to make an installation,
and hope to release an alfa version in the next couple of weeks)
cheers,
Stef
Blubaugh, David A. wrote:
Stef,
May I see your open-source version of a combined Matlab + Labview
program? Is there a website, I may visit??
Thanks,
David Blu
module is imported (and it's code is executed) and
when a module
reaches it's end. I now realize that by calling a global function at the
end of each module,
that in the debug mode writes a line to a log file.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
take a look at winpdb (which has no relation with Windows-OS !!
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
Stef Mientki wrote:
hello,
I'm not familiar with Linux / Ubuntu,
still trying to get my application working under these operating systems.
I've a script "file_support.py",
now when I'm in Ubuntu, open a command window and go to the direct
asize the problem,
I found the difference between Win and Linux:
In windows "shell=True" and in Linux "shell=False"
PID = subprocess.Popen( arguments,
cwd = cwd ,
stdout = subprocess.PIPE,
stderr = subprocess.PIPE,
ript "file_support" is executed correctly,
but the python interpreter is not closed,
I've to close it manual by pressing ENTER.
What should I change ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
uot; almost perfect IDE" ;-)
I also know of others who are doing the same at this moment,
building other "almost perfect IDE's ".
For now I use PyScripter and SPE in that order.
cheers,
Stef
Thanks in advance,
Steve P
--
http://mail.python.org/mailman/listinfo/python-list
--
http://mail.python.org/mailman/listinfo/python-list
printer PDF
could not be created
(python:10896): GnomePrintCupsPlugin-WARNING **: The data for the CUPS
printer PDF could not be loaded.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
hence the warnings.
Thanks Chris,
it must one of the (standard) Python libraries I use.
Although it's not a big issue,
is there a simple solution to prevent this warning ?
cheers,
Stef
Cheers,
Chris
--
http://mail.python.org/mailman/listinfo/python-list
ory were I started the application
- relative to the current working directory
- relative to the module that is doing the import
- relative to the module that called the global function
I would be pleased if someone could enlighten me,
because this information is hard to find.
thanks,
Stef Mient
and develop new
replacements in a more open, cross-platform language, like Python.
Sorry but for GUI design, Python is pre-historic ;-)
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Dotan Cohen wrote:
2008/10/19 Stef Mientki <[EMAIL PROTECTED]>:
Sorry but for GUI design, Python is pre-historic ;-)
Stef
Really, even with the cross-platform Qt bindings?
I skipped Qt because of the weird license
(I make both commercial and free-open software)
Can you rec
Dotan Cohen wrote:
2008/10/19 Stef Mientki <[EMAIL PROTECTED]>:
Dotan Cohen wrote:
2008/10/19 Stef Mientki <[EMAIL PROTECTED]>:
Sorry but for GUI design, Python is pre-historic ;-)
Stef
Really, even with the cross-platform Qt bindings?
I skippe
Francesco Bochicchio wrote:
Il Sun, 19 Oct 2008 10:34:23 +0200, Stef Mientki ha scritto:
...
I'm very
satisfied with Python, and must say it's much more beautiful language
than Delphi, seen over the full width of programming. Although both
languages are Object Oriented, for som
? if on a network drive
I'm interested what you all use for this kind of problem.
And I wonder why there isn't a standard solution / library in Python
available.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
mina2020 wrote:
what has this todo with Python ?
Avant Browser allows users to browse multiple Web sites simultaneously
and to block all unwanted pop-up pages and Flash ads automatically.
The integrated cleaner helps users clear all traces and maintain
privacy. The built-in Yahoo and Google searc
bpaths of the
main-application,
but you triggered me to put a warning in my code if I go outside the
application path.
Another application I've in mind, is a data manager (now written in Delpi),
in which I organize all my information: docs, websites, measurement data
etc.
Others, thank you
se I can't) the syntax error
disappears.
I can place the function either as a class method or as a normal
function outside the class,
which both works well.
But I want the method / function not to be hidden.
Why does the above syntax error appear ?
Are there other ways to hide the function ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Bruno Desthuilliers wrote:
Stef Mientki a écrit :
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>, Dotan
Cohen wrote:
I often see mention of SMBs that either want to upgrade their Windows
installations, or move to Linux, but cannot because of inhouse VB
apps.
Pr
301 - 400 of 722 matches
Mail list logo