thanks Peter,
for your perfect explanation, and
By the way, looping over a dictionary destroys its key advantage, O(1)
lookup. Use
# untested
if attr in self.extra_setters:
self.extra_setters[attr](value)
else:
self.__dict__[attr] = value
and something similar in __getattr__().
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 ...
... why is this allowed ??
thanks,
Stef Mientki
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
Trent Nelson wrote:
I have the need to occasionally translate a single word
programatically. Would anyone have a Python script that
would let me do this using Google (or another) translation
service?
As a matter of fact, yes, I do! This happens to be my most favourite piece of
Python
packages,
but 8 of the 10 other packages are already in ETS ???
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
Rick Muller wrote:
On Apr 19, 2:44 pm, globalrev [EMAIL PROTECTED] wrote:
www.vpython.orgmight be what you are looking for.
Except, if I'm not mistaken, vpython isn't a web framework. It would
work if I wanted to write some python scripts and have other people
run them, but I want
Rune Strand wrote:
On Apr 10, 3:54 am, Chris Stewart [EMAIL PROTECTED] wrote:
...
Next, what would you say is the best framework I should look into?
I'm curious to hear opinions on that.
GUI-programming in Python is a neanderthal experience. What one may
love with console scripts
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_Works.py
But the problem is that I need to give
the commandline parameters correctly,
without explicitly specifying the python interpreter ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
,
but the second issue certainly is not.
I'm right now working on a Labview like editor in Python,
which does obey the demand for flatness of information.
The first results can be seen
here:http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_animations_sc...
cheers,
Stef Mientki
noahwatkins wrote:
I'll start my question by describing my desired result. I will
construct a GUI which will be used to open a Python script. I would
then like to be able to display the Python script, execute it, and
highlight the lines of the Python as they are executing.
More technically,
://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_animations_screenshots.html
cheers,
Stef Mientki
And you are going to teach them Java? Oh, please don't. Let the
colleges torture them. :=)
--
http://mail.python.org/mailman/listinfo/python-list
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.frequency = 33
y.functie = kwadraat
print
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 it looks to me that both the class and the inherited list
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 and the inherited list,
performs
sturlamolden wrote:
I just discovered wxFormBuilder. After having tried several GUI
builders for wx (including DialogBlocks, wxGlade, XRCed, Boa
constructor), this is the first one I can actually use.
To use it wxFormBuilder with wxPython, I generated an xrc resource and
loaded it with
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
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 them mentions 'NewVar' and 'beer'
The result
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 something like this:
execfile ( node1 )
execfile ( node2
Gilles Ganault wrote:
On Mon, 10 Mar 2008 11:27:06 -0400, Malcolm Greene
[EMAIL PROTECTED] wrote:
Any suggestions on an alternative Python client-side GUI library (pyQT
?) or tips on where I can find out more about wxPython/wxWidget
problems?
One thing that bothers me is that it seems like
in node1, to node 2, etc ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Stefan Behnel wrote:
Malcolm Greene wrote:
My personal experience with wxPython has its ups and downs. Specifically
when it comes to crashes, I wouldn't bet my life on it.
I'm new to Python and getting ready to build a small client based
application intended to run on Windows and
Eric von Horst wrote:
Hi,
I need some advice on DragDrop.
What I want to achieve is the following:
- I have a window that is divided in two : on the left hand I
have a wx.TreeCtlr and on the other hand a wx.StaticBitmap
I want to be able to drag an item from the tree onto the
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
[EMAIL PROTECTED] wrote:
Does anyone know of something like this? I've searched to no avail.
GNUradio companion is promising but tied to gnuradio.
not exactly, this is what I've found until now
* Orange http://magix.fri.uni-lj.si/orange/screenshots.asp
* Elefant
hello,
I wonder if anyone has (good ;-) experiences with Python on a PDA ?
And if so,
- what OS
- what GUI
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Traceback (most recent call last):
File multicolor.py, line 11, in ?
File pylab.pyc, line 1, in ?
File matplotlib\pylab.pyc, line 222, in ?
File matplotlib\backends\__init__.pyc, line 24, in pylab_setup
File matplotlib\backends\backend_tkagg.pyc, line 7, in ?
ImportError: No
hi John,
John Henry wrote:
Anybody willing to help?
I struggled the past few days with the same problem,
and with the help of Werner Bruhin (wxPython list) I found a solution.
I had 2 problems:
- not finding mpl datapath
- matplotlib insisted on installing backends that were distorted on
Blubaugh, David A. wrote:
Bill,
Let me first say that my FPGA experiences are of the following nature:
1.) Developed control algorithms onto a FPGA that were utilized to
control a switch-reluctance motor (three-phase as well six-phase).
2.) I am currently in the process of developing
!
But to be honest, I don't like LabView very much and would love to see
an open source alternative !
succes,
cheers,
Stef Mientki
David Blubaugh
-Original Message-
From: Stef Mientki [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 1:25 PM
To: python-list
of standard scripts on the web ?
Just curious.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
be careful, _ is thé translation function used in Il8N, Il10N
localization / internationalization
e.g.
print _( hello )
cheers,
Stef
[EMAIL PROTECTED] wrote:
Ruby has a neat little convenience when writing loops where you don't
care about the loop index: you just do n.times do { ... some
Blubaugh, David A. wrote:
To All,
I have been evaluating the python environment ever more closer. I
believe I can interface python with a development environment known as
the ImpulseC environment. The ImpulseC environment develops C to VHDL
for FPGA development. I would especially
Gabriel Genellina wrote:
En Wed, 23 Jan 2008 16:16:58 -0200, Stef Mientki
[EMAIL PROTECTED] escribió:
Yes, that's a small disadavantage of using a high-level language,
where there's no flush available, and you assume it'll done
automatically ;-)
Uhm, there is a flush method for Python's
,
see some demos here (watch the demo at the bottom first):
http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_animations_screenshots.html
(you can contact me offline if PyLab_Works looks interesting to you).
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
and all problems are solved.
cheers,
Stef Mientki
I almost asked if you were making sure you had flushed the data to the
file...oh well.
Yes, that's a small disadavantage of using a high-level language,
where there's no flush available, and you assume it'll done
Mike Driscoll wrote:
On Jan 17, 3:56 pm, Stef Mientki [EMAIL PROTECTED] wrote:
hello,
I've a program (not written in Python) that generates a few thousands
bytes per second,
these files are dumped in 2 buffers (files), at in interval time of 50 msec,
the files can be read by another
Mike Driscoll wrote:
On Jan 22, 3:35 pm, Stef Mientki [EMAIL PROTECTED] wrote:
Mike Driscoll wrote:
On Jan 17, 3:56 pm, Stef Mientki [EMAIL PROTECTED] wrote:
hello,
I've a program (not written in Python) that generates a few thousands
bytes per second
Heiko Niedermeyer wrote:
Sorry for the fuzzy subject...
Currently I'm writing a little programm to extract some chemical
information out of a text file, and then present it in a pleasant way.
The Extraction works so far, so now the presentation will be next.
As I'm learning Python from
behaviour, sometimes it works, and the data
is collected each 50 .. 100 msec,
sometimes 1 .. 1.5 seconds is needed to detect a change in filesize.
I'm using python 2.4 on winXP.
Is there a solution for this problem ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
thanks Mike,
with your links I managed to write some code that seems to work well.
Still I stay surprised that these kind of functions are not available ;-)
cheers,
Stef
[EMAIL PROTECTED] wrote:
On Jan 9, 3:22 pm, Stef Mientki [EMAIL PROTECTED] wrote:
hello,
I'm trying to convert
( file, abspath )
print line
but it only covers files on local disk and just 1 link per line,
so I guess it's a lot of trouble to catch all cases.
Isn't there a convenient function for (OS independent preferable) ?
Googled for it, but can't find it.
thanks,
Stef Mientki
--
http
this works correct:
def _func (x,y): return (1- x/2 + x**5 + y**3)*exp(-x**2-y**2)
2. an emtpy line at the end also generates an exception
Is this behavior correct ?
where should I find information about it ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Robert Kern wrote:
Stef Mientki wrote:
hello,
I had a program that worked perfectly well.
In this program modules were dynamically added,
just by putting the file in a predefined directory.
Now one of the interface mechanisms was to see if some parameter was
changed in a an instance
Gabriel Genellina wrote:
En Tue, 01 Jan 2008 16:39:21 -0200, Stef Mientki [EMAIL PROTECTED]
escribi�:
I find 2 strange behaviors in exec-function,
and I can't find anything in the documentation.
(Python 2.4.3 Enthought edition)
1. A function definition may not span more than 1 line
[EMAIL PROTECTED] wrote:
Greetings,
I was wondering if there was a python Module/Library out there that
handles some trajectory/physics stuff like moving an object along a
straight path in an X,Y 2D (or 3D) plane or calculating parabolic
arcs. I'd really settle for just the moving of an
??
And in general, how complex might a list be to make a valid comparison,
or what are the rules ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Markus Gritsch wrote:
On 25/12/2007, Tim Roberts [EMAIL PROTECTED] wrote:
Ross Ridge [EMAIL PROTECTED] wrote:
Chris Mellon [EMAIL PROTECTED] wrote:
What the python installer is doing is the Right Thing for making the
standard python dll available to third party
Gabriel Genellina wrote:
On 18 dic, 15:54, Stef Mientki [EMAIL PROTECTED] wrote:
having a lot of trouble installing 2.5 (without affecting my stable 2.4),
I wonder why there's only a msi installer for windows users ?
What's your problem? I have five versions installed (2.1, 2.3, 2.4,
2.5
Martin v. Löwis wrote:
having a lot of trouble installing 2.5 (without affecting my stable
2.4),
I wonder why there's only a msi installer for windows users ?
What's your problem? I have five versions installed (2.1, 2.3, 2.4,
2.5 and svn) and they coexist peacefully. Just make sure when
nested
lists, represented by a string.)
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
hello,
having a lot of trouble installing 2.5 (without affecting my stable 2.4),
I wonder why there's only a msi installer for windows users ?
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
I finally found a way to let everything work:
My base system is a stable Scipy installation, based on Python 2.4,
with a few extra or updated libraries.
This Python installation is completed with RPYC and PyScripter,
to form a good workplace to develop GUI through wxPython.
Installing of a
to 2.4.
Is there a safe way to install Python 2.5,
without affecting the Python 2.4 version and the windows registry,
on windows XP ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
(The number of lines written by the user will be at most 20 lines)
Is this a good approach ?
If so, how can I execute each line separate ?
If not, what other approach should I use ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
librray file.
So I would like to move this statement to the base-class-file,
but I can't figure out how to accomplish that.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Francesco Pietra wrote:
It is true that suggestions may arrive from all directions. Nonetheless, this
extremely useful list is so crowded that if checking email is not carried out
every few hours, it is difficult to detect other messages in the plethora of
pythons and spams arrived. What
Peter Decker wrote:
On Nov 28, 2007 7:22 PM, stef mientki [EMAIL PROTECTED] wrote:
print 'xx3',ordered_list.sort()
The sort() method returns None. It sorts the list in place; it doesn't
return a copy of the sorted list.
Thank you all for the answers,
I do understand now,
although I
Hrvoje Niksic wrote:
Stef Mientki [EMAIL PROTECTED] writes:
although I find it rather non-intuitive.
I didn't expect a copy, but a reference to itself wouldn't be asked
too much ?
If you didn't expect a copy, why rely on the return value? You could
simply continue using the sorted list
What am I doing wrong ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
alf wrote:
Hi,
I wonder why it is an invalid syntax:
if 1: if 1: if 1: print 1
File stdin, line 1
if 1: if 1: if 1: print 1
or
if 1: for i in range(10): print i
File stdin, line 1
if 1: for i in range(10): print i
I would expect one could nest :
(Shape): (self, x=20, y=20, x2=90, y2=90,
type='rect' ):
class Shape(ShapeEvtHandler): (self, x=[], y=[]):
class ShapeEvtHandler: ()
within 1 file would be enough.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
description shows a more complex
signal organization.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
description shows a more complex
signal organization.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
hello,
I would like to use instance parameters as a default value, like this:
class PlotCanvas(wx.Window):
def __init__(self)
self.Buf_rp = 0
self.Buf_wp = 0
def Draw ( self, x1 = self.Buf_rp, x2 = self.Buf_wp ) :
is something like this possible ?
thanks,
Stef Mientki
Chris Mellon wrote:
On Nov 1, 2007 3:18 PM, stef mientki [EMAIL PROTECTED] wrote:
hello,
I would like to use instance parameters as a default value, like this:
class PlotCanvas(wx.Window):
def __init__(self)
self.Buf_rp = 0
self.Buf_wp = 0
def Draw ( self, x1
names ;-)
like this:
dc.SetClippingRegion ( self._point2ClientCoord (p1, p2 ) )
Now that doesn't work, because
- dc.SetClippingRegion() requires 4 integer parameters
- _point2ClientCoord() returns a tupple of 4 integers
I can't think of a solution,
is there any ?
thanks,
Stef Mientki
thanks Duncan, Matthieu and Ed (offlist),
this is exactly what I was looking for.
cheers,
Stef
Duncan Booth wrote:
stef mientki [EMAIL PROTECTED] wrote:
hello,
The next piece of code bothers me:
ptx, pty, rectWidth, rectHeight = self._point2ClientCoord (p1, p2
Paul Hankin wrote:
On Oct 19, 5:38 pm, stef mientki [EMAIL PROTECTED] wrote:
... snip hand-coded debugger
I couldn't come up with a better solution ;-)
Does pdb not suffice?
thanks very much Paul,
Never heard of that before,
I looked it up, just 1 page in my book of 500 pages
much for this and other answers.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
On Fri, 19 Oct 2007 18:38:06 +0200, stef mientki wrote:
I don't have pointers, I've just names (at least I think). Let me
explain a little bit more,
I want to simulate / debug a user program, the user program might look
like this:
x = 5
for i in xrange(10
1 signal.
for value in signals :
do something
As this meant for real-time signals, I want it fast, so (I think) I
can't afford extensive testing.
Any smart solution there ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
On Fri, 19 Oct 2007 16:19:32 +0200, stef wrote:
Well I'm not collecting data, I'm collecting pointers to data.
I beg to differ, you're collecting data. How that data is to be
interpreted (a string, a number, a pointer...) is a separate issue.
This
'wrong',type(ini)
Why is that ?
What should I do to the same simple test for existance ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
I want to view my own namespace,
i.e. to see the modules namespace in the module itself,
is that possible ?
I can use
dir()
but I read dir is just a convenience function,
and besides I want key/value pairs.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Robert Kern wrote:
stef mientki wrote:
I want to view my own namespace,
i.e. to see the modules namespace in the module itself,
is that possible ?
I can use
dir()
but I read dir is just a convenience function,
and besides I want key/value pairs.
vars() will give you
and not to the
individual.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
are complex items, no problem, I get pointers and
can access them.
But if these variables are simple, like integers, I get the value only
once ;-)
How can I create of dynamic pointers, even to simple variables ?
Or is there a better way ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman
in the subdir1) ??
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Larry Bates wrote:
stef mientki wrote:
hello,
my program has become a bit large,
and now I want to split the files over several subdirectories.
So in the example shown below, I just moved the files f1.py and f2.py to
a deeper subdirectory.
basedirectory\
mainfile.py
file1.py
I finally found out what was wrong:
stef mientki wrote:
hello,
I'm trying to launch a windows application,
but as many others on this list, I've some trouble.
I read some other threads about this topic,
but sorry, I still don't understand all this (never heard of pipes).
When I use
Nicholas Bastin wrote:
On 10/3/07, stef mientki [EMAIL PROTECTED] wrote:
hello,
I'm trying to launch a windows application,
but as many others on this list, I've some trouble.
I read some other threads about this topic,
but sorry, I still don't understand all this (never heard of pipes
hello,
is there a library to kill a windows process by name ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Adam Pletcher wrote:
Take a look at killProcName.py, in the win32 extension package.
- Adam
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf
Of stef mientki
Sent: Friday, October 05, 2007 4:40 PM
To: python-list@python.org
Subject
Yu-Xi Lim wrote:
stef mientki wrote:
cmd =[]
cmd.append ( 'D:\\PIC-tools\\JALxxx\\jalv2_3.exe' )
cmd.append ( '-long-start' )
cmd.append ( '-d')
cmd.append ( '-clear' )
cmd.append ( '-sD:\\PIC-tools\\JAL\\libs2' )
cmd.append (
'd:\\pic-tools\\jal\\programs\\test_rs232
Matimus wrote:
stef mientki wrote:
hello,
I'm trying to launch a windows application,
but as many others on this list, I've some trouble.
I read some other threads about this topic,
but sorry, I still don't understand all this (never heard of pipes).
When I use a batch file, I can
application launched from the batchfile is run perfectly.
Now when I try to run the same windows application from Popen or call,
nothing happens (or at least it's very fast and produces not the
expected output).
Please enlighten me, preferable in windows-terminology ;-)
thanks,
Stef Mientki
yadin wrote:
if i were up to make a GUI chich are the advantages of choosing python
over matlab or java?
As MatLab has a very lousy GUI,
any other language would be an advantage ;-)
The best is Delphi,
second is VB,
then comes SciLab, Python, etc
I don't know where Java fits in.
But as
Thomas Dybdahl Ahle wrote:
Den Sun, 23 Sep 2007 17:28:38 +0200 skrev stef mientki:
yadin wrote:
if i were up to make a GUI chich are the advantages of choosing python
over matlab or java?
The best is Delphi,
second is VB,
That sounds mostly like a personal
Diez B. Roggisch wrote:
stef mientki schrieb:
Thomas Dybdahl Ahle wrote:
Den Sun, 23 Sep 2007 17:28:38 +0200 skrev stef mientki:
yadin wrote:
if i were up to make a GUI chich are the advantages of choosing python
over matlab or java
Phil Thompson wrote:
On Sunday 23 September 2007, stef mientki wrote:
Diez B. Roggisch wrote:
stef mientki schrieb:
Thomas Dybdahl Ahle wrote:
Den Sun, 23 Sep 2007 17:28:38 +0200 skrev stef mientki:
yadin wrote:
if i were up to make
hello,
Why does Configparser change names to lowercase ?
As Python is case sensitive (which btw I don't like at all ;-)
but now when really need the casesensitivity,
because it handles about names which should be recognized by human,
it changes everything to lowercase
thanks,
Stef Mientki
. I think a
general rule of (any form of) writing is to write with your audience in
mind. I always do that and happily, that audience is usually naked.
Wouldn't Mathematica, Maple or MathCad be a far better choice ?
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python
Certainly, but again: Such main people are not the intended audience.
The code is for people that know how to read these equations. I think
a general rule of (any form of) writing is to write with your audience
in mind. I always do that and happily, that audience is usually naked.
a contradiction with
self-documenting-names ;-)
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
J. Cliff Dyer wrote:
Dotan Cohen wrote:
FIrst of all, how is the % symbol (as in 70%6=4) called in English?
Second, in Turbo C -111%10=-1 however in python -111%10=9. Is one or
the other in error? Is this a known gotcha? I tried to google the
subject however one cannot google the symbol
Thomas Jollans wrote:
On Tuesday 14 August 2007, stef mientki wrote:
hello,
I've the idea that the else syntax is not always handled correctly,
or I'm overlooking something.
This pieces of code are automatic translation from another language,
sometimes it works, sometimes it doesn't
isn't assigning anything or am I missing something.
Now if I remove X = X + 1 I don't get an error ???
Is this a problem of the traceback procedure or the IDE,
or is Python not completely an interpreter, that reads line by line ???
Please explain this to me.
thanks,
Stef Mientki
--
http
401 - 500 of 668 matches
Mail list logo