Re: looking for open source simulink clone in python

2008-02-24 Thread Stef Mientki
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

invert or not ?

2008-03-01 Thread Stef Mientki
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

Re: wxPython/wxWidgets ok for production use ?

2008-03-10 Thread Stef Mientki
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

python-list@python.org

2008-03-10 Thread Stef Mientki
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

Re: wxPython/wxWidgets ok for production use ? (was Re: Quality assurance in Python projects containing C modules)

2008-03-11 Thread Stef Mientki
.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

how to pass the workspace ?

2008-03-11 Thread Stef Mientki
ed in node1, to node 2, etc ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: how to pass the workspace ?

2008-03-13 Thread Stef Mientki
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

Re: how to pass the workspace ?

2008-03-14 Thread Stef Mientki
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

Is this valid ?

2008-03-19 Thread Stef Mientki
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

Re: wxFormBuilder

2008-03-20 Thread Stef Mientki
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

class or inherited list ?

2008-03-28 Thread Stef Mientki
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

Re: class or inherited list ?

2008-03-28 Thread Stef Mientki
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

Re: class or inherited list ?

2008-03-28 Thread Stef Mientki
> 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

Class or dictionary ? (was: class or inherited list ?)

2008-03-28 Thread Stef Mientki
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

is there something like a module decorator ?

2009-01-18 Thread Stef Mientki
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

is there something like a module decorator ?

2009-01-18 Thread Stef Mientki
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

Re: is there something like a module decorator ?

2009-01-18 Thread Stef Mientki
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

Re: A different kind of interface

2009-01-22 Thread Stef Mientki
) 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&#

why is this invalid b = a += b ?

2009-01-24 Thread Stef Mientki
thing wrong with the above formula. thanks Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: verilog like class w/ bitslicing & int/long classtype

2009-01-29 Thread Stef Mientki
( 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

Re: verilog like class w/ bitslicing & int/long classtype

2009-01-29 Thread Stef Mientki
find the answer there cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: verilog like class w/ bitslicing & int/long classtype

2009-01-29 Thread Stef Mientki
: line = hex ( self.Value ) line = line [:2] + line [2:].upper() return line __str__ = __repr__ cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: verilog like class w/ bitslicing & int/long classtype

2009-01-30 Thread Stef Mientki
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()

Re: what IDE is the best to write python?

2009-02-01 Thread Stef Mientki
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

Re: what IDE is the best to write python?

2009-02-01 Thread Stef Mientki
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

database wrapper ?

2009-02-01 Thread Stef Mientki
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

Re: database wrapper ?

2009-02-02 Thread Stef Mientki
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

Re: what IDE is the best to write python?

2009-02-03 Thread Stef Mientki
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

Re: wxPython vs Glade?

2009-02-09 Thread Stef Mientki
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

Re: Best 3d graphics kit for CAD program???

2009-02-09 Thread Stef Mientki
. 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

Re: Best 3d graphics kit for CAD program???

2009-02-09 Thread Stef Mientki
. 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

hpw to convert a linux python script ?

2009-02-11 Thread Stef Mientki
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

Re: hpw to convert a linux python script ?

2009-02-11 Thread Stef Mientki
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

Re: is there a project running (GUI Builder for Python ) ?

2009-02-12 Thread Stef Mientki
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

how to detect if an object is "simple" (not a pointer, unmutable ) ?

2009-02-17 Thread Stef Mientki
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

Re: how to detect if an object is "simple" (not a pointer, unmutable ) ?

2009-02-17 Thread Stef Mientki
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

can error messages be improved or can they be overridden ?

2009-02-22 Thread Stef Mientki
have bounced in this problem before me ;-) thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

how to detect if a dictionary has been modified ?

2008-11-23 Thread Stef Mientki
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

Re: how to detect if a dictionary has been modified ?

2008-11-23 Thread Stef Mientki
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

Windows, filename in right case, can it be done simpler ?

2008-11-23 Thread Stef Mientki
too difficult. Does anyone has a better solution ? thanks, Stef Mientki # *** # *** def Get_PDB_Windows_Filename ( FileName ) : """ On

Re: Windows, filename in right case, can it be done simpler ?

2008-11-23 Thread Stef Mientki
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

Re: how to detect if a dictionary has been modified ?

2008-11-23 Thread Stef Mientki
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

Re: Getting in to metaprogramming

2008-11-25 Thread Stef Mientki
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

Is it possible (and wise) to extend the None-type ?

2008-11-26 Thread Stef Mientki
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

Re: Is it possible (and wise) to extend the None-type ?

2008-11-26 Thread Stef Mientki
guess Python is missing some kind of CSS ;-) cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible (and wise) to extend the None-type ?

2008-11-26 Thread Stef Mientki
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 ):

is it possible to integrate Python into VBS ?

2008-11-26 Thread Stef Mientki
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).

Re: Making directories with python

2008-11-29 Thread Stef Mientki
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

Re: Debugging in Python

2008-11-29 Thread Stef Mientki
IDE's ? thanks, Stef Mirntki -- http://mail.python.org/mailman/listinfo/python-list

how to find help/doc files ?

