NEWBIE: Confussed about Python!
Max Adams
RubberDucky703 at hotmail.com
Mon Jan 14 13:37:26 EST 2002
OK, But...
I've been checking out the modules for Python and all of the ones i have
been looking at are for Apache/Linux. Are there modules like Python for
IIS? So that I can then use the DBmodules to run the script which is
running on an IIS server.
An NT server, is I imagine is the only way I can use ms access (ADO/JET) and
MySQL at the same time.
"Steve Holden" <sholden at holdenweb.com> wrote in message
news:RjF08.17499$k87.1555286 at atlpnn01.usenetserver.com...
> "maxm" <maxm at mxm.dk> wrote ...
> > "Max Adams" <RubberDucky703 at hotmail.com> wrote
> >
> > > So there are libraries to access MySQL and MS Access? I assume that
> only
> > > the latter would work under windows. - Can these both be used together
> in
> > > the same script. From what you have said I see no reason why not -
> > correct.
> >
> > MySql has ODBC drivers, so works nicely under Windows.
> >
> Not only that, there is also a MySQLdb module that allows you to connect
to
> MySQL databases on other machines, so a Windows Python program could (for
> example) read a local Jet (Access) database and write to a remote MySQL
> database. Python's pretty flexible, really.
>
> > > So it would be feasible for a client running Linux to connect to a NT
> web
> > > server over port 80 and then using the python CGI script pull data
from
> > both
> > > databases (say list tables in a MySQL db and a MS Acc DB [using ADO i
> > > assume]). Would this work?
> >
> > Shure.
> >
> Indeed.
>
> > > Most of what you have said (although useful) is stuff i though was
> related
> > > to perl. How is python different to perl? Are the two miles apart? -
> > i'll
> > > look through google but i would still appreciate any other input.
> >
> > You can do the same stuff in Perl.
> >
> > Actually I programmed in Perl for over a year before I got over my
> lukewarm
> > feeling over the indentation issue, and tried out Python. I deeply
regret
> > that! Seeing how much I learn and try every year in Python I kick myself
> in
> > the lower back, and imagine how much longer I could have been if I
hadn't
> > wasted a year on that other language.
> >
> > And now I find the indentation one of the great things about it.
> >
> > Working a lot in Zope which is sometimes less than adequately
documented,
> I
> > love being able to read the source and not having to worry about coding
> > styles.
> >
> Perl is, of course, a powerful language, with much available code. I
> personally find Python suits me better because it's much easier to
> comprehend somebody else's code -- not to mention my own six months after
> writing it.
>
> regards
> Steve
> --
> http://www.holdenweb.com/
>
>
>
>
More information about the Python-list
mailing list