Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31305
| References | <1350308732.2373.8.camel@roddur> |
|---|---|
| Date | 2012-10-16 01:01 +1100 |
| Subject | Re: MySQL with Python |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2207.1350309721.27098.python-list@python.org> (permalink) |
On Tue, Oct 16, 2012 at 12:45 AM, রুদ্র ব্যাণার্জী <bnrj.rudra@gmail.com> wrote: > Dear friends, > I am starting a project of creating a database using mySQL(my first > project with database). > I went to my institute library and find that, all books are managing > "mySQL with perl and php" > > I am new to python itself and gradually loving it. I mostly use it as an > alternative of shell-script. Since learning a new language for every new > project is not possible(its self assigned project, generally in free > time), can I do a "mySQL with python?" > > if yes, can you kindly suggest a book/reference on this? It's definitely possible. As far as I know, though, there's no inbuilt support, so you'll need an add-on module. What platform are you running on? On Debian Linux, for instance, you can simply "apt-get install python-mysqldb". But you may wish to consider using PostgreSQL instead. It's a generally better database engine than MySQL, and is equally well supported: http://wiki.python.org/moin/PostgreSQL Actually, to be quite honest, I'm surprised there's no module in the Python stdlib for either of the above. Possibly because there are several competing options. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
MySQL with Python রুদ্র ব্যাণার্জী <bnrj.rudra@gmail.com> - 2012-10-15 14:45 +0100
Re: MySQL with Python Chris Angelico <rosuav@gmail.com> - 2012-10-16 01:01 +1100
Re: MySQL with Python রুদ্র ব্যাণার্জী <bnrj.rudra@gmail.com> - 2012-10-15 15:47 +0100
Re: MySQL with Python Chris Angelico <rosuav@gmail.com> - 2012-10-16 01:54 +1100
Re: MySQL with Python Demian Brecht <demianbrecht@gmail.com> - 2012-10-15 07:05 -0700
Re: MySQL with Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-15 15:20 -0400
Re: MySQL with Python Roy Smith <roy@panix.com> - 2012-10-15 15:44 -0400
csiph-web