Getting metadata from any database ?

2008-07-05 Thread Stef Mientki
ragma statements. Is there a similar way for odbc ? (Couldn't find anything in API 2.0 specs) (mxODBC is not option because my project is an open source project) thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: sage vs enthought for sci computing

2008-07-07 Thread Stef Mientki
tally to Python, and I'm working on a Labview like environment for Python. hopes that helps, cheers, Stef Thanks! -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list

find all ODBC databases ?

2008-07-08 Thread Stef Mientki
I get all ODBC databases in a platform independant way ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: ActiveState Code: the new Python Cookbook site

2008-07-09 Thread Stef Mientki
on python-list or on the site's feedback form: one small remark, If I want to browse 200 recipes, at 10 per page ... please make something like 100 available per page, are internet is fast enough nowadays. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Why is there no GUI-tools like this for Windows?

2008-07-12 Thread Stef Mientki
,name = "Page2" window1 ,wx.Window window2 ,wx.Window """ exec ( Create_wxGUI ( GUI ) ) cheers, Stef Is there not something like this for Python/Windows? Is the Linux one only for ruby or for any language? Oh well im switching to Linux anyway a

Babelfish translation ...

2008-07-17 Thread Stef Mientki
abel.SetLabel ( translation ) I'm using Python 2.5 and wxPython. Probably I should use a separate thread, but that's above my knowledge. I could also use a timer to check at regualr intervals when the translation is ready, but I've no idea how to implement that with the above code.

Re: Babelfish translation ...

2008-07-17 Thread Stef Mientki
thanks Stefan, both lxml and threading works perfect. One small problem, "with_tail" was not recognized as a valid keyword. cheers, Stef Stefan Behnel wrote: Stef Mientki gmail.com> writes: Although it works functionally, it can take lots of time waiting for the transla

Re: Rotating a cube

2008-07-20 Thread Stef Mientki
as "x + 4*y + 16*z" ? no, but ... I don't think the notation is so strange, in electronics (and others) I'm used to a 2-dimensional complex notation: vector = 3 + 4*i = 3*x +4*y but although my English isn;t very well, a "cube of 4*4" looks strange to

Is this possible ....

2008-07-23 Thread Stef Mientki
hello, I'm looking for a way to remove duplicate code. The problem is this: In all my modules I've version information, containing version information, date, author, testconditions etc, something like this: Version_Text = [ [ 0.2, '10-02-2008', 'Stef Mientki',

Re: Is this possible ....

2008-07-23 Thread Stef Mientki
thanks Paul, your solution works very well. cheers, Stef Paul Hankin wrote: On Jul 23, 9:58 am, Stef Mientki <[EMAIL PROTECTED]> wrote: You could use version() instead of module.version(), and just declare 'version' in one place. Presumably you already have a module

how to upload files to "google code" filesection ?

2008-07-26 Thread Stef Mientki
hello, In a program I want to download (updated) files from google code (not the svn section). I could find a python script to upload files, but not for downloading. Anyone has a hint or a solution ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: how to upload files to "google code" filesection ?

2008-07-28 Thread Stef Mientki
Mike Driscoll wrote: On Jul 26, 12:43 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: hello, In a program I want to download (updated) files from google code (not the svn section). I could find a python script to upload files, but not for downloading. Anyone has a hint or a solution ?

Re: how to upload files to "google code" filesection ?

2008-07-28 Thread Stef Mientki
Mike Driscoll wrote: Stef, Mike Driscoll wrote: On Jul 26, 12:43 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: hello, In a program I want to download (updated) files from google code (not the svn section). I could find a python script to upload files, but n

Is it allowed to use function results as default arguments ?

2008-07-28 Thread Stef Mientki
As inspect returns the following: (['target', 'base'], None, None, ('.',)) thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it allowed to use function results as default arguments ?

2008-07-29 Thread Stef Mientki
checked it, it's already a constant ;-) and because I use afterwards: os.path.abspath('.'') which is identical to os.path.getcwd() about '.' being the current directory, well I think windows was thrown at the market about 25 years ago, and since then we don't use

some kind of trace facility ?

2008-08-09 Thread Stef Mientki
arted ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

eval or execute, is this the (most) correct way ?

2008-08-11 Thread Stef Mientki
hat in 2.5 (I just updated to) the doc is already disapeared, is this no longer possible in Python 3 ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: eval or execute, is this the (most) correct way ?

2008-08-11 Thread Stef Mientki
Steven D'Aprano wrote: On Mon, 11 Aug 2008 17:26:56 +0200, Stef Mientki wrote: I'm trying to make an editor with an integrated Shell. ... Is this the (most) correct / elegant way, or are there better solutions ? The best solution is not to re-invent the wheel: &q

Re: Eclipse, Python, wxPython and code completion

2008-08-11 Thread Stef Mientki
ment. In the IDE I use (under winXP), sometimes the wx dictionairy is available, sometimes it's not. It's totally unclear to me why this happens, but I noticed that it helps, to import the wx library as one of the very first import statements. cheers, Stef Thanks a lot Note: I&

Re: eval or execute, is this the (most) correct way ?

2008-08-11 Thread Stef Mientki
lobal and local namespace (which is essential for me) I read somewhere that exec is going to disappear, That's not true. exec stops being a statement, and becomes a function (like print). That's good to hear, as I already didn't realize it could also be used as a sta

Re: export sites/pages to PDF

2008-08-12 Thread Stef Mientki
/mailman/listinfo/python-list pdfCreator does the job. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Python in High School

2008-04-02 Thread Stef Mientki
al environment that makes it more easy, color, shape and position can give some extra information though. I think apriori domain knowledge and flattness of information are of far more importance. The first issue is covered quit well by Robolab / Labview, but the second issue certainly is n

Re: Python in High School

2008-04-03 Thread Stef Mientki
~mientki/data_www/pylab_works/pw_animations_sc... >> >> >> cheers, >> Stef Mientki >> >> >>> And you are going to teach them Java? Oh, please don't. Let the >>> colleges torture them. :=) >>> > > What do

Re: displaying execution of Python code

2008-04-03 Thread Stef Mientki
> and perform actions (e.g. line number currently executing) as the code > executes. > > Thanks, > Noah > start with the wxPython demo, I guess you find all you need in there. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

win-shortcuts, file associates and command-line parameters ?

2008-04-10 Thread Stef Mientki
pass the commandline parameters correctly, without explicitly specifying the python interpreter ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: How is GUI programming in Python?

2008-04-11 Thread Stef Mientki
label11 ,wx.StaticText ,label = "Signal1b" label12 ,wx.StaticText ,label = "Signal2b" Panel_B ,wx.Panel Button_1 ,wx.Button ,label = "Test" Button_2 ,wx.Button ,label = "Test2", pos = (100,0) """ exec ( Create_wxGUI ( GUI ) ) cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: win-shortcuts, file associates and command-line parameters ?

2008-04-11 Thread Stef Mientki
Gabriel Genellina wrote: > En Thu, 10 Apr 2008 16:03:28 -0300, Stef Mientki <[EMAIL PROTECTED]> > escribió: > > >> under windows I tried to make a shortcut to a py -file, to run a program. >> So making a shortcut like this works perfect: >> D:\PyLab_Work

Re: Frame work for simple physics web applications

2008-04-19 Thread Stef Mientki
ing ? C++, MatLab, LabView perhaps, this looks to me like an unique opportunity to promote Python. > and > distributing updates of all of my scripts. > I'm not familiar with this, but isn't it possible to run scripts from a website locally ? cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Python script to automate use of Google Translate? (or other translator)

2008-04-23 Thread Stef Mientki
code I've ever written, too... thanks Trent, that's really beautiful !! cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

class or class-instance ?

2008-04-28 Thread Stef Mientki
te an instance of that class else do nothing now I should be able to call the above procedure in either of the following ways: somefunction ( someclass ) or somefunction ( someclass () ) thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: class or class-instance ?

2008-04-28 Thread Stef Mientki
There is a isclass in the module inspect. Diez thanks Diez, that's exactly what I was looking for. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

__getattr__ and recursion ?

2008-04-29 Thread Stef Mientki
cated with "<<== 1" I'm not allowed to use for item in self.extra_getters : because it will result in an infinite recursion. But in the line indicated with "<<== 2" , I am allowed ... ... wh

Re: __getattr__ and recursion ?

2008-05-01 Thread Stef Mientki
(). yes, that's probably much better, have to get used to this Python behavior, thanks, cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Browser + local Python-based web server vs. wxPython

2008-05-05 Thread Stef Mientki
so I only have to know 1 kind of syntax) cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

