Sorry, it is still not clear when I reread it:
1) I have a bunch of Python working modules
2) I need to compile "something" so external C applications can access 1)
Thanks,
Philippe
Philippe C. Martin wrote:
> Just to make sure i'm clear as I've been told about sw
Thanks, I cannot get the demo to compile, but I joined their list.
Thanks
Philippe
Chris Lambacher wrote:
> pyrex can be used for embedding too.
> http://www.freenet.org.nz/python/embeddingpyrex/
>
> On 6/28/05, Philippe C. Martin <[EMAIL PROTECTED]> wrote:
>> Actual
Suppose I want to define the class MyClass so I can create an instance by
MyClass(arg0, arg1, kwarg0=None, kwarg1=0, reuse=None, save=None)
If reuse is not None, it is the name of a pickle file. Unpickle the file
to get the instance.
If save is not None, it is a file name. Pickle the instanc
Linux: Eric3
All: Eclipe: my choice (might be tough to get into)
Nick Mountford wrote:
> Hi,
>
> Complete newb to Python and programming, looking for an open source
> IDE to download. Any suggestions?
>
> Thanks,
>
> Nick
--
http://mail.python.org/mailman/listinfo/python-list
oops: "eclipse"
Philippe C. Martin wrote:
> Linux: Eric3
> All: Eclipe: my choice (might be tough to get into)
>
>
>
> Nick Mountford wrote:
>
>> Hi,
>>
>> Complete newb to Python and programming, looking for an open source
>> IDE t
Being a C programmer before a C++ I am not certain my opinon qualifies.
Yet I have seen myself avoiding C++ contracts lately because I dread going
back to that type of work: why use silex when you got a match ?
Adriaan Renting wrote:
> I'm not a very experienced Python programmer y
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
at would allow me to view
> paths of all installed files and registry values associated with that
> file for example I enter the file C:\WINDOWS\iexplorer.exe and it gives
> me reg value 1, reg value 2, folder 1, folder 2.
>
> This will eventually lead into running an application insta
Hi,
I have the following question:
l = ['ABCDE','FGHI']
l[1:] #returns ['FGHI']
l[1:][0] #return 'FGHI'
a = l[1:][0] + 'J' #a becomes 'FGHIJ'
l[1:][0] += 'J' #NO ERROR BUT l[1:][0] == 'FGHI'
What am I missing ?
Thanks,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Thanks, I though it was a reference (tough to implement I'm sure)
Regards,
Philippe
Peter Hansen wrote:
> Philippe C. Martin wrote:
>> l = ['ABCDE','FGHI']
>
> Okay so far...
>
>> l[1:] #returns ['FGHI']
>
> Which is a _
I guess my slicing was wrong, l[-1] worked
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Thanks,
Philippe
Peter Hansen wrote:
> Philippe C. Martin wrote:
>> I guess my slicing was wrong, l[-1] worked
>
> Note that that's _not_ a slice, however, but a reference to the last
> element in the list.
>
> You'd have to subclass list to be able to do
I see you got many good/funny answers already.
Test Python for two WE and you'll be able to help yourself very well ...
I've been through an equivalent process.
Regards,
Philippe
[EMAIL PROTECTED] wrote:
> I am a java programmer and I want to learn Python Please help me.
--
http://mail.py
Almost sounds like a racist comment - sorry if I misunderstood
Antoon Pardon wrote:
> Op 2005-07-06, Michele Simionato schreef <[EMAIL PROTECTED]>:
>> Fuzzyman:
>>> So Lisp is for really good programmers, and Python is for
>>> mediocre programmers ?
>>
>>
>> Python is *also* for mediocre p
Hi,
I am looking for the pros and cons as to how to integrate a Python module
into a Windows native application.
So far I have looked at
1) coding the C wrapper myself
2) using Pyrex
3) go for pywin32 and COM
Thanks,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Larry,
I want to:
1) Modify my code as little as possible
2) Please/reassure the lambda VB or VC++ oriented company
Regards,
Philippe
Larry Bates wrote:
> Other methods (services, sockets, pipes, etc.)
> can also work well, but it depends on what you
> want to do and how you wish to
> For me, performance is the minor issue. Usability is the major issue. If
> find Eclipse to be highly unusable, so I don't use it.
I find it to be the best option out there
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Thanks for your answers,
has anyone also used .net for Python ?
Regards,
Philipe
Philippe C. Martin wrote:
> Hi,
>
> I am looking for the pros and cons as to how to integrate a Python module
> into a Windows native application.
>
> So far I have looked at
>
>
rver, and from VBscript. OK also.
>
> Plus, I had try to call my Python-server-COM, from C# : OK it's run. C#
> can use Python.
>
> And, I had try to make, in Internet-Explorer, a page, with
> Html+javascript, who call the Python-server-COM, and at the same time,
> cont
Hi,
I just got the pywin32 "hello world" COM server to install and I did manage
to use it from VB 6.0.
However, there are some glitches I do not comprehend:
1) at one point I got a python runtime error telling me the "testcomserver"
was not found - I got rid of that problem by deleteting the app
Sorry: "Cache", not "Cash"
Philippe C. Martin wrote:
> Hi,
>
> I just got the pywin32 "hello world" COM server to install and I did
> manage to use it from VB 6.0.
>
> However, there are some glitches I do not comprehend:
>
> 1) at
ver going to be *fast* compared to something
coded in C and wrapped with Python. You are dealing with every single
character as a Python object, so let's forget fast for the moment and do
a straightforward implementation:
class Franken( str ):
frankenIndex = 0
def __iter__( self ):
http://cheetahtemplate.org/
Admin wrote:
> On Sun, 17 Jul 2005 19:15:49 -0300, Sybren Stuvel
> <[EMAIL PROTECTED]> wrote:
>
>> http://www.unrealtower.org/mycheetah
>
> "Error 404 while looking up your page AND when looking for a suitable 404
> page. Sorry!
> No such file /var/www/www.unrealt
Hi,
Is it possible ?
ex: return ['1','2']
If so which type should I use in VB ?
dim res as ???
Set testObj = CreateObject("")
res = testObj.AMethodThatReturnsAListOfStrings()
Thanks,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Sorry, it was in the book: Variant !
Regards;
Philippe
Philippe C. Martin wrote:
> Hi,
>
> Is it possible ?
>
> ex: return ['1','2']
>
> If so which type should I use in VB ?
>
> dim res as ???
&
7;instance' can not
be converted to a COM VARIANT"
Is there a way out ?
Thanks,
Philippe
Philippe C. Martin wrote:
> Hi,
>
> Is it possible ?
>
> ex: return ['1','2']
>
> If so which type should I use in VB ?
>
>
L PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > Philippe C. Martin
> > Sent: Thursday, July 21, 2005 1:42 AM
> > To: python-list@python.org
> > Subject: Re: returning list of strings from Python COM to
> > Visual basic 6
> >
> >
> > I ca
I guess that also means (which makes sense) that the returned object has to
be registered as a COM object.
However, in my case, I just needed that object to pass it to yet another
object, I did not need to use it from VB
Regards,
Philippe
Philippe C. Martin wrote:
> Thanks a bu
Varghjärta wrote:
...
But there is something that keeps bugging me, and that keeps me from
embracing Python even more as a serious alternative to C#(for me). In
C# I make heavy use of Get & Set, mainly to fire an event that some
property has changed so that one can act on that _if one w
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
/DlPortIO.htm
ctypes: http://starship.python.net/crew/theller/ctypes/
Note that DLPortIO is not a Python thing, it's a generic Windows .dll with
C and VB examples, and needs installing, so it can't be packaged with
py2exe. I'd guess this is the same for other parallel port acces
em in Basic. These days it's almost impossible without special kit
and lots of know how. Heck, the old BBC Mirco had raw IO capabilites as
fast as an IBM parallel port, and more flexible to boot.
Progress. A real pain for r&d types.
---
cds
c d saunter ([EMAIL PROTECTED]) wrote:
:
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
Kay Schluehr ([EMAIL PROTECTED]) wrote:
: No good news for scripting-language fans:
: http://www.phpmag.net/itr/news/psecom,id,23284,nodeid,113.html
Just as well I ditched a scripting language for Python then...
cds
--
http://mail.python.org/mailman/listinfo/python-list
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
Hi,
I realize this is not really a Python question but ...
I am trying to setup an .msi for my software (Python code (.pyc) + drivers)
to make installation easier for Windows users.
I am using the installer that comes with V. C++ 7.1.
I would like to find the way to make sure Python is
Thanks you all.
As my software has python "executables" and libraries + c++ libs, the
HKEY_LOCAL should be myt way out.
Best regards,
Philippe
Philippe C. Martin wrote:
> Hi,
>
> I realize this is not really a Python question but ...
>
> I am trying to setu
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
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
* 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
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
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
--
____
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
Hi,
I am looking for the reg path that is modified/created by the pyton
installer to associate *.pyc with python.exe as I wish to associate *.pyc
with pythonw.exe
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am looking for the reg path that is modified/created by the pyton
installer to associate *.pyc with python.exe as I wish to associate *.pyc
with pythonw.exe
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Keir,
I forgot to mention that I want to do it automatically from my application's
installer.
Regards,
Philippe
keirr wrote:
> Philippe,
>
> You wrote: I wish to associate *.pyc with pythonw.exe
>
> is there some reason why Tools->Folder Options->File Types (from a
> Windows Explorer me
Yes Keir, Thanks a lot.
Regards;
Philippe
keirr wrote:
> Philippe,
>
> Windows file associations are in
>
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
>
> Hope that helps you.
>
> All the best,
>
> Keir.
--
http://mail.python.org/mailman/listinfo/python
ANNOUNCING twill v0.7.2.
twill is a simple Web scripting language built on top of Python and
John J. Lee's 'mechanize'. It's designed for automated testing of Web
sites, but it should prove useful for anybody who needs to interact
with Web sites (especially those using logins and cookies) on the
Hi,
Why not just releasing the *.pyc ?
Regards,
Philippe
Frank Millman wrote:
> Hi all
>
> I am writing a multi-user accounting/business system. Data is stored in
> a database (PostgreSQL on Linux, SQL Server on Windows). I have written
> a Python program to run on the client, which uses w
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
ilippe
On Sun, 06 Feb 2005 02:20:34 -0500, Adam DePrince wrote:
> On Sat, 2005-02-05 at 17:04, Tim Peters wrote:
>> [Philippe C. Martin]
>> > I am looking into using the pickle format to store object/complex data
>> > structures into a smart card as it would make
ss that I can ping but has no
name.
How can I do that ?
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
Thanks you! that did it.
PS: the 'wrong' info I got seems to be in the official howtos
http://www.amk.ca/python/howto/sockets/
Regards,
Philippe
On Mon, 07 Feb 2005 18:23:28 +0100, Diez B. Roggisch wrote:
>> A couple things to notice: we used socket.gethostname() so that the
>> socket woul
Yes it was.
Regards,
Philippe
On Mon, 07 Feb 2005 21:30:28 +, Steve Horsley wrote:
> Philippe C. Martin wrote:
>> Thanks you! that did it.
>>
>
> That makes me wonder what socket.gethostname() was returning.
> It wasn't 'localhost', was it?
Thanks, it was a bind problem: socket.gethostname() returns 'localhost'
where '' is was was needed.
Regards,
Philippe
On Mon, 07 Feb 2005 11:02:13 -0800, Kartic wrote:
>
> Philippe C. Martin wrote:
>> >> My problem is that I cannot connect to my serv
Any clue!
Regards,
Philippe
--
*******
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
I'll check, thanks.
Philippe
On Tue, 08 Feb 2005 18:03:11 +, wes weston wrote:
> Philippe C. Martin wrote:
>> Hi,
>>
>> I decided to clean my system and rebuild python from scratch.
>>
>> I downloaded tk8.4.9, tcl8.4.9 and Python2-4.tar.bz2
Robert Brewer wrote:
> Peter Hansen wrote:
> > Carl wrote:
> > > What is the ultimate version control tool for Python if you
> > > are working in a Windows environment?
> >
> > I never liked coupling the two together like that. Instead
> > I use tools like TortoiseCVS or (now) TortoiseSVN with
Hi,
> import re
> foo_pattern = re.compile('foo')
>
> '>>> m = foo_pattern.search(subject)
> '>>> if m:
> '>>>pass
> '>>> else:
> '>>>pass
I agree that is horrible. This is one of my favorite problems with
python syntax.
> but it occured to me today, that it is possible to do it in pyth
Hi,
For a few months now, I have been used .pyc script under XP without
getting the "DOS" box.
I just re-installed the scripts on another XP box and am now getting the
DOS box !
Something to do with the registry ?
Regards,
Philippe
--
***
Philippe
be problems with creating an individual string of multiple GB as well,
for the same reason.
Just an idea,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
ppreciated.
S
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
PyCon is coming...
--
http://mail.python.org/mailman/listinfo/python-list
ts for developers to build applications,
they generally let you load and work with objects readily, but they
aren't trying to provide "jumping, shooting and exploding" features
out-of-the-box. Then there are the full (normally C++) game engines
with Python wrappers, likely a s
HTH,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
PyCon is coming...
--
http://mail.python.org/mailman/listinfo/python-list
f you then find problems with it not being able to find Numeric,
install the Numpy release.
HTH,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
PyCon is co
m_rw.books, I see my 'appends' in there, yet the
pickled object does not change.
Any clue ?
Thanks
Philippe
--
*******
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
Yes, and that is my initial problem: I seem to write correctly that
'pickle string' to a device, by when I read it back, the appended
information is gone.
On Sat, 19 Feb 2005 19:13:58 +0100, Fredrik Lundh wrote:
> Philippe C. Martin wrote:
>
>> print 'LEN OF
You are correct and I still don't know Python (sigh).
Thanks
Philippe
On Sat, 19 Feb 2005 15:51:18 -0500, Kent Johnson wrote:
> Philippe C. Martin wrote:
>> If I do this:
>>
>>
>>
>> print 'LEN OF BOOK BEFORE APPEND: ', len(pickle.dumps(se
Groleo Marius wrote:
How can i execute a string in python?
How can I execute the code that "s" keeps inside, considering that the
code is correct?
Use the exec statement : `exec s`
Details at http://www.python.org/doc/ref/exec.html
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Hi all,
I spent a little bit of time today working on Robin Friedrich's
HTMLgen[0], and made it work more like a modern Python package, with a
Python package directory & distutils-based setup.py. I wanted to pass
these things on to Robin, but his e-mail address @pythonpros doesn't
work any mor
with very little overhead for
build/release/install mechanics."
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
ppens with:
[ for yield from foogen1(arg3) ]
would then have to be defined... that might make it too complex an
change. Oh well.
Have fun all,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
>>> data2 = r2.read()
>>> conn.close()
As far as I can understand, you can read() data only when you want
to.
Caveat:
There's a warning that says "This module defines classes which
implement the client side of the HTTP and HTTPS protocols. It is
normal
--- "Donald L. Dietmeyer" <[EMAIL PROTECTED]> wrote:
> What yum repository do you use to pick up
> python rpms?
Search for 'Yum' at:
http://www.python.org/2.4/rpms.html
Cheers,
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
However, I don't know how up-to-date the information is.
HTH,
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
'->', value
...
>>> foo(a=1,b=2)
a -> 1
b -> 2
Hope this makes some sense,
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
--- Xah Lee <[EMAIL PROTECTED]> wrote:
> so, python 2.3.5 is released about 2 months later than 2.4??
As far as I understand, 2.3.5 is a maintenance release in the 2.3
branch. It is independent of the 2.4 branch.
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpy
George Jempty ([EMAIL PROTECTED]) wrote:
: I'm undergoing a phone interview for a Jython job today. Anybody have
: practical advice for me? I haven't worked with Python in years, but I
: have been working with Java in the meantime (resume at
: http://scriptify.com/george_jempty_resume.pdf). I've
"Brandon J. Van Every" <[EMAIL PROTECTED]> writes:
> Last I looked, 2 years ago?, there were no compiled, open source
> lisps that ran on Windows. Has this changed?
GCL (formerly known as KCL and ACL) has been around since 1984,
and has been available on Windows since 2000.
ECL (another KCL deri
to customize the core behavior of an
object (for instance to change how attribute traversal was handled) to
write C extensions. And then there was the strange exception for
attribute access for functions, but that was so natural and practical
it seldom bit anyone who wasn't doing meta-prog
objects with a single connection object?
You can have any number of cursor objects and can run with a single
connection object
A good introduction is at http://www.amk.ca/python/writing/DB-API.html
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
-
n even convert existing VB
> apps as well. It won a Jolt Productivity award this year (along with
> Python 2.4).
I have heard Gambas to be a very good option too:
http://gambas.sourceforge.net/
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
os_parser = re.compile (r""" (\s+)=\"(\s+)\"$ """,re.VERBOS)
> ^
> SyntaxError: invalid syntax
Please check the indentation you have used.
Also, it should be re.VERBOSE (note the ending 'e')
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
input.filename
> root.output.filename
You should be using XPath (4suite has it) to get the parts that you want.
A really quick intro is at
http://simon.incutio.com/archive/2003/10/21/xpathRocks
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
nd to work on the same kind of project along with ChiPy (Chicago
Pythonistas) and of course, the distutils-sig and catalog-sig.
For details, please see
http://www.swaroopch.info/archives/2005/03/13/uraga-the-cpan-for-python/
We welcome you to help us in this endeavour.
Regards,
--
Swaroop C H
B
ded!
The announcement is at
http://www.trolltech.com/newsroom/announcements/0192.html
I hope the PyQt guys are on top of this ;)
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
en't tried it out but it should work.
[1]: http://unixhelp.ed.ac.uk/CGI/man-cgi?tee
HTH,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the answer.
I will try the method you talked about.
For the moment, I am creating a new sizer and new panel
and call the SetSizer(...) and SetAutoLayout(...)
but this is not satisfying me.
Loïc
"F. GEIGER" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> wxWindow h
Hi,
How about first using a C to C++ wrapper:
***
#ifdef __cplusplus
extern "C" { /* I really dislike this - iwj. */
#endif
void * init (void)
{
return new myobj()
}
3D_fun1 (void * p_obj)
{
My_OBJ * l_obj
"Yuri Shtil" <[EMAIL PROTECTED]> writes:
> I am trying to learn python and use the gud/pdb from emacs. The
> functionality that I am used to under gud/gdb and gud/perldb is missing, or
> I don't know how to make it work.
> Specifically: when I start pdb on a script file, the source does not show i
_not_ between brackets or parenthesis i.e; 'xx xx
xx xx xx xx xx' knowing that the intial string could be:
[yy yy yy yy yy yy yy] xx xx xx xx xx xx xx (zz zz zz zz)
Any clue ?
Regards,
Philippe
--
*
Philippe C. Martin
SnakeCard LLC
www.snakecard
I used those:
http://diveintopython.org/
http://www.fzu.cz/texty/ruzne/python/
http://www.pythonware.com/library/tkinter/introduction/
Then O'Reilly 'Programming Python'
Regards,
Philippe
--
*
Philippe C. Martin
SnakeCard LLC
ww
wrong ?
are the pyc plateform dependant ? and if so must I generate one version for
each version of Linux, windows .. ?
Regards,
Philippe
--
*****
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
*
--
http://mail.python.org/mailman/listinfo/python-list
like the file not to be loaded
on import or class instantiation, but only once (on first import or class
instantiation).
Currently I have the loading code in the class __init__.
Is there a clean way to do this (I'd like to avoid global)?
Regards,
Philippe
--
*
Thank you all for your answers, I guess I would not have made Python 101:-)
As far as I was concerned, importing a module twice would have resulted in
loading the file twice.
Regards,
Philippe
--
*
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
hoping for was a toolkit that worked cross-platform
and assumed OpenGL is available, leaving me to pass it the
OpenGL context and a few other essentials, or something that
made a scene graph that I could render as I wish.
...
____
Mike C. Fletcher
Des
816, when I see
'LOADING' then I also see a fully populated dictionary.
But when I see (second or more time)
'DICT ALREADY LOADED', then my dict is emtpy
What else am I not understanding ?
Regards,
Philippe
--
*
Philippe C. Martin
SnakeCard LLC
www.
n attribute in *only a single instance*.
Sorry for the tabs !
Indeed I had not grasped the concept has from my many years in C++, I would
have had to use a private constructor + a static create method to keep users
from instanciating more than one object.
You are correct, my
platforms.
...
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Jody Burns wrote (with Peter):
See Mike C. Fletcher's post and
http://www.vrplumber.com/programming/mstoolkit/ for a way to do it
very easily (you have to be able to use the GNU patch tool, but that's
not difficult at all).
--Jody
...
not been able to get into hacking on the core
501 - 600 of 1183 matches
Mail list logo