Re: is python Object oriented??

2009-02-01 Thread Hung Vo
On Feb 2, 4:10 am, Stephen Hansen apt.shan...@gmail.com wrote: Anyway, it doesn't matter. We're losing the point here. The point is that language support for private access, by disallowing user access to private data, provides an unambiguous information hiding mechanism which encourages

Re: is python Object oriented??

2009-01-30 Thread Hung Vo
On Fri, Jan 30, 2009 at 5:15 PM, Chris Rebert c...@rebertia.com wrote: On Thu, Jan 29, 2009 at 9:56 PM, Hung Vo hungv...@gmail.com wrote: snip I'm new to Python and also wondering about OOP in Python. I want to justify the above question (is Python Object-Oriented?). Does Python follow

Re: is python Object oriented??

2009-01-29 Thread Hung Vo
On Jan 30, 4:19 am, Michael Torrie torr...@gmail.com wrote: M Kumar wrote: but still I am not clear of the execution of the code, when we write or execute a piece of python code without defining class, predefined class attributes are available (not all but __name__ and __doc__ are

Re: is python Object oriented??

2009-01-29 Thread Hung Vo
On Jan 30, 4:19 am, Michael Torrie torr...@gmail.com wrote: M Kumar wrote: but still I am not clear of the execution of the code, when we write or execute a piece of python code without defining class, predefined class attributes are available (not all but __name__ and __doc__ are

Re: is python Object oriented??

2009-01-29 Thread Hung Vo
On Jan 30, 4:19 am, Michael Torrie torr...@gmail.com wrote: M Kumar wrote: but still I am not clear of the execution of the code, when we write or execute a piece of python code without defining class, predefined class attributes are available (not all but __name__ and __doc__ are

Re: How to read all files in a directory

2005-11-07 Thread Hung Vo
Hello Larry, Thanks a lot for your response. It helps me a lot. I used your suggestion and got an error: path=r'C:\datafiles\' ^SyntaxError: EOL while scanning single-quoted string Then, I changed just a little bit and it works fine. I set path='C:\\datafiles\\' instead of