how to reference my own module ?

2008-05-10 Thread Stef Mientki
t these examples can be used in the user program just by copy / paste. For calling a function / class in the user program I've to write: sizer = gui.VBox () So also write exactly the same sentence in the library examples, but "gui" is not recognized Any ideas how I can realiz

Re: Any other UI kits with text widget similar to that in Tk?

2008-05-10 Thread Stef Mientki
iated. Thanks, Ken -- http://mail.python.org/mailman/listinfo/python-list Don't know what the power of tk is, but wxPython has the powerfull Scintilla and a less sophisticated richtext on board. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: how to reference my own module ?

2008-05-10 Thread Stef Mientki
Terry Reedy wrote: "Stef Mientki" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | hello, | | I've a library that I import as | |import ppygui.api as gui | | the reason for this construct is that I've to use different libraries | for different platform

Re: Cannot download SendKeys module

2008-08-14 Thread Stef Mientki
kpd wrote: Same thing here, would greatly appreciate a copy myself. -- http://mail.python.org/mailman/listinfo/python-list here you can find a copy: http://code.google.com/p/pylab-works/downloads/list cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Pre-university student looking to contribute to OS project

2008-08-15 Thread Stef Mientki
ect. You might take a look at PyLab_Works, although I use parts of it as a regular tool, it's in pre-alfa stage and not yet released. http://code.google.com/p/pylab-works/ http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_animations_screenshots.html http://pylab-works.googlecode.c

