cool, thanks, i was running on some thinner examples i found on the
net.
--
http://mail.python.org/mailman/listinfo/python-list
ok, what i posted above had the getOne method, the whole class has a
function for getMany, update, and Insert.
none of this will be used by an end user, it kinda runs in the
background. But, if you have a good link to the docs on the API, i
would like to see it. Still kinda new at this.
thanks
-
ok, thanks everyone. The funny thing about the name conventions is, i
was just two days ago looking around on the web for the best way to go
about consistancy in variable names, class names, etc..
i have the module working now. thanks to you guys. And i think i
understand the container name | obje
[EMAIL PROTECTED] wrote:
> ello there. i am having a problem getting a module to work right.
>
> i wrote a class that is going to be used in a few different scripts in
> the same directory.
>
> it looks like this:
>
> #!/usr/bin/python
This is not needed for a module.
(snip code)
> the file is
yeah, i have thought of picking that one up. That one, or nutshell.
i got programming python, which was way over my head, then learning
python, which has helped me a great deal.
thanks
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> ok, cool, and thanks very much. That worked.
> thanks for the info too.
> i am still new at the OO thing, just tired of doing a copy and paste
> over and over again.
>
> thanks again
>
Glad that helped. The OO "stuff" does require a new
set of understanding, but once y
ok, cool, and thanks very much. That worked.
thanks for the info too.
i am still new at the OO thing, just tired of doing a copy and paste
over and over again.
thanks again
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> ello there. i am having a problem getting a module to work right.
>
> i wrote a class that is going to be used in a few different scripts in
> the same directory.
>
> it looks like this:
>
> #!/usr/bin/python
>
> import MySQLdb
>
> class DbConnector(object):
>
ello there. i am having a problem getting a module to work right.
i wrote a class that is going to be used in a few different scripts in
the same directory.
it looks like this:
#!/usr/bin/python
import MySQLdb
class DbConnector(object):
"""
Database Connection object.
c