2008-11-29 Thread Stef Mientki
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

Re: Debugging in Python

2008-11-29 Thread Stef Mientki
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

Re: Emacs vs. Eclipse vs. Vim

2008-11-29 Thread Stef Mientki
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

Re: Emacs vs. Eclipse vs. Vim

2008-12-01 Thread Stef Mientki
like different things, especially when it comes to editors. +1 cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Why doesn't doc has predifined name and location ?

2008-12-01 Thread Stef Mientki
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

Re: Why doesn't doc has predifined name and location ?

2008-12-01 Thread Stef Mientki
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,

Re: Mathematica 7 compares to other languages

2008-12-01 Thread Stef Mientki
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

Re: Debugging a Python Program that Hangs

2008-12-03 Thread Stef Mientki
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

how to get a beep, OS independent ?

2008-12-06 Thread Stef Mientki
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

Re: how to get a beep, OS independent ?

2008-12-07 Thread Stef Mientki
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

Re: how to get a beep, OS independent ?

2008-12-07 Thread Stef Mientki
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

Re: how to get a beep, OS independent ?

2008-12-08 Thread Stef Mientki
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

Re: Mathematica 7 compares to other languages

2008-12-10 Thread Stef Mientki
; 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

Re: Python is slow

2008-12-10 Thread Stef Mientki
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

Re: Mathematica 7 compares to other languages

2008-12-11 Thread Stef Mientki
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

Re: Python is slow

2008-12-16 Thread Stef Mientki
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://

how to dock another application under Linux ?

2008-12-18 Thread Stef Mientki
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

Building a web questionnaire, can it be done in Python ?

2008-12-19 Thread Stef Mientki
ntervals, or when one questionnaire is completely finished. thanks, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Beep

2008-12-21 Thread Stef Mientki
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

Re: Why MyHDL?

2008-12-23 Thread Stef Mientki
;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

Is there a function to remove escape characters from a string ?

2008-12-25 Thread Stef Mientki
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

Re: Is there a function to remove escape characters from a string ?

2008-12-25 Thread Stef Mientki
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

Re: Is there a function to remove escape characters from a string ?

2008-12-26 Thread Stef Mientki
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

Re: Is there a function to remove escape characters from a string ?

2008-12-26 Thread Stef Mientki
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 = '

Re: Is there a function to remove escape characters from a string ?

2008-12-27 Thread Stef Mientki
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

Triple quoted string in exec function ?

2008-12-30 Thread Stef Mientki
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

Re: Triple quoted string in exec function ?

2008-12-30 Thread Stef Mientki
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

Re: embedding python in wxpython

2008-12-30 Thread Stef Mientki
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

Re: Graphics Library with Standard Interaction Features, 2D and 3D

2008-12-31 Thread Stef Mientki
Maybe VPython (Visual) or Panda fits your needs. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Easy-to-use Python GUI

2009-01-01 Thread Stef Mientki
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,

Re: Triple quoted string in exec function ?

2009-01-02 Thread Stef Mientki
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

Re: When Python should not be used?

2008-10-06 Thread Stef Mientki
be open source replacement for MatLab + LabView. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: When Python should not be used?

2008-10-06 Thread Stef Mientki
/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

Re: ANN: python-aspects 1.2 released

2008-10-09 Thread Stef Mientki
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

Re: python debugger tips?

2008-10-10 Thread Stef Mientki
take a look at winpdb (which has no relation with Windows-OS !! cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Launching scripts in Ubuntu ?

2008-10-14 Thread Stef Mientki
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

Re: Launching scripts in Ubuntu ?

2008-10-14 Thread Stef Mientki
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,

Launching scripts in Ubuntu ?

2008-10-14 Thread Stef Mientki
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

Re: IDE Question

2008-10-15 Thread Stef Mientki
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

PDF warning under Ubuntu and Fedora

2008-10-15 Thread Stef Mientki
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

Re: PDF warning under Ubuntu and Fedora

2008-10-15 Thread Stef Mientki
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

(relative) import trouble, sometimes it works, sometimes it doesn't ...

2008-10-18 Thread Stef Mientki
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

Re: Porting VB apps to Python for Window / Linux use

2008-10-19 Thread Stef Mientki
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

Re: Porting VB apps to Python for Window / Linux use

2008-10-19 Thread Stef Mientki
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

Re: Porting VB apps to Python for Window / Linux use

2008-10-19 Thread Stef Mientki
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

Re: Porting VB apps to Python for Window / Linux use

2008-10-19 Thread Stef Mientki
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

What's the perfect (OS independent) way of storing filepaths ?

2008-10-19 Thread Stef Mientki
? 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

Re: a new brawser (avant) it is very very good

2008-10-19 Thread Stef Mientki
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

Re: What's the perfect (OS independent) way of storing filepaths ?

2008-10-19 Thread Stef Mientki
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

Don't understand syntax error: unqualified exec is not allowed ..

2008-10-20 Thread Stef Mientki
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

Re: Porting VB apps to Python for Window / Linux use

2008-10-20 Thread Stef Mientki
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

<    1   2   3   4   5   6   7   8   >