evaluating code lines above breakpoints ?

2008-08-20 Thread Stef Mientki
idea is to scan the lines, skip keywords, test type of each term ( by eval), if the term is var eval the value of it. Are there better ways ? Another idea, when hoovering over a variable during a breakpoint, a hint appears with the type and value of that var. thanks, Stef Mientki -- http://mail.

Re: evaluating code lines above breakpoints ?

2008-08-21 Thread Stef Mientki
Diez B. Roggisch wrote: Stef Mientki wrote: hello, I'm trying to create a high level debugger, based on rpd2. So when the debugger enters a breakpoint, I want to display the values of all variables in the, let's say, 5 lines above the breakpoint (if possible). Any hints on h

pdb bug and questions

2008-09-04 Thread Stef Mientki
7;s the best way to report these kind of bugs ? Although I mostly use os.path.join to be OS independent, these kind of bugs give me the impression, that I can better do the join myself and always use forward slashes. Is this a valid conclusion ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: pdb bug and questions

2008-09-05 Thread Stef Mientki
R. Bernstein wrote: Stef Mientki <[EMAIL PROTECTED]> writes: hello, I'm trying to embed a debugger into an editor. I'm only interested in high level debugging. The first question is what debugger is the best for my purpose ? (pdb, pydb, rpdb2, smart debugger, extended de

Re: pdb bug and questions

2008-09-05 Thread Stef Mientki
debuggers. And certainly I've still to read some more docs about the debuggers. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython problem

2008-09-06 Thread Stef Mientki
remote machine (not the wxPython remote), and you should set "reset before run flag" or reset the remote machine each time yourself. cheers, Stef More details are shown below. Any help or hints would be greatly appreciated. Regards, Peter RUNNING SIMPLE.PY (AND OTHER SCRIPTS USI

Re: wxpython ms-dos black window popping up in background

2008-09-10 Thread Stef Mientki
lus wx was pretty easy to install in Ubuntu, so that was cool. same with me, wxPython, packed with py2exe + ino setup, runs out of the box on XP, Vista, Ubuntu without any problem. cheers, Stef I can't really comment on other toolkits though. Mike -- http://mail.python.org/mailman/listinf

Re: GUI programming with python

2008-09-12 Thread Stef Mientki
pretty cross-platform. OK, what are my choices for an IDE/GUI development tool that runs on XP? Thanks From Linux guys, I hear that PyScripter is the best, they also want to have it, but unfortunately it only runs under windows ;-) cheers, Stef -- http://mail.python.org/m

Re: Has any one out there ever worked with the Rpyc, which is a remote process call for python

2008-09-13 Thread Stef Mientki
Blubaugh, David A. wrote: To All, Has any one out there ever worked with the Rpyc, which is a remote process call for python? Yes David Blubaugh This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named abo

Re: A service for testing Python code on multiple platforms and versions

2008-09-13 Thread Stef Mientki
fortunately I'm not hindered by any knowledge ;-) cheers, Stef Dave M. -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list

Re: Python GUI for animation

2008-09-16 Thread Stef Mientki
://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_animations_screenshots.html Although it's in alfa stage, I'm using parts of it as a regular tool already. I'm looking for practical application so maybe we could work something out. cheers, Stef Mientki Thank you in advance, V.

How to get the filename in the right case ?

2008-09-25 Thread Stef Mientki
ay ( Python 2.5 ) ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get the filename in the right case ?

2008-09-25 Thread Stef Mientki
Diez B. Roggisch wrote: Stef Mientki wrote: hello, How can I find the correct case of a filename ? Background in my program I use case sensitive filenames, just like Python requires. Now I've integrated pdb into the program, but pdb acts somwhat strange: upon a breakpoint it give

Re: How to get the filename in the right case ?

2008-09-25 Thread Stef Mientki
e, looks like a bad idea to me). And yes I could switch to lowercase in case I'm on a windows machine, but my program is too beautiful to pollute the code with these kind of unnecessary statements ;-) cheers, Stef Diez -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get the filename in the right case ?

