anything like a "pointer" in python?

Tyler Eaves tylere at hotpop.com
Thu Jul 3 04:13:32 CEST 2003


On Thu, 03 Jul 2003 09:41:05 +0800, stevenswan wrote:

> I want to open a file in python and read something and process the file in c++ moduel, but there is no "pointer" in python,
> so how can I pass the arg(file buffer) between python and c++ modules?
> 
> 
> ______________________________________
> 
> ===================================================================

Is there any reason you just can't give the C module the filename and let
it handle the fopen?




More information about the Python-list mailing list