that such problems will be resolved when I release the remote debugging
facility, which
should happen quite soon.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Bjoern Schliessmann wrote:
Stef Mientki wrote:
- in Delphi the GUI design itself is done in a graphical
environment, making it much easier and faster
RAD possible with Python, too.
- auto-scaling of components on a form is very easy (so if the
user changes form size ..)
Just
,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
:
- is there a way to limit the number of nodes ?
- pycallgraph. nodes are non-information
(maybe you can find another way to place your signature ;-)
- how do I exclude modules/files/objects (sorry I'm still a newbie in Python)
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
will explain the rest
Delphi is a (dying) proprietary, MS-Windows-only[1] software relying
on a low-level language.
Well it may be dying,
but for the moment it beats Python with a factor of 10,
when it comes to user (the majority of PC users) friendly GUI ;-)
cheers
Stef Mientki
--
http
Gerald Kaszuba wrote:
Hi
I've just released the first version of Python Call Graph. I haven't
tested it too much so don't expect it not to crash :)
An example of its output is:
http://pycallgraph.slowchop.com/files/examples/mongballs-client.png
It's easy to use... you just need
,
a simple 2 dimensional array of features would become too large ;-)
Maybe a first split would be the required OS ?
Next split could be editor-features and IDE features ?
just some thoughts,
of a some months old newbie,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
On Feb 6, 11:01 pm, Stef Mientki [EMAIL PROTECTED]
wrote:
BBands wrote:
No, no, no, this is not an invitation to the editor wars.
I have been using José Cláudio Faria's superb
Tinn-R,http://www.sciviews.org/Tinn-R/,
with the R language,http://www.r-project.org
limodou wrote:
Maybe you can try ulipad.
thanks,
although it doesn't look bad,
and it certainly must have been a huge job doing this with Tcl/Tk,
I don't think it can compete with PyScripter,
except on Linux ;-)
succes,
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python
coupling
- the most promising combination is Python+Modelica, some seem to have it workin
- and there's another one, can't remember
as an exercise I tried to build a PIC simulator, works, but it is slow.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
these features and much more.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
don't see any advantage.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
invisible to me ;-)
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Jussi Salmela wrote:
Stef Mientki kirjoitti:
Is it possible to change the searchpath for modules on the flight,
under winXP ?
What do you mean by *on the flight*: inside IDLE? using the command line?
No, I run Python, embedded from within a Delphi program.
Most preferred is some command
from the Delphi interface,
both Idle and PyScripter reflect a change PYTHONPATH after a restart.
But my Delphi program needs a reboot :-(
I'll ask around in the Python4Delphi newsgroup.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
/index.htm
It has one major disadvantage for newbies,
if a message without the proper tag arrives,
it is blocked and can be manual added to the list by the moderator.
cheers,
(and sorry for all the stupid newbie posts,
which probably is not of your interest ;-)
Stef Mientki
--
http
Just a note, If you run the module from different location, it may not
always work.
The '..' is relative to the location you are running the module from,
the current directory, and not relative to the location of the module is
at.
thanks for the tip Ron,
I didn't realized .. was literal
Is it possible to change the searchpath for modules on the flight,
under winXP ?
Most preferred is some command to extend the searchpath.
(the environment variable PYTHONPATH needs a reboot)
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
If I create a large array of data or class,
how do I destroy it (when not needed anymore) ?
Assign it to an empty list ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
James Stroud wrote:
Stef Mientki wrote:
If I create a large array of data or class,
how do I destroy it (when not needed anymore) ?
Assign it to an empty list ?
thanks,
Stef Mientki
It will be gc'd when you leave the scope or you can call del() to
explicitly get rid of the object
The M-point triangular window. == old help text
Is that possible ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
a system (based on Python) for which no knowledge of
Python is needed.
When they put the cursor on the name of a function (in some pre-processing
language, preferably
something like LabView), the help text will be shown automatically in a
separate window,
without typing any commands.
cheers,
Stef
of complex circuits, can do without
such a simulation :-(
But still I see a good practical use of it, for educational and debugging
purposes,
if you would implement one of those small micro-controllers (e.g. PIC).
succes,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
don't know if there's already something touchable ;-)
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
only the higher version of a certain package ?
Is that done by simply copying them ?
Should I make a backup (of what) ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Any text editor is only as good as the
programmer who uses it. ;)
Yes but an IDE is different ;-)
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Jarek Zgoda wrote:
Stef Mientki napisał(a):
Any text editor is only as good as the
programmer who uses it. ;)
Yes but an IDE is different ;-)
Would it make me better Fortran programmer? ;)
I can't judge for you, ...
... maybe you are already at the top ;-)
I can only speak for myself
in direct proportion
to its value.
there a too many (good) IDE's for Python ;-)
maybe we should give them a ranking,
I tried 2 of them, and only was stable enough: PyScripter
http://mmm-experts.com/Products.aspx?ProductID=4
cheers,
Stef Mientki
--
http://mail.python.org
thanks Gabriel
str(key)[7:-2] = key.__name__
I didn't know that one
Nice to see you built a useful tool! It's a great way to learn a language.
Yes, and this group is helping me a whole lot, thanks !
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
to setup a wiki,
but that's too soon to give it a judgement.
cheers,
Stef Mientki
Thx,
Skip
--
http://mail.python.org/mailman/listinfo/python-list
])
print line
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Adam wrote:
Stef Mientki wrote:
hello,
Is there some handy/ nice manner to view the properties of some variable ?
As a newbie, I often want to see want all the properties of a var,
and also some corner values (large arrays) etc.
Probably it's not so difficult,
but I don't see how
and an
array. An array has a shape, a string not etc.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
and something like Enthought edition will be there :) with even more
packages and options :) at least that is my goal for the future :) But
I must say I will also always be carefull with size of the distro :)
thats also important right? :)
Coming from MatLab, that's not the most important
the Enthought-edition ?
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
And tell them about all beautiful things in Python,
but tell them that they are going to loose all their globals ???
It's a feature. Globals are definitively a BadThing(tm).
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Ugly_MatLab_Globals.py
global var1
global var2
/file Ugly_MatLab_Globals.py
all other py-files in the project
import Ugly_MatLab_Globals
def some_function():
import Ugly_MatLab_Globals
/all other files in the project
(btw who owns the BadThing tm ;-)
cheers,
Stef Mientki
--
http://mail.python.org/mailman
?
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Bruno Desthuilliers wrote:
Stef Mientki a écrit :
Bruno Desthuilliers wrote:
stef a écrit :
(snip)
You can explain your collegaes, that
- the startindex of arrays changes from 1 to 0
- slices are upto, instead of including the final border
- indention is thé key
And tell them about all
Steven Bethard wrote:
Stef Mientki wrote:
Not sure I wrote the subject line correct,
but the examples might explain if not clear
[snip]
class pin2:
def __init__ (self, naam):
self.Name = naam
aap2 = pin2('aap2') # seems completely redundant to me.
print aap2.Name
You can
with an empty
statement.
I could write a nonsense dummy statement, like A= 3, but isn't there
another way ?
thanks, Stef Mientki
class device:
def execute (self):
print 'execute not yet implemented for', self.Name
class Power_Supply (device):
def execute (self): ;
--
http
In the example below, pin is an object with a number of properties.
Now I want
1- an easy way to create objects that contains a number of these pin
2- an multiple way to access these pin, i.e.
device.pin[some_index]
device.some_logical_name
ad 1:
a dictionary (as pinlist in the
class Power_Supply(device):
pinlist = {
0: ('GND', _DIG_OUT, _par2),
1: ('VCC', _DIG_OUT, _par33)
}
I may be confused about what you're after, but wouldn't something
like this work? (I don't know what a _par2 object is; I've named
it something here.)
Jussi Salmela wrote:
Bruno Desthuilliers kirjoitti:
Stef Mientki a écrit :
In the example below, pin is an object with a number of properties.
Now I want
1- an easy way to create objects that contains a number of these pin
2- an multiple way to access these pin, i.e.
device.pin
Stef Mientki wrote:
Jussi Salmela wrote:
Bruno Desthuilliers kirjoitti:
Stef Mientki a écrit :
In the example below, pin is an object with a number of properties.
Now I want
1- an easy way to create objects that contains a number of these pin
2- an multiple way to access these pin, i.e
= pin2('aap2') # seems completely redundant to me.
print aap2.Name
print 'aap2'
Can this be achieved without redundancy ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
If I call a parameterless function without brackets at the end,
the function is not performed, but ...
I don't get an error message ???
Is this normal behavior ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Hope this helps,
thanks You all guys,
It's perfectly clear to me now !
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
thanks again,
for all your fast and very adequate responses !!
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
What's the difference between using __init__ and using nothing,
as the examples below.
Python-1
class cpu:
PC = 4
Python-2
class cpu:
def __init__:
self.PC = 4
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Marc 'BlackJack' Rintsch wrote:
In [EMAIL PROTECTED], Stef Mientki wrote:
What's the difference between using __init__ and using nothing,
as the examples below.
class cpu:
PC = 4
This is a *class attribute*. It's the same for all instances of `cpu`.
class cpu:
def __init__
: ('MOV', function1, ...),
2: ('ADD', function2, ),
3: ('MUL', class3.function3, )
}
def function1
# do something complex
Is this possible ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
that out.
Thanks Gary and Grant,
this principle really works like a charm.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
an unwanted issue in software.
But in the meanwhile I've reading further and I should replace that by
some other great things:
- the very efficient way, comment is turned into help information
- the (at first sight) very easy, but yet quit powerfull OOPs implemetation.
cheers,
Stef Mientki
--
http
I'm not sure about SciPy,
Yes SciPy allows it too !
but lists in standard Python allow this:
array = [1, 2, 3, 4]
array[2:5]
[3, 4]
That's generally a good thing.
You're not perhaps by origin an analog engineer ;-)
cheers,
Stef Mientki
--
http://mail.python.org/mailman
Mathias Panzenboeck wrote:
A other great thing: With rpy you have R bindings for python.
forgive my ignorance, what's R, rpy ?
Or is only relevant for Linux users ?
cheers
Stef
So you have the power of R and the easy syntax and big standard lib of
python! :)
--
Doran, Harold wrote:
R is the open-source implementation of the S language developed at Bell
laboratories. It is a statistical programming language that is becoming
the de facto standard among statisticians.
Thanks for the information
I always thought that SPSS or SAS where thé standards.
Stef
I think of SAS and R as being like airliners and helicopters --
I like that comparison,...
.. Airplanes are inherent stable,
.. Helicopters are inherent not-stable ;-)
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
) input,
it also detects rising edges.
Probably a stupid question,
but I still have troubles,
digging to huge amount of information about Python.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
functions available, like a simple mean
- reducing datatype if it's allowed (booleans of 1 byte)
thanks for all your help,
probably need some more in the future,
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Erik Johnson wrote:
but it's still not quit handy
# initialization file (init1.py)
import time;
xx = 44
# main file was
print xx
x=time.time()
# main file should become
print init1.xx
x=init1.time.time()
so even for the standard functions like time I've to include the
preceeding
I want to return a simple variable from a function,
not using the function result.
Is that in any way possible ??
The code below is from O'Reilly, Learning Python,
and there seems no way
to return a simple var like z in the example below.
Is that true ?
thanks,
Stef Mientki
Python
def
Carsten Haese wrote:
On Thu, 2006-12-28 at 15:28 +, Paul Hummer wrote:
You'd have to either pass the variables by reference into the function, [...]
In Python, all function calls are call by reference. Period. The key
difference between Python and other programming languages is in the
,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
very clumsy to
run line by line in the command line interpreter.
Is there a way to run the initialization code from a script(file) once,
to achieve the same effect ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
# initialization file (init1.py)
import time;
xx = 44
# main file was
print xx
x=time.time()
# main file should become
print init1.xx
x=init1.time.time()
so even for the standard functions like time I've to include the
preceeding module init1 :-(
cheers,
Stef Mientki
--
http://mail.python.org/mailman
expressions are easy to write,
but can be almost impossible to read back !
I once had a program to generate and evaluate regular expressions,
but can't find it anymore :-(
If someone has links to regex generators/evaluators,
I'ld be much obliged.
cheers.
Stef Mientki
--
http://mail.python.org
#1 What type of file is the file? Is it a movie, image, or text
document?
In the Windows world, one simply looks at the file extension (e.g. .gif,
.avi, .txt, etc.) and hopes that it is correct.
or simply use TRID:
http://mark0.net/soft-trid-e.html
Stef Mientki
--
http://mail.python.org
601 - 668 of 668 matches
Mail list logo