2008-09-25 Thread Stef Mientki
OKB (not okblacke) wrote: Stef Mientki wrote: import Module1 d:\data_python_25\pylab_works\module1.py(3)() -> print "hello" (Pdb) Then we know if PDB is really the culprit. So pdb is the problem. Yep, it does the same

Re: How to get the filename in the right case ?

2008-09-25 Thread Stef Mientki
ct case, but not the path. I also looked at os.path.walk, but that's too slow for me, because getting the path correct means I have to start at the root. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get the filename in the right case ?

2008-09-25 Thread Stef Mientki
Fredrik Lundh wrote: Stef Mientki wrote: > 1. I've a multitab editor. > 2. When a breakpoint is reached, > 3. I check if the file specified in pdb output, is already open in one > of the editor tabs, > 4. if not, I open a new tab with the correct file, > 5. I focus the

how to search multiple textfiles ?

2008-09-26 Thread Stef Mientki
task fast ? If it indeed only concerns py-files, is there another way of searching words ? ( I could imagine that such a "py-only-search" would have benefits, because you could set a flag to see the words in comment yes or no ) thanks, Stef Mientki Het UMC St Radboud staat geregistree

Re: How to get the filename in the right case ?

2008-09-26 Thread Stef Mientki
Steven D'Aprano wrote: On Fri, 26 Sep 2008 01:46:15 +0200, Stef Mientki wrote: Secondly thoughtless copying of current behavior, doesn't bring any progress, and I think that's one of the reasons why we're still burdened by inventions done 20 years ago, e.g. "do you

Re: how to search multiple textfiles ? (Python is slow ?)

2008-09-26 Thread Stef Mientki
Mike Driscoll wrote: On Sep 26, 8:35 am, Stef Mientki <[EMAIL PROTECTED]> wrote: hello, I want to search multiple textfiles (python source files) for a specific word. I can find all files, open them and do a search, but I guess that will be rather slow. I couldn't find a

rlcompleter and wxPython, problems ...

2008-09-28 Thread Stef Mientki
as an option, but if I leave the second line out, marker "<<<===" , I get no results. Can someone explain this behavior and maybe even have

