You installed python 2.7 and expect a 2.6 module to work with it.
That won't work. Finally, you need to install the OpenCasCade libs to be able
to run PythonOCC.
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
Dear Steve & Larry,
Both your methods worked flawless, thanks to both of you!
I have to say Larry's way wins on style points, doens't it?
What an awefull thing to get stuck on something that simple, what a
gorgeous solution, thanks so much!
-Jelle
--
http://mail.python.org/ma
Ooops, Larry, forgive me being to overhauled here:
Actually self.RS = RS does not make the RS object available in the
module, Steve's method does however.
-Jelle
--
http://mail.python.org/mailman/listinfo/python-list
why I should pay for software in its early stages,
when it extents on efforts freely available)
Curious for your opinions, I definitely think the Scipy.core effort is
terrific, but right now I'm wondering whether its a pragmatic choice.
-Jelle
--
http://mail.python.org/mailman/listinfo/python-list
han 'python
setup.py build' leaves me at the grace of the non-challenged... SciPy
is a complex software engineering project, so I'm hangin on the mercy
of others here...
Is anyone on this list aware of such a binary?
Thanks,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
n a full SciPy distribution is coming along?
Cheers,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
Claudio,
Thanks a lot for this link!
--
http://mail.python.org/mailman/listinfo/python-list
Doug,
I agree with you, ElementTree is fast & pythonic.
Certainly does make sense to me.
--
http://mail.python.org/mailman/listinfo/python-list
ython? My intention is to apply data mining to the google
desktop database. How about it, who's in for it?
Cheers,
Jelle
--
http://mail.python.org/mailman/listinfo/python-list
Quite suprised while reading the Amazin c2.com Wiki:
http://c2.com/cgi/wiki?FutureOfProgrammingLanguages
Take a look, and feel incredible good about yourself & your decision to
opt for python. Did work for me. Cheers, Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
lt no longer changes.
thanks, jelle.
--
http://mail.python.org/mailman/listinfo/python-list
doh...
https://sourceforge.net/projects/fixedpoint
pardon me
--
http://mail.python.org/mailman/listinfo/python-list
Ah, i see, that clears up the monetary context.
Thank you for your FixedPoint example.
Can i help myself out by mentioning that the most simple things are
always most difficult ;-)
Thanks, Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
>You could probably write your own FixedPoint function without too much
>difficulty, with the only tricky part being for it to know when to
stop!
It would be quite interesting to have this kind of function. But
likely its far from trivial.
FixedPoint seems to be one of the core functions in Mathem
80, in GetActiveObject
dispatch = pythoncom.GetActiveObject(resultCLSID)
com_error: (-2147221021, 'Operation unavailable', None, None)
A com_error is raised. This problem has come up a few times on this
list, however that didn't help me to find a way of connecting to it
way to terminate the subprocess when this message is spitted out to the
console. Searching this forum on subprocess & stderr didn't lead to a
clue to solving this problem. I'm using both win32 & linux to run these
simulations, so a cross-platform way of doing this is important. Any
.0), (28.0, 10.0, 0.0), (20.0, 1.0, 0.0))
I've been searching this list for a solution, but didnt find anything i
could use. Any ideas?
Cheers,
Jelle
--
http://mail.python.org/mailman/listinfo/python-list
No I haven't, it might be an idea.
Would it be an effective method though?
I have little experience working with COM, but i suppose writing an
(VB!) array wouldnt be the most challenging problem, though browsing
through this list it looks like no good solution arrived yet.
Cheers,
Thomas,
No, i went over the syntax extensively. The syntax is
RS.AddCurve(points, degree), so 3 represents the degree of a bezier
curve. I'm doing fine with all types of functions which use 2 x,y,z
coords, but all arrays -tuple of tuples- fail. The odd thing is that
when i use RS.GetPoints() which
Hi Stefan,
Thanks for your insightful and in-depth response!
Wonderful to hear that a solution is in the works, that's absolutely
wonderful news.
If I can help you out beta-testing the PySafeArray implementation, I'd
be delighted to do so. Thanks again, Jelle.
--
http://mail.python.o
erhaps
someone could spare me the effort of finding and compiling v3.3.3?
thank,
jelle
--
http://mail.python.org/mailman/listinfo/python-list
Hi, the recently added boost.graph python binding could be most useful:
http://www.osl.iu.edu/~dgregor/bgl-python/#download
--
http://mail.python.org/mailman/listinfo/python-list
heers, Jelle
--
http://mail.python.org/mailman/listinfo/python-list
martin,
pyformex has a vector module as well.
its not very pythonic, but it could help you out creating a version of
your own.
worth checking out
--
http://mail.python.org/mailman/listinfo/python-list
I think SPE is a terrible complete and efficient IDE!
--
http://mail.python.org/mailman/listinfo/python-list
I think SPE is a terrific IDE, a real pleasure to work with!
Also it's very complete in terms of functionality.
http://stani.be/python/spe/page_download
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm wondering whether anyone is aware of efforts being made wrapping
the CGAL library?
It's a highly advanced computational geometry library, see cgal.org
-j
//any other computational geometry links appreciated...
--
http://mail.python.org/mailman/listinfo/python-list
;d like to overload the .__doc__,
rather than wrapping it in a class.
Cheers,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
Hi Gabriella,
thanks for pointing me in the right direction:
eo.eoTruncatedSelectOne.setup.im_func.func_doc = 'method string goes
here'
works beautifully!
cheers,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
re's
no prior function to refer to.
Thanks,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
elegate arguments in the inherited class. Any ideas?
Thanks,
-jelle
class Abstract(object):
def __init__(self, a='a', b='b'):
self.a, self.b = a, b
print a, b
class Concrete(Abstract):
def __init__(self, a='AAA', b=
Ai, calling super(Abstract) is just getting object, sure...
However, I'm still curious to know if there's a good idiom for
repeating the argument in __init__ for the super(Concrete,
self).__init__ ?
Thanks,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
Ai, calling super(Abstract) is just getting object, sure...
However, I'm still curious to know if there's a good idiom for
repeating the argument in __init__ for the super(Concrete,
self).__init__ ?
Thanks,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
the subject pretty much says it all.
if I check a string for for a substring, and this substring isn't found,
should't the .find method return 0 rather than -1?
this breaks the
if check.find('something'):
do(somethingElse)
idiom, which is a bit of a pity I think.
cheer
>if 'something' in check:
> do(somethingElse)
Tim, you're absolutely right that the above makes far more sense in my case.
Thanks for pointing that out.
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
and processed, but the output of B is not being
piped to C
executing A > B; B > C works as expected however.
Which is disappointing, since what I'm trying to achieve is a sugar
syntax for Popen processes, where directly sees the chain of
commands...
Any suggestions to ove
Hi Christos,
Thanks for your pointers there, impressive to see
-that a 12 year old thread still can make an interesting read
-you being able to remember & trace it... impressive...
Thanks for your pointers.
I think the
input > process > output
Syntax is more powerful , since it would let you buil
y that could be seriously sped up by a proper IDE
(I'm on SPE, thanks Stani!)
Would that make sense to anyone?
cheers,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
y well know how to subclass a class without
(extensively) reading it back?
perhaps a variable doc here and there would make this slightly easier.
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
hints can be appreciated.
a variables doctring should never be longer than 2 lines to be any good
likely.
ok.
3
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
yet-they-will-never-come features of IDEs for python,
as
this would mean that you'd have type-information available on f.
Consider
this simple example:
f = someRandomlyInstatiatedObject()
Now what is e.g. f. to show?
why is this ambigious at all?
am i seriously overlooking somethin
class GeographicCoordinate:
def __init__ (self, lat, long):
self.lat = lat "Latitude in degrees (positive North), per
WGS84"
self.long = long "Longitude in degrees (positive West), per
WGS84"
Thanks for your example Roy, that illustrates well what I'm after:
self.lat
Hi Michele,
Thanks for pointing that out, cool!
I would argue -even- that is too much programming effort.
Like method docstring, variables docstrings should be effortless to
write.
--
http://mail.python.org/mailman/listinfo/python-list
thanks in advance,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
> Whatever it is, you should find a better way instead of cramming
> everything into a single class. That smells of the God Object
> antipattern (http://en.wikipedia.org/wiki/God_object).
Thanks Gerard, I'll take your advice.
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
( 'submethA %r, instance %r'% ( arg, self.inst ) )
class ClsB( object ):
def methA( self, arg ):
self.A= ClsA( self )
print( 'methA %r'% arg )
b= ClsB( )
b.methA( 'this' )
b.A.submethA( 'that' )
Many thanks,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Would someone be able to inform me how a category can be added to the
pypy list of categories?
I'd like to add a CAD & Geometry category.
( I develop PythonOCC, wrappers for the OpenCASCADE CAD kernel, which
is why )
Thanks!
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
The pypi list of categories, sorry...
--
http://mail.python.org/mailman/listinfo/python-list
-journal.org/
.../1926/188/2/WrapITK_-_Enhanced_languages_support_for_the_Insight_Toolkit.pdf
Cheers,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
>
> What's your point? :/
that of making sure before you post and cause public emberassement?
--
http://mail.python.org/mailman/listinfo/python-list
confusing.
So, I was arguing that '_'.find(' ') might return 0, however that is
obviously ambigious, since 0 might be an index as well.
So, perhaps I should rephrase and ask, why if -1 evaluates to True?
I think that's pretty ugly...
cheers,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
Hi Tim,
Well, I this is another idiom in itself, right?
Your checking if something is part of an iterable.
I'm checking truth before entering a conditional expression.
The latter is considered to be pythonic, right?
-jelle
On 10/31/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
&g
. I can't think of a case where it would be prefereble
to have find() return -1 rather than None.
Formally speaking, -1 is an ambigious answer, since a perfectly valid
indice.
the '_'.find(' ') might actually make a nice idiom while parsing for
ignoring irrelevant l
Thanks for your in-depth explanation Tim.
Which is impossible to disagree with!
On 10/31/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> > Well, I this is another idiom in itself, right?
> > Your checking if something is part of an iterable.
> > I'm checking truth before entering a conditional expre
enCASCADE kernel. Consider that complete, since there are a bunch of
modules are obsolete ( WOK, drawing ).
(Binaries are supplied for win32, linux & osx.)
We're starting to work on a high level API, so this is a wonderful moment to
jump on.
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
I perhaps alter it using the new module or __new__ method?
Many thanks in advance,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
y_Polyhedron_3.cpp?rev=167&root
=cgal-python&view=markup
Again, thanks for you help,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
ich a Polyhedron is composed of .
( vertex -> halfedge -> facet -> polyhedron )
> I think so. External module written in C/C++ is often statically linked.
I'm sorry, but I don't follow you; what has linking to do with changing
the behaviour of the compiled module?
Thanks,
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
> Aaron explained it better than I did. Basically the C/C++ module uses
> C/C++ version of Facet class directly without consulting python
> interpreter, this is what I meant by static linking.
Thanks so much for the explanation Lie, I understood it fully now.
Thanks again,
-jelle
2=xmlrpclib.ServerProxy('http://localhost:8000')
>>> print session1.show_random()
13930
>>> print session2.show_random()
13930
>>>
I though that session1 and session2 would be 2 different Randomizer objects
each having a different result for self.random
But a
solver such as abaqus. I'm aware abaqus has a python module
which is great, but is off limits.
Any ideas / references are much appreaciated!
-jelle
--
http://mail.python.org/mailman/listinfo/python-list
lmqkjsfmlqshvquhsudfhqf qlsfh qsduidfhqlsiufh
>>> qlsiuf qldsfhqlsifhqlius dfh warning qlsfj lqshf lqsuhf lqksjfhqisudfh
>>> qiusdfhq iusfh'
>>> re.match('.*(?!warning)',line)
<_sre.SRE_Match object at 0xb75b1598>
I would expect that t
file ">"
##for your info I’m on win/xp,
python 2.3.4
Cheers,
Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
Yikes, how painful, I meant stdOUT > trouble instead of stdin...
Awefully sorry
Cheers,
Jelle
##thanks for pointing that out Denis!
--
http://mail.python.org/mailman/listinfo/python-list
my question is: wouldn't there be some serious synergy in bringing python
& CAML closer together?
##of course this is speculation, I'm not informed well
##enough to make an educated guess
Interested in hearing your thoughts about this matter!
Cheers, Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
learn
Is it in comparison to C?
> Yes, OCAML is very complementary, too much, much too, complementary at
> Python...
>
> But, C is not complementary to Python (in the same state of mind).
So some additional arguments to the hypotheses of OCAMl being
Is anyone aware of a module allowing you to read / write .iges data?
Currently I’m trying to figure a way of writing out my
nurbs data generated in python, but if such a package
exists, that would be great, haven’t been able to find anything so far…
Cheers,
Jelle.
--
http
le launching it, I stated
ActivePython 2.4 Build
243 (ActiveState Corp.) based on Python 2.4
HUH! WHAT! No actual difference between the python.org &
activestate version???
Cheers,
Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
I wonder whether anyone on this list has been able to
compile the ming .swf output library successfully on win32/python2.3?
I have quite some trouble trying to compile these kind of libraries, maybe you could point me to a good
starters tutorial on this?
Cheers,
Jelle
Is anyone aware of a python nurbs module?
So far I found Runar Tenfjord's effort, which is quite interesting:
http://runten.tripod.com/NURBS/
But in the end doesn't really meet my needs.
Any suggestions?
Cheers,
Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
> Hint to get a useful answer: Define your needs. Display in 3D (want to
> use them to define and display geometry)? Numeric analysis (writing
> some sort of CAD or automation system)? Modeling system (want some way
> to interactively define them)?
I wish I could give you a well defined answer
> Have you looked at Blender (http://www.blender3d.com)??
Blender seems very promising, its python support is exactly what I'm
looking for, but it lacks the cad/parametric capabilities I'm looking for.
--
http://mail.python.org/mailman/listinfo/python-list
do I make the RS object available to the imported SRF module, such that
my module code and program code both refer to RS as the application object
being scripted?
Cheers,
Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
cated. Could someone recommend me a module, which is still
being developed, somewhat more concurrent than the stuff I'm finding? Any
recommendations, since most of these modules seem to be more projects
developed in sake of grasping GA's rather than actually using these ;-)
Cheers,
Je
74 matches
Mail list logo