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:
Hi,
I just installed (compiled) Python 2.4.2 under Suse 10.
The following code generates a seg error:
import shelve
print shelve.open ('test')
I assume this has to do with the db behind shelve.
How do I go about tracing/fixing the problem ?
Regards,
Philippe
--
http://mail.python.org/mailm
PS:
This code however works, which seems to me means the problem is with the
default database used by shelve ... which one is it ?
import shelve
import gdbm
def gdbm_shelve(filename, flag="c"):
return shelve.Shelf(gdbm.open(filename, flag))
db = gdbm_shelve("dbfile")
Can I ask anydb which db it's using ?
Regards,
Philippe
On Tue, 06 Dec 2005 15:07:19 +0100, Fredrik Lundh wrote:
> Philippe C. Martin wrote:
>
>> This code however works, which seems to me means the problem is with the
>> default database used by shelve ... whic
OK, Thanks
On Tue, 06 Dec 2005 15:41:08 +0100, Fredrik Lundh wrote:
> Philippe C. Martin wrote:
>
>> Can I ask anydb which db it's using ?
>
> the page says
>
> If the database file already exists, the whichdb module is used to
> determine its
>
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++){
>
>
...
--
____
: no zoom box
4) Mandrake 10.1/Gnome 2.6/Python 2.4: zoom box shows
I know that sounds strange, but I am fairly certain this is what happened.
Is there a way to _force_ that zoom box ?
Regards,
Philippe
--
*
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
By zoom box I meant one of the top right button/box one uses to
maximize/unmaximize the current window.
--
*
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
*
--
http://mail.python.org/mailman/listinfo/python-list
/writing/DB-API.html
HTH,
--
Swaroop C H
Blog: http://www.swaroopch.info/
--
http://mail.python.org/mailman/listinfo/python-list
ak
if not line:
break
msg = msg + line
print "Message length is " + repr(len(msg))
server = smtplib.SMTP('smtp.sbcglobal.yahoo.com')
server.set_debuglevel(1)
server.login ('x','yyy')
server.sendmail(fromaddr, toaddrs, 'Subject:from python\n\n'+msg)
s
>Email client = Evolution: the "From" field is blank
>Email client = KMail: the "To" field is blank
I also notice that emails sent to myself get trashed by my provider -
could that be related ?
--
*******
Philippe C. Martin
Snake
Thank you all for your help - an yes! the email module is _very_ nice.
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
ce it on this list :-)
Regards,
Philippe
--
*******
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
event style object, is there some type of Tkinter
call that would let my method know the menu id selected ?
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
(label = 'IN', command=lambda:self.__Dec('IN'))
.
.
.
Yet I have a question:
If I replace the menu creation code as below, and since __Insert appends
the string p_string into a text widget that is created _after_ the menu
creation; the method __Dec s
list = ['ATR','IN']
for i in l_dec_list:
l_dec.add_command(label = i, command= lambda: self.__Dec(i))
Any clue ?
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
>>l_dec.add_command(label=i, command=lambda x=i: self.__Dec(x))
Woof! I'd better do my homework on lambda !
Thanks,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
ocus the performance of a system solely on
its CPU's.
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
All of the methods from my program return None on error (i.e; I do not
want to assert and have the program exit).
Is it possible to print the current source file name/line number ?
ex: in C/C++ I would use the macros __FILE__ and __LINE__.
Regards,
Philippe
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
could construct a sorted list in
memory that would approximate what I *think* you're thinking of as a
dictionary-without-an-index.
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
>>> import inspect
>>> help(inspect)
Thanks,
I have not seen the func params yet, but the default values are so
Regards,
Philippe
--
*******
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.or
=game
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
rogram needs to take in a random list of no more than
10 letters, and find all possible mutations that match a word in my
dictionary (80k words). However a wildcard letter '?' is also an
acceptable character which increases the worst case time significantly.
So if the letters are ['a
Did you look at pycrypto ?
http://www.amk.ca/python/code/crypto.html
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
Hello. I was wondering if anyone has built a module that works with
urllib2 to upload file content via POST multipart/form-data. I'm
aware of ASPN 146306, however, I need to use urllib2 beacuse I'm
using HTTP Digest over SSL.
Cheers,
Clark
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am using my own install script for my software and am looking for a
flawless way to figure out where python, and more specifically
site-packages is installed.
Any clue ?
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
is shoudl be easy
enough)
2) copy already compiled (.pyc) and source (.py) files to those
directories
3) create directories and copy files in a directory kept in an
environment variable
Can distutils do this for me ?
Regards,
Philippe
--
***
Philippe C. Mar
egards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
)
l_st = ScrolledText(l_f)
l_st.pack(side=TOP, expand=YES, fill=BOTH)
l_st.insert(END,self.__m_msg)
l_r.mainloop()
.
.
.
l_d = SC_DOCS('A MESSAGE', 'A TITLE')
l_d.start()
.
.
.
--
*******
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
Would that do it?
for i in my_byte_string:
= atoi(binascii.hexlify(i),16)
Regards,
Philippe
On Tue, 18 Jan 2005 20:43:44 +0200, tertius wrote:
> Hi,
>
> Is there a builtin function that will enable me to display the hex
> notation of a given binary string? (example below)
>
> man
derstand how to
change the sys.path. So until I have found a clean cross platform
solution I'm going to have to stick to site-packages.
Best regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mai
Well this is what is on the top of my script:
from Tkinter import *
import threading
from ScrolledText import *
I still hang under XP wish I had 2K to test.
I almost sounds like tkinter does not get refresh events anymore.
I'll keep at it
On Tue, 18 Jan 2005 12:42:21 -0800, Kamilche
Actually, the following link:
http://www.astro.washington.edu/owen/TkinterSummary.html
seems to say my code is illegal - so I'm now just launching a modless
window from the main thread - _seems_ to work
On Tue, 18 Jan 2005 11:45:28 +0100, Philippe C. Martin wrote:
> Hi,
>
> I
changes. Then you get a --remove-source options
to
>>most of the commands. You can also selectively override what gets
>>removed if you want by changing the is_removable function
>>I hope this is useful for what you're wanting to do
>>David
--
*
I suggest you google 'C++ tutorial'
Regards,
Philippe
On Wed, 19 Jan 2005 04:08:16 -0800, [EMAIL PROTECTED] wrote:
> I'm picking up C++ again after years of using almost nothing but
> Python. I'm frankly enjoying the experience, and it's certainly
> deepenin
ourceforge.net/projects/sourcenav) when I need to
browse through a project (although I could use emacs TAGS, I find
snavigator to be the best free solution out there to parse large
projects)
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCar
the window would be
returned an instance of the class. The actual application I'm interested
in writing would either have simple type attributes (int, string, etc.),
or attributes using types already defined in a c-extension, although I'd
prefer not to restrict the functionality to t
Bengt Richter wrote:
On Fri, 21 Jan 2005 20:23:58 -0500, "Mike C. Fletcher" <[EMAIL PROTECTED]>
wrote:
On Thu, 20 Jan 2005 11:24:12 -, "Mark English" <[EMAIL PROTECTED]> wrote:
...
Does the BasicProperty base class effectively register itself as an
ereabouts, so I gather there must be *some* way of
handling the problem generally. The thing is, weakref callbacks trigger
*after* the object is deconstructed, while __del__ triggers before...
must be something clever I'm missing.
Throw an old doggie a bone?
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Alex Martelli wrote:
Mike C. Fletcher <[EMAIL PROTECTED]> wrote:
weakref.ref( self, self.close )
but the self.close reference in the instance is going away *before* the
object is called.
Uh -- what's holding on to this weakref.ref instance? I guess the
weakreference
ct (close btree if
necessary)"""
self()
and we store one of these as self.close in the OIDStore instance'
dictionary.
self.close = Closer( self )
If the user explicitly calls storage.close() we don't want the __del__
trying to re-close the storage late
Tim Peters wrote:
[Mike C. Fletcher]
I'm looking at rewriting parts of Twisted and TwistedSNMP to eliminate
__del__ methods (and the memory leaks they create).
A worthy goal!
Well, as of now it seems to have eliminated the last leaks in
TwistedSNMP, and that's likely going to
nto the above write method'
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
id of that stuff
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
The real reason behind my using private variables is so they do not
appear in the epydoc generated documentation and confuse my users.
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org
using it would
go againts 'law' 1).
3) I wish I had one, but there is only one Isaac Asimov after all :-)
Regards,
Philippe
On Mon, 24 Jan 2005 11:45:34 -0500, Jeremy Bowers wrote:
> On Mon, 24 Jan 2005 15:35:11 -0600, Philippe C. Martin wrote:
>
>> The real reason
Well I _was_ a bit slow on that one !
So I will happily stick to the double underscore.
Regards,
Philippe
Le mardi 25 janvier 2005 Ã 10:28 +, Simon Brunning a Ãcrit :
> On Mon, 24 Jan 2005 12:17:13 -0600, Philippe C. Martin
> <[EMAIL PROTECTED]> wrote:
> >
> &g
. It is a _long_ and tedious process.
Like you I would love to see crypto support built into python but it
_might_ have an impact on its distribution.
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
character. How do I deal with this?
This is exactly what you need:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892
Title: "getch()-like unbuffered character reading from stdin on both
Windows and Unix"
This recipe was a lifesaver for me once :-)
Regards,
--
Swaroop C H
B
L[1]
[1]: http://dev.mysql.com/doc/mysql/en/load-data.html
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
en a duplicate key value is found,
and the rest of the text file is ignored. With LOCAL, the default
behavior is the same as if IGNORE is specified; this is because the
server has no way to stop transmission of the file in the middle of
the operation.
"
P.S. Its best to take this discussion off
p://www.bis.doc.gov/encryption/) I hope to get a positive
response this week (wish me luck!)
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
your ISP's news server, *then* you can subscribe
> to comp.lang.python.
If you can't find a Usenet server, try news.gmane.org
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
SnakeCard release SCF 1.0: a smart card simulation and Q&A platform
based on Python.
(I said I would :-) sorry but I'm walking on air
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.or
are using mozilla or firefox, I suggest you try this
documentation sidebar: http://projects.edgewall.com/python-sidebar/
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
different major release of python (ex 2.3 and 2.4)
on both side of the socket.
I once wrote something in C to do that, but since python usually has a
solution for me
Any clue ?
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
Thanks a lot.
Regards,
Philippe
On Tue, 01 Feb 2005 00:20:01 +0100, Martin v. Löwis wrote:
> Philippe C. Martin wrote:
>> I once wrote something in C to do that, but since python usually has a
>> solution for me
>
> If you use arbitrary data structures, yo
Thanks a lot.
Regards,
Philippe
--
***
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
***
--
http://mail.python.org/mailman/listinfo/python-list
of the new continents when the spring arrives. It is only there that
all will be revealed. It is only there that you shall find peace.
Joy to the Python world!
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http
its own local m,
so it didn't update the outer m. I couldn't use 'global m' either
because the whole thing, including the outer m, happens to be inside a
function, too.
How do you people handle this?
Thanks for your time,
Johann C. Rocholl
--
http://mail.python.org/mailman/listinfo/python-list
list(changes(data ))
which is quite readable/elegant IMO.
Have fun,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
PyCon is coming...
--
http://mail.python.org/mailm
responsible for
retrieving the information from the card might evolve as well as the
python release it relies upon.
Is there a commitment for python releases to be able to interpret
'older' pickle/marshal internal formats ?
Regards,
Philippe
--
***
Philippe
Hello,
The Phoenix project aims to bring low cost PC-based experimental
Physics to the classroom. Read a short intro here:
http://linuxgazette.net/111/pramode.html
Regards,
Pramode
---
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am looking for a stand-alone (not client/server) database solution for
Python.
1) speed is not an issue
2) I wish to store less than 5000 records
3) each record should not be larger than 16K
As I start with Python objects, I thought of using shelve, but looking at
the restrictions (record
Well that would be shelve I guess ... with the restrictions I mentioned.
Regards,
Philippe
Erik Max Francis wrote:
> Philippe C. Martin wrote:
>
>> I am looking for a stand-alone (not client/server) database solution for
>> Python.
>>
>> 1) speed is not an is
Thank you all for your answers.
A pure Python would have beenmy first choice. yet I now feel I should spend
some time looking at PySQLite (I like the fact it's pre-compiled for
Windows).
Thanks.
Philippe
Philippe C. Martin wrote:
> Hi,
>
> I am looking for a stand-alone (not
You mean pickling a dictionnary of 5000/16K objects ?
Erik Max Francis wrote:
> Philippe C. Martin wrote:
>
>> Well that would be shelve I guess ... with the restrictions I mentioned.
>
> I was talking about pickle, not shelve.
>
--
http://mail.python.org/mailman/listinfo/python-list
OK, I'll try that too.
Regards,
Philippe
Erik Max Francis wrote:
> Philippe C. Martin wrote:
>
>> You mean pickling a dictionnary of 5000/16K objects ?
>
> Yes. You said speed was not an issue; pickling only 5000 objects, each
> no more than 16 kB, is easily hand
> 1. 5000 files -- my personal favourite.
You got a point
William Park wrote:
> Philippe C. Martin <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I am looking for a stand-alone (not client/server) database solution
>> for Python.
>>
>> 1) speed
Thanks, I'm looking at KirbyBase also but wonder if it can handle bitmaps (I
could always pickle it first I guess).
Regards,
Philippe
John Abel wrote:
> Philippe C. Martin wrote:
>
>>Thank you all for your answers.
>>
>>A pure Python would have beenmy first ch
Correct, that's not a constraint right now.
Paul Rubin wrote:
> "Philippe C. Martin" <[EMAIL PROTECTED]> writes:
>> 1) speed is not an issue
>> 2) I wish to store less than 5000 records
>> 3) each record should not be larger than 16K
>
> You don&
Yes, I agree, but as most of the customer base I target uses the O/S that
cannot be named ;-) , file names could become a problem just as 'ln -s' is
out of the question.
Yet, this might be the best trade-off.
Regards,
Philippe
Oren Tirosh wrote:
> Philippe C. Martin wrote:
>
I guess I use databases to store data ;-) and I do not wish to worry
about the type of data I'm storing. That's why I love to pickle.
I understand that during an optimization phase, decisions might be taken to
handle data otherwise.
Regards,
Philippe
GMane Python wrote:
> For my databa
Try this:
http://uml.sourceforge.net/index.php
Regards,
Philippe
Maurice LING wrote:
> Hi,
>
> Is there any UML tools that is able to take UML and generate Python codes?
>
> Cheers
> Maurice
--
http://mail.python.org/mailman/listinfo/python-list
t (if the point is to
have access to the output).
Regards,
Philippe
Rex Eastbourne wrote:
> Hi,
>
> I'm interested in running a Python interpreter in Emacs. I have Python
> extensions for Emacs, and my python menu lists "C-c !" as the command
> to run the inte
Hi,
Since I'm a Linux user, I went through the following procedure:
I installed emacs 20.7.1 and Python 2.4
I installed python-mode 1.0A into site-lisp
I added c:\python24 to my path
I put this .emacs on c:\ (see further down - I'm sure you don't need half of
it)
And everyhing
I do not think there is any need to tell emacs where Python is; besides
having python.exe in your Windows $PATH.
Regards,
Philippe
Rex Eastbourne wrote:
> I have the following in my .emacs:
>
> (add-to-list 'load-path "C:\Program Files\Python24")
>
> Is that
Hi,
I'm getting pretty desperate here:
The code below crashes on the last line (but works from a shell).
The class 'BC' exists and the loop on self.__BC_EXEC_LIST passes fine.
It's got to be something really stupid but I've been looking at it too long
I guess.
Any clue would be quite welcome.
Hi,
Hopefully to make things clearer: this works from a shell:
In [23]:from SC.CARDS.BC import *
In [24]:l = inspect.getmembers(eval('BC'))
#l will get all members from class 'BC' whereas the code referenced below
gets an exception saying 'BC' is not defined.
Th
version of 'XYZ'
What puzzles me furher is that the 'exec' of commands such as 'sc_bc = BC()'
do work as I use them further in 'XYZ' whereas the exec of 'from xxx
import *' does not _seem_ to do anything.
Grrr! I feel more stupid every day !
Any
Hi,
Not being from anglo-saxon heritage, I keep wondering why spammers always
(or very often) get called 'trolls' ?
I mean fantasy fiction has brought us many hugly beasts (goblin, warlock,
orc, dark elf )
The trolls, as I recall, grow back their limns once those have been cut by
the nice fo
Sorry, limbs (plus I check in a dictionnary first!)
Philippe C. Martin wrote:
> limns
--
http://mail.python.org/mailman/listinfo/python-list
:
File "SC_Shell.py", line 1095, in ?
l_d = SC_Shell()
File "SC_Shell.py", line 326, in __init__
self.__Make_Menu_Area()
File "SC_Shell.py", line 828, in __Make_Menu_Area
l = inspect.getmembers(eval(c))
File "", line 0, in ?
NameError: name 'BC
Woof!
And I thought my english was improving !
I'm laughing very hard right now, thanks !
Philippe
Skip Montanaro wrote:
>
> Philippe> Not being from anglo-saxon heritage, I keep wondering why
> Philippe> spammers always (or very often) get called 'trolls' ?
>
> Fishing from a boa
I meant live, not leave ! (this is getting pretty bad)
Philippe C. Martin wrote:
> OK Peter, first of all thanks.
>
> You seem to be German and although I leave in the states, I'm French and
> your english is clearly far more advanced than mine: I have yet to
> unde
module would then be accessed via getattr():
>
> member = getattr(module, member_name)
>
I will study that.
Many thanks
Philippe
Peter Otten wrote:
> Philippe C. Martin wrote:
>
>> OK Peter, first of all thanks.
>>
>> You seem to be German and although
Hi,
I was refering to the Windows $PATH which you can modify in the same dialog.
To make sure it's done properly, open a console (cmd.exe) and type python
Regards,
Philippe
Rex Eastbourne wrote:
> I went to My Computer | Properties | Advanced | Environment Variables
> and added
As well as wxDesigner (great!)
http://www.roebling.de/
Regards,
Philippe
Björn Lindström wrote:
> Apple Grew <[EMAIL PROTECTED]> writes:
>
>> I think since speed is not such an issue (I heard that python can make
>> faster GUI programs) you should use Visual Basic. It is very well
>> suited
Dear all,
I am very happy to announce the release of SCF 1.1, a Python based Smart
Card development framework for Windows® and Linux.
SCF 1.1 introduces support for BasicCard® Enhanced and Professional under
GNU/Linux and Windows®.
All commands are supported as well as firmware image parsing so y
Hi,
I had the exact opposite problem :-)
Hope this helps
Regards,
Philippe
#
def Mail(self,p_data): #data is string of text
you = wx.GetTextFromUser('EMAIL ADDRESS','ID')
if len(you) == 0:
Hi,
A couple links ...
http://www.summerland.uku.co.uk/
http://pylogo.org/
http://www.python.org/sigs/edu-sig/
BORT wrote:
> Please forgive me if this is TOO newbie-ish.
>
> I am toying with the idea of teaching my ten year old a little about
> programming. I started my search with somethin
Hi,
You might want to check out ipyhton.
http://ipython.scipy.org
Regards,
Philippe
Brett Hoerner wrote:
> This is a pretty basic, mostly un-python-related question, although I'm
> asking because of Python.
>
> Is there a different shell I can use (other than cmd.com) to run Python
> in, wh
Ho!
I thought the shell commands in ipython (cd, lx ) might cut it.
Regards,
Philippe
Brett Hoerner wrote:
>
>
> Philippe C. Martin wrote:
>> You might want to check out ipyhton.
>
> I use it. :) I love it. When I meant console I meant the shell app
>
Thanks Fabio,
I take this opportunity to ask what I could be doing wrong with pylint: my
PYTHONPATH is good (I think), my code compiles and passes pylint when I run
it by hand. Yet pylint in pydev does not seem to think the modules I
include and usually derive from exist.
Any clue ?
Regards,
Ph
Hi,
Is there a program out there that would generate the C code to instantiate
objects and call them:
ex: miracle.exe -i mymodule.py -o module_internface.c ?
I seem to recall a _yes_ to that but I got a memory overflow :-)
Thanks,
Philippe
--
http://mail.python.org/mailman/listinfo/python
Hi,
1) check the spacing before if name == "Nathan":
2) put a ':' after else
Regards,
Philippe
Nathan Pinno wrote:
> Hi all,
>
> I need help figuring out how to fix my code. I'm using Python 2.2.3, and
> it keeps telling me invalid syntax in the if name == "Nathan" line. Here
> is the cod
Michael Hoffman ([EMAIL PROTECTED]) wrote:
: muldoon wrote:
: > Americans consider having a "British accent" a sign of sophistication
: > and high intelligence. Many companies hire salespersons from Britain to
: > represent their products,etc. Question: When the British hear an
: > "American accent
Just to make sure i'm clear as I've been told about swig and pyrex: I don't
want to eventually have a python script call C modules, but rather a main.c
make calls to python functionnalities.
I did add newbie in the title :-)
Regards,
Philippe
Philippe C. Martin wrote:
> H
401 - 500 of 1183 matches
Mail list logo