Re: how to search multiple textfiles ? (Python is slow ?)

2008-09-29 Thread Stef Mientki
Lawrence D'Oliveiro wrote: In message <[EMAIL PROTECTED]>, Stef Mientki wrote: - Pyscripter 110 sec ( PyScripter is the default IDE I use now) - Delphi 20 .. 35 sec - Findstr 4 sec What order did you try try them in? Did you try each one more than once, in different orde

Would this be called a bug in inspect ?

2008-09-30 Thread Stef Mientki
hello, I'm not familiar with inspect, but I get an error (see below) in getmembers ( wx ) Of course this is bug in wx . But would you also call this a bug in inspect ? (inspect crashes and doesn't continue with th rest of the code, nor it returns the already gathered data) th

Re: rlcompleter and wxPython, problems ...

2008-09-30 Thread Stef Mientki
Gabriel Genellina wrote: En Sun, 28 Sep 2008 19:25:30 -0300, Stef Mientki <[EMAIL PROTECTED]> escribió: I'm trying to implement autocompletion into my editor. But I find some weird behavior, or at least I don't have the faintest idea why this behavior occures, and even more

Re: Would this be called a bug in inspect ?

2008-09-30 Thread Stef Mientki
Gabriel Genellina wrote: En Tue, 30 Sep 2008 14:57:55 -0300, Stef Mientki <[EMAIL PROTECTED]> escribió: I'm not familiar with inspect, but I get an error (see below) in getmembers ( wx ) Of course this is bug in wx . Yes. But would you also call this a bug in inspect ? (insp

Re: rlcompleter and wxPython, problems ...

2008-09-30 Thread Stef Mientki
Gabriel Genellina wrote: En Tue, 30 Sep 2008 16:06:07 -0300, Stef Mientki <[EMAIL PROTECTED]> escribió: Gabriel Genellina wrote: En Sun, 28 Sep 2008 19:25:30 -0300, Stef Mientki <[EMAIL PROTECTED]> escribió: I'm trying to implement autocompletion into my editor. But

Re: Would this be called a bug in inspect ?

2008-09-30 Thread Stef Mientki
Terry Reedy wrote: Stef Mientki wrote: print getmembers ( wx ) crashes but not always: >>> print getmembers (wx) [('ACCEL_ALT', 1), ('ACCEL_CMD', 2), ('ACCEL_CTRL', 2), ('ACCEL_NORMAL', 0), ('ACCEL_SHIFT', 4), ('ADJUST_MIN

Re: decent interactive python shell on MS Windows?

2008-10-01 Thread Stef Mientki
Linux ;-) e.g. PyScripter can do that, don't know your other demands cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

windows help files ?

2008-10-02 Thread Stef Mientki
help information is not an option. thanks, Stef -- http://mail.python.org/mailman/listinfo/python-list

how to find the directory where python is installed ?

2008-10-02 Thread Stef Mientki
hello, how can I determine the location of the Python installation under winXP / Linux, with a Python program ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: how to find the directory where python is installed ?

2008-10-02 Thread Stef Mientki
Timothy Grant wrote: On Thu, Oct 2, 2008 at 12:16 PM, Stef Mientki <[EMAIL PROTECTED]> wrote: hello, how can I determine the location of the Python installation under winXP / Linux, with a Python program ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/pytho

Re: windows help files ?

2008-10-03 Thread Stef Mientki
c ( chm-keyword / html-tag ) - search on google - help from a user defined location ( chm / html / search engine / txt / pdf ) thanks again, cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Is it possible to get the name of an application ?

2008-10-04 Thread Stef Mientki
hello, for a general debug routine, written in some module. I want to write the information to a file, with name derived from the main python file. Is it possible to get the name of the python script started first ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to get the name of an application ?

2008-10-04 Thread Stef Mientki
Gary M. Josack wrote: Stef Mientki wrote: hello, for a general debug routine, written in some module. I want to write the information to a file, with name derived from the main python file. Is it possible to get the name of the python script started first ? thanks, Stef Mientki -- http

Re: Simple GUI design in Python

2008-10-05 Thread Stef Mientki
xkenneth wrote: All, I've posted some slides on my blog (xkenneth.blogspot.com) detailing some simple ways to describe GUI apps in python. Please let me know what you think. Did you look at the pdf file, to me a lot of information is missing :-( cheers, Stef Mientki Regards, Ke

Re: Bored.

2009-11-30 Thread Stef Mientki
itted that needs something ( some even pay a little), but I can't remember where it is :-( cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: Bored.

2009-11-30 Thread Stef Mientki
John Bokma wrote: Stef Mientki wrote: There's also a Python site, were projects are submitted that needs something ( some even pay a little), but I can't remember where it is :-( OP: A Python program to find it :D that was the mind mapper I mentioned :-)

Re: Bored.

2009-12-01 Thread Stef Mientki
Floris Bruynooghe wrote: On Nov 30, 11:52 pm, Stef Mientki wrote: Well I thought that after 2 years you would know every detail of a language ;-) Ouch, I must be especially stupid then! ;-) Sorry if I insulted you Floris! btw, I'm too still learning Python after I star

