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
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
I get all ODBC databases in a platform independant way ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
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
,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
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.
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
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
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',
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
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
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 ?
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
As inspect returns the following:
(['target', 'base'], None, None, ('.',))
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
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
arted ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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&
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
/mailman/listinfo/python-list
pdfCreator does the job.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
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
~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
> 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
pass the commandline parameters correctly,
without explicitly specifying the python interpreter ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
code I've ever written, too...
thanks Trent,
that's really beautiful !!
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
().
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
so I only have to know 1
kind of syntax)
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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.
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
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
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
debuggers.
And certainly I've still to read some more docs about the debuggers.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
://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.
ay ( Python 2.5 ) ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Linux ;-)
e.g. PyScripter can do that, don't know your other demands
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
help information is not an option.
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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 :-)
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
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
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
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
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
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
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
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
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
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
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
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
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 (
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.
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
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
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
decryption tool that can be used by
non-crypto-maniaks.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
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
#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
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
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
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
7;One time import code'
def functional_code () :
print 'Functional Code'
any comment ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
501 - 600 of 722 matches
Mail list logo