mlimber a écrit :
> I'm writing a text processing program to process some survey results.
> I'm familiar with C++ and could write it in that, but I thought I'd
> try out Python. I've got a handle on the file I/O and regular
> expression processing,
FWIW, and depending on your text format, there ma
> I want something like (C++ code):
>
> struct Response
> {
>std::string name;
>int age;
>int iData[ 10 ];
>std::string sData;
> };
>
> // Prototype
> void Process( const std::vector& );
>
> int main()
> {
>std::vector responses;
>
>while( /* not end of file */ )
On Jan 16, 2008 9:23 AM, mlimber <[EMAIL PROTECTED]> wrote:
> I'm writing a text processing program to process some survey results.
> I'm familiar with C++ and could write it in that, but I thought I'd
> try out Python. I've got a handle on the file I/O and regular
> expression processing, but I'm
Hi,
On Wed, 16 Jan 2008 06:23:10 -0800 (PST), "mlimber" <[EMAIL PROTECTED]>
said:
> I'm writing a text processing program to process some survey results.
> I'm familiar with C++ and could write it in that, but I thought I'd
> try out Python. I've got a handle on the file I/O and regular
> expressi
I'm writing a text processing program to process some survey results.
I'm familiar with C++ and could write it in that, but I thought I'd
try out Python. I've got a handle on the file I/O and regular
expression processing, but I'm wondering about building my array of
classes (I'd probably use a str