Re: pyZui - anyone know about this?

2009-12-11 Thread Stef Mientki
d. Will give it a go. \d please let us know when you find more information about the project. thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

how do I set a Python installation as the default under windows ?

2009-12-19 Thread Stef Mientki
hello, I just upgraded from Python 2.5 to 2.6. Most of the things work, but I'm struggling with one issue, when I start Python in a command window, it still uses Python 2.5. Is there a way to get Python 2.6 as my default Python environment ? thanks, Stef Mientki -- http://mail.pytho

Re: how do I set a Python installation as the default under windows ?

2009-12-20 Thread Stef Mientki
Steve Holden wrote: Stef Mientki wrote: hello, I just upgraded from Python 2.5 to 2.6. Most of the things work, but I'm struggling with one issue, when I start Python in a command window, it still uses Python 2.5. Is there a way to get Python 2.6 as my default Python environment ? t

how to go back from 2.6.4 to 2.6.2 under windows ?

2009-12-20 Thread Stef Mientki
2.6.2, but the python and pythonw are still 2.6.4. Why is that so ?? Now assume that a number of packages (because compiled with 2.6.4) will not work correctly with 2.6.2. Is that correct ? So the best way would be to reinstall everything ?? thanks, Stef Mientki -- http://mail.python.o

Re: how to go back from 2.6.4 to 2.6.2 under windows ?

2009-12-20 Thread Stef Mientki
Benjamin Kaplan wrote: On Sun, Dec 20, 2009 at 9:26 AM, Stef Mientki wrote: hello, I've just upgraded my system from Python 2.5 to 2.6.4, and installed the latest packages of a lot of libraries. Now one essential package (VPython) only works with Python 2.6.2. I tried to install P

Re: how to go back from 2.6.4 to 2.6.2 under windows ?

2009-12-20 Thread Stef Mientki
this is the first line on the VPython download page ;-) "To use Visual 5.13 with Python 2.6, use Python 2.6.2, NOT later versions such as Python 2.6.3 or Python 2.6.4 or Python 3.x:" cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

class viewer ?

2010-01-10 Thread Stef Mientki
he class is definied - the attributes, split in inherited / created / overriden - the methodes, split in inherited / created / overriden - the files were instances of the class are created - and probably I forget a few any suggestions ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

user authorization (with one time login) in a Python desktop application ?

2009-09-27 Thread Stef Mientki
ith the username with the highest authorization. So the question remains: Is it possible to create a Python Desktop application, with user authorization, based on the login of the user ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: user authorization (with one time login) in a Python desktop application ?

2009-09-27 Thread Stef Mientki
Tim Golden wrote: Steven D'Aprano wrote: On Sun, 27 Sep 2009 16:11:52 +0200, Stef Mientki wrote: I've a Python desktop application, running under Widows, that stores the data in a central SQLite database. Depending on the user login on the system, some of the data from the d

is there some error crashing reporting

