Hi Jason,
I will try it out... Nothing in the documentation tells a person.
Thanks
From: Python-list on behalf
of Jason Friedman
Sent: Wednesday, November 13, 2019 7:19 PM
Cc: python-list@python.org
Subject: Re: Logistic Regression Define X and Y for Predicti
Hi All,
I have the below code.
X = df.iloc[:, [4, 403]].values​
y = df.iloc[:, 404].values
Dummy Data looks like:
host Mnemonic
12.234.13.6 start
22.22.44.67 something
23.44.44.14 begin
When I define the X and Y values for prediction in the train and test data,
Same here. Debugging in Python is annoying, I like to step through my code line
by line, it's impossible to do it with object-oriented programming language.
Also, there's no good REPL IDE.
Spyder barely works with some basic features. PyCharm, the most popular, takes
too long to start, and you
Yes, I forgot that strings are immutable. I can't change anything in the
string. Silly me!
Thank you very much, I appreciate it. I guess sometimes it just take an
outsider to take you outside the box. And all is answered. :)
From: Python-list on behalf
of Mark La
Yes, I forgot that strings are immutable. I can't change anything in the
string. Silly me!
Thank you very much, I appreciate it. I guess sometimes it just take an
outsider to take you outside the box. And all is answered. :)
From: Python-list on behalf
of Mark
few dozen more "object systems" out
there. You'll also likely find about a thousand metaclasses these days.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
h
On 13-01-21 11:52 AM, Steve Simmons wrote:
Mike,
Thanks for your response - I was puzzled by one part of it though...
On 21/01/2013 15:14, Mike C. Fletcher wrote:
That's because you've just discarded the object you created
I (mis?)understood from the ctypes document
take a pointer to a data-value to fill in their data,
but not *your* function. That pattern looks like:
result = c_short(0)
my_ctypes_function( ..., byref(result) )
print result.value
i.e. you have to pass the variable into the function (as a
reference/pointer).
HTH,
Mike
--
__
one: Does not match PEP8 recommended style"
making it clear that this is *not* an error, it is a *style* related
*warning*.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
used by the small variations
from C OpenGL, making the API look entirely different wouldn't be a good
direction to move, IMO.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
the thing should return
globalsub.subs( shutil.copytree, fake_copytree )
$ pip install globalsub
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org
rate.py, model.py and
templates/section.kid files are all you need to look at to understand
the docbook processing.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://ma
some reason the process isn't reading your input fast
enough). I think everyone winds up with their own wrapper around
subprocess after they use it for more than a short period...
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
eliae dumps to produce visualizations of the
memory used in the process.
HTH,
Mike
https://launchpad.net/meliae
http://www.vrplumber.com/programming/runsnakerun/
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://
se you could just use the logging key as well
as a piece of data. I'll withdraw the suggestion that it is not a
trivial thing to add to 2to3, though I'll leave the implementation to
someone else.
Have fun,
Mike
--
____
Mike C. Fletcher
Desi
On 11-10-26 05:12 AM, Vinay Sajip wrote:
> Mike C. Fletcher vrplumber.com> writes:
>
>> I actually consider .warning() a nit :) . After all, it's 3 extra
>> characters :) , and *who* actually reads documentation instead of just
>> poking around and finding
named method in the instance?
Anyway, I personally don't see this as worth the breakage.
Just my $0.02,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
PyPI. That
should now work properly with easy_install.
HTH,
Mike
--
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
108/
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Interestingly, at PyGTA Myles mentioned that he'd found his first-ever
Python 3.x-only library! Which he then converted to Python 2.x, because
he actually wanted to use it in real code :) .
Projects which haven't ported to Python 3.x aren't necessarily dead,
they
nt name,glGetString(name)
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ey will
let your application remain responsive to network events during the
processing.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ceneGraph,
Crystal Space, etc) should all have content loaders, though I haven't
played with them enough to be able to say what formats they support.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplu
Tobias Weber wrote:
> In article ,
> "Mike C. Fletcher" wrote:
>
>
>> See PyDispatcher for code to do this.
>>
>
> That was the original problem. Got it now: if used inside the class
> definition dispatcher.connect will raise "cannot
, but I haven't
had to change anything in a rather long time. It pretty much just works.
Enjoy,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
tion of endless must be broken ;) :) ,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
if there's
anything else you feel should be said about the program, let me know.
http://www.vrplumber.com/py3d.py#supy
Have fun,
Mike
--
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumb
headache of maintenance has vastly outweighed my
interest.
HTH,
Mike
--
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ecide you want to go your own way.
You may want to check out PythonCAD as well, which IIRC does 2D-only CAD.
Anyway, hope this was some help. Good luck,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
lay module. If wxPython, see their GLcanvas
object. If GLUT, see glutInitDisplayMode, etceteras.
Good luck,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.o
e doing to know what's wrong there. glColor
should be working.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
x27;s also tutorials that are not wxPython specific on the PyOpenGL
documentation page.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Laszlo Nagy wrote:
...
> Is there any way I can specify precedence tables? Or do I have to use
> a different parser generator then?
You normally specify them as
top_precedence/second_precedence/last_precedence sets. SimpleParse'
limitation is with ambiguity, not with precedence. SimpleParse wi
t;&"/"@")
word:= [a-zA-Z], [a-zA-Z0-9_]*
the ?- lookahead is reasonably inefficient, but lookahead is always
going around discarding partial results anyway, so it's no worse than
most other formulations.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
dmitrey wrote:
> Hi all,
> the url http://torquedev.blogspot.com/2008/02/changes-in-air.html
> (blog of a game developers)
> says IronPython is faster than CPython in 1.6 times.
> Is it really true?
>
On certain platforms, I believe so, for certain types of operations.
Not sure if Mono also pr
ur import until after you
have the context setup and see if that lets glGetString return a valid
pointer.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ore I knew the name IIRC)).
> P.S. we have revived a thread started in 1999!
>
For some of us 1999 is well into our Pythonic life-cycle :)
Have fun,
Mike
--
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http:
machines that have problems with the 3.x
alphas so far.
Tempus fugit,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
>
> Any help would be greatly appreciated
If you are using Pygame (you don't say which GUI library you are using),
you can draw the mini-map into a surface and then re-blit the surface to
the screen each time you want to display it.
HTH,
Mike
--
___
ut that's pretty trivial to change.
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
lto:[EMAIL PROTECTED]>> wrote:
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
get panda3d and wxPython working together
I don't see a soya + wxPython page in a few seconds of googling, so I
guess finding that is left as an exercise for the reader.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vr
t/showfiles.php?group_id=5988&package_id=221827
[3] http://www.google.com/codesearch?q=lang%3Apython
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
d suggest just learning "normal" Python first, *then* moving onto
the hardcore stuff.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
thon-list, and new compiler writers are just as important educational
targets as new Python programmers.
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.
rather than __del__ methods, to avoid garbage cycles, btw.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
t the whole thing to a
consistent array with numpy.array (or Numeric.array). That is, the 's'
is just an artefact of how the calculation was done, the values are all
2-element coordinates, some as Python tuples, some as 2-element
Numeric/numpy "short" arrays.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
7;ll have to find a DLL for that if you need it.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ers to use those "raw" functions, but they
should work perfectly well. That is, you have to pass the right
data-type, but then you'd have to do that in assembler too.
Have fun,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ing an off-screen buffer (pbuffer or MESA) for the rendering,
which may (depending on implementation) allow for higher resolutions.
If you want a true vector graphic (PS, EPS) you'll need to use something
like GL2PS.
http://www.geuz.org/gl2ps/
HTH,
Mike
--
_____
rg/ctypes/
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
You can also use the signal module to similar effect. Works well in
Twisted, at least:
http://blog.vrplumber.com/835
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
taclasses-pycon.pdf
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ay of lengths) parameters are pulled from the list-of-strings
you pass.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
python
which is how Linux knows what interpreter to use for the script.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
around, but generally people are either focused on making it look good
or making it editable.
Good luck,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
are putting
together today in all those big institutions.
Have fun,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
gt; expr:= termlist, ( operator, termlist )+
>
I *believe* you wanted that to be *, not +
Best way to write a SimpleParse grammar is from the ground up, using
test cases, so test each thing you think you're parsing. Makes it much
easier to spot situations like this.
HTH,
Mike
-
S that are
waiting for me to get my posterior in gear with Win32 testing to be
released. Not sure if that would change anything for you, though.
Good luck,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
to the model. You could then have the simulation
yield the interpreter lock and seldom block the rest of the process
(save when it touches a Python object (i.e. the updates coming from or
going to the queue)).
Have fun,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Last I heard he had someone who was
helping him every once in a while to review the new submissions, but
that was quite a while ago. I don't *think* there's any discarding, but
rather a delay so long in publishing that it would feel like a discard...
Take care,
Mike
--
___
some suggestion.
> Thanks!
>
You are probably looking for the "gstreamer" package. It has Python
bindings available.
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumb
unication
appropriately. When/if the user "gets" that the Package Index is the
Cheese Shop they can feel great having pierced that bubble, but don't
force them to pierce it to get the software they need.
Just my two cents,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
abled. Simpler (static) scenegraphs where there's
lots of traversal between nodes should be a much bigger win for
converting the whole thing to a single display list.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
h
devices you'll likely want to batch the queries
into ~ 200 simultaneous queries and/or use multiple protocols (gives you
more OS-level buffering).
Have fun,
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
htt
l the system how to do basic operations; get an array's size,
shape, data-type, convert to a given data-format, build an "empty" array
of a given size, that kind of thing. I haven't written a numarray one
yet, but it should be a fairly trivial change from the Numpy/scipy-core
PyOpenGL these days is focusing on the
OpenGL-ctypes implementation, which hopefully will let far more people
work on the source-code (and add features and coverage of more extensions).
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumb
lso be cases where a
recursive call to the interpreter gets a whole separate stack... or
maybe there's something going on with threads intermixing to create
greater depth.
Let me know if that helps,
Mike
--
Mike C. Fletcher
Designer,
le that actually does the incremental loading, you
could use that to produce a view by writing code to display the results
statically.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
kind of behavior ?
>
>Thanks
>
>
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
r is asking for .shx will allow it.
>If somebody wants to help me :-)
>Thanks.
>
>
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
r the last variable name).
HTH,
Mike
Efrain Marrero wrote:
>i want to now how to do this in python
>this is java
>
>
>for(int i=1 ; i<=lim ; i++){
>
> for(int j=i+1; j<=lim+1; j++){
>
>
...
--
____
on
version, but once you know that, Pythonicity in Gentoo is pretty
straightforward.
Anyway, just a vote that's trying very hard to keep on-topic for the
python list,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http:
er-level stuff.
Anyway, hope this helps,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
an app run with just a system tray Icon??? any help
> would be greatly appreciated. I have no clue where to start.
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.pyth
ct direction to take? If so is it easy to interface with Python
> (it seems PyOpenGL is not freeware...)
PyOpenGL has a BSD-style license, that's about as 'free' as one can get
in the freeware sense.
Just a note,
Mike
--
____
M
It's never used AFAICS.
>def merge_by_sort(streams):
> sources = [[s.next(), i, s.next] for i, s in enumerate(streams)]
> while sources:
>sources.sort(reverse=True)
>best_source = sources[-1]
> yield best_source[0]
>try: best_source[0] = b
value in inorder(cmp, s1, s2, s3, s4):
print value
s1 = [{'a':'b'}, {'a':'e'}]
s2 = [{'a':'d'}, {'a':'z'}]
def comp( a,b ):
return cmp( a['a'],b['a'])
for value in in
iterators[1][0]) == 1:
iterators.sort()
continue
if __name__ == "__main__":
s1 = [10, 20, 30, 40, 50]
s2 = [15, 25]
s3 = [17, 27, 37]
s4 = []
for value in inorder(cmp, s1, s2, s3, s4):
print value
Anyway, have fun,
Mike
--
t scared and fix
your society.
Entirely off-topic,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
in the library.zip, but I still
>get the same error.
>
>Anyone have any ideas or suggections?
>
>
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
priate if we're worried about emulation by users.
Anyway, I realise Skip probably was using "in Py3K" in the "some
unimaginably far-off time" sense, but just in case he wasn't I felt I
should pipe up...
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
JOIN voip.voipaccount USING (voipaccount_id)
%(wheres)s
%(orders)s
%(limits)s
""")
The UI then offers the user the ability to increase offset (page
forward), decrease offset (page backward), and re-sort (change the
ordering fields). You disable the paging if you've reached either end
of the record-set (offset<0 offset >= total-1), obviously.
Anyway, hope that helps,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
tried various parsing tools and EBNF grammars but VB6
>isn't really an EBNF-esque syntax in all cases, so I needed something
>else.
>
...
You may find this project interesting to play with:
http://vb2py.sourceforge.net/index.html
Have fun,
Mike
--
____
e version of ctypes in CVS HEAD will allow you to pass
in a c_ulong where the argtype is ctypes.POINTER(c_ulong).
Have fun,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
* generate images for sources that don't yet have
(or are newer than) their thumbnail you should be fine.
>(4) Am I talking about re inventing the wheel?
>
>
Probably. ZPhotoSlides (a Zope product) provides thumnailing,
slideshows and the like, probably closer to what you'd want fo
bruno modulix wrote:
>Mike C. Fletcher wrote:
>(snip)
>
>
>>Though the don't go into extreme detail on decorators (they are
>>basically syntactic sugar for a particular type of descriptor).
>>
>>
>>
>Err... Could you elaborate on this ? Dec
r.com/programming/
Though the don't go into extreme detail on decorators (they are
basically syntactic sugar for a particular type of descriptor).
HTH,
Mike
--
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
htt
s between points. If it's a
regular x,y grid, you can readily construct the polygons, if not, you
get into something a little more fuzzy.
Good luck,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
s, name, bases, dictionary ):
dictionary[ 'classvar' ] = cls.newClassVar[:]
del cls.newClassVar[:]
return super( meta, cls ).__new__( cls, name, bases, dictionary )
__metaclass__ = meta
classvar = meta.newClassVar
or something along those lines...
Um, ick, but HTH,
Mi
nameStack and a registered set of name:node values
(self.selectable). It will use those to populate the event objects that
show up in the OpenGLContext mouse-event-handling APIs.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Co
7;re not Open-Source).
Have fun,
Mike
--
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
"""Demonstration of observable properties"""
from dispatch import dispatcher
from basicproperty import basic
clas
st
as a C-engine tokeniser, so I'd personally spend more time on elegance
than on speed...
Anywho, have fun,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
r) and BasicProperty packages, as well as in Traits (originally
part of a 2D graphics package), and Zope's FieldProperty (and PEAK,
though as always with PEAK, it's somewhat weird in there ;) ). All of
those are largish systems (or used in largish systems), btw.
Just my thoughts,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
can begin to debug it.
Thanks for any information,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
he out-of-favour functional form for the mapping.
Good luck,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
x27;t find anything ...
>
> bye
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
o explicitly
return this"""
return self.sg
if __name__ == "__main__":
MainFunction( TestContext )
There are other retained-mode/scenegraph engines available besides
OpenGLContext, you can find a listing of some of them here:
http://www.vrplumb
n artefact of how we store and process the results of the
TwistedSNMP queries, not TwistedSNMP itself.
BTW, more detail in a question (what result you got, what result you
expected, what you did to get the result) is generally a good idea.
HTH,
Mike
When you have metaprogramming to do, it is *such* a relief when you can
get it done in Python without resorting to C.
Have fun all,
Mike
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
1 - 100 of 128 matches
Mail list logo