2009-09-28 Thread Stef Mientki
like MadExcept for Delphi http://www.madshi.net/madExceptDescription.htm which catches any error, send an email with the error report and complete system analysis to the author, and continues the program (if possible) thanks, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: is there some error crashing reporting

2009-09-30 Thread Stef Mientki
Stef Mientki wrote: like MadExcept for Delphi http://www.madshi.net/madExceptDescription.htm which catches any error, send an email with the error report and complete system analysis to the author, and continues the program (if possible) thanks, Stef apparently there isn't any such

store encrypted data in sqlite ?

2009-10-02 Thread Stef Mientki
hello, I want to store some fields in an sqlite database. I use ezPyCrypto to encrypt and decrypt: User = ['z684684', 'Mientki, Stef', 1,1,0,1,1 ] encryption_key_1 = ezPyCrypto.key ( 512 ) SQL_Base = 'insert or replace into __USERS__ values (&#x

Re: organizing your scripts, with plenty of re-use

2009-10-03 Thread Stef Mientki
last ideas, here's an idea of what I do: http://mientki.ruhosting.nl/data_www/pylab_works/pw_importing.html cheers, Stef The intent is to have people be able to check out the directly from CVS and have the scripts "just work", even if they're not directly on the PYTHONPATH.

Re: organizing your scripts, with plenty of re-use

2009-10-04 Thread Stef Mientki
Steven D'Aprano wrote: On Sat, 03 Oct 2009 10:24:13 +0200, Stef Mientki wrote: I still don't use (because I don't fully understand them) packages, but by trial and error I found a reasonable good working solution, with the following specifications I find that fascinati

mktime, how to handle dates before 01-01-1970 ?

2009-10-05 Thread Stef Mientki
ecome negative numbers (I'm interested in the age of living people, so that would suffice). Is there a general solution, (other library) or would it be better to handle all dates in the Delphi format (number of days since 1-1-1900 thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: mktime, how to handle dates before 01-01-1970 ?

2009-10-06 Thread Stef Mientki
Stephen Hansen wrote: On Mon, Oct 5, 2009 at 4:54 PM, Stef Mientki <mailto:stef.mien...@gmail.com>> wrote: hello, I want to handle datetime vars in a general way, so I use the default time-format, so I can use the standard cinversion procedures. Personally, I love mx

Re: AES decrypting in Python

2009-10-07 Thread Stef Mientki
decryption tool that can be used by non-crypto-maniaks. cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: mktime, how to handle dates before 01-01-1970 ?

2009-10-08 Thread Stef Mientki
t know your age, but with my age it takes hours to look up my birthday on a windows calender control ;-) cheers, Stef -- http://mail.python.org/mailman/listinfo/python-list

Python 2.5 execfile() works only once, why ?

2009-10-09 Thread Stef Mientki
#x27;ve currently switched to Popen, but can't get output / error piping working fluently. thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.5 execfile() works only once, why ?

2009-10-09 Thread Stef Mientki
thanks Carl, in the mean while I found a good working solution thorugh wx.Execute. cheers, Stef Carl Banks wrote: On Oct 9, 11:15 am, Stef Mientki wrote: hello, I'm working on a kind of IDE, to build and distribute Python programs. One of the parts is editing a build file for py2ex

code in a module is executed twice (cyclic import problems) ?

2009-10-10 Thread Stef Mientki
rom B import * print 'C', My_List Now when you start with B.py as the main program, this is the resulting output: B [3] B [3, 3] C [3, 3] Why is the B.py executed twice ? thanks, Stef -- http://mail.python.org/mailman/listinfo/python-list

Re: code in a module is executed twice (cyclic import problems) ?

2009-10-11 Thread Stef Mientki
DE (PyScripter), (never seeing the m-switch), I never was aware of this important difference. A quick Googling on "python module vs script" doesn't reveal many (good) links, the best one I found is http://effbot.org/zone/import-confusion.htm thanks again, Stef Mientki Stephen Hans

getting equal behavior for scripts and modules ?

2009-10-11 Thread Stef Mientki
7;One time import code' def functional_code () : print 'Functional Code' any comment ? thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list

<    1   2   3   4   5   6   7   8   >