By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

Need Help Starting Out

P: n/a
Hi, I would like to start using Python, but am unsure where to begin.
I know how to look up a tutorial and learn the language, but not what
all technologies to use. I saw references to plain Python, Django,
and other things.

I want to use it for web building with database access. What do I use
for that? Does it matter what I use on the client side (mootools, or
whatever)?

My rational for using Python is because I am hoping it will allow me
to better understand other python programs in other areas, not just
web. I have used other languages for web apps for several years.
Truth is that I always wanted to learn Python and have heard it was a
good thing to know.

Thank you.
Mar 18 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi, I would like to start using Python, but am unsure where to begin.
I know how to look up a tutorial and learn the language, but not what
all technologies to use. I saw references to plain Python, Django,
and other things.
Hi,

For database stuff you can plug directly into either MySQL or SQLite.
For MySQL you need to install a third party library which you can get
from:

http://sourceforge.net/projects/mysql-python

I think SQLite support is now included in Python 2.5, all you need to
do is type "import sqlite3", and away it goes. You will of course need
to install SQLite, just search for it online. I found SQlite more than
sufficient for any single user non-web based apps. On the client side
you can use these library and if you like build a free standing app to
run everything.

For GUI toolkits you can do worse than download and install wxPython,
which again is free (www.wxpython.org). If you want to dabble in games
programming there is also PyGame.

If you want to build free standing applications you can use Py2Exe
(Windows) and Py2App (Mac), just Google them and they will appear. You
may at times find Python a little slow, and you can even get round
that problem in Windows and Intel based Macs by using Psyco (again
just Google). It can speed up your code by quite a large margin.

Hope these help you get started...

Rod
Mar 18 '08 #2

P: n/a
On Tue, 18 Mar 2008 09:27:46 -0700 (PDT)
rodmc <us***************@yahoo.co.ukwrote:
>
Hi, I would like to start using Python, but am unsure where to begin.
I know how to look up a tutorial and learn the language, but not what
all technologies to use. I saw references to plain Python, Django,
and other things.

Hi,

For database stuff you can plug directly into either MySQL or SQLite.
Or PostgreSQL.
For MySQL you need to install a third party library which you can get
from:

http://sourceforge.net/projects/mysql-python
And there are many interfaces for PostgreSQL including PyGreSQL which
I maintain at http://PyGreSQL.org/
Hope these help you get started...
And don't forget the tutorial on the Python web site.

--
D'Arcy J.M. Cain <da***@druid.net | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
Mar 18 '08 #3

P: n/a
jmDesktop a écrit :
Hi, I would like to start using Python, but am unsure where to begin.
I know how to look up a tutorial and learn the language, but not what
all technologies to use. I saw references to plain Python, Django,
and other things.

I want to use it for web building with database access. What do I use
for that? Does it matter what I use on the client side (mootools, or
whatever)?
Your best bets are probably Django, Pylons or web.py. But you should
learn enough of the core language itself before jumping in web stuff IMHO.
Mar 19 '08 #4

P: n/a
Your best bets are probably Django, Pylons or web.py. But you should
learn enough of the core language itself before jumping in web stuff IMHO.
Yes, a good point.

If you are looking for general info then then "Dive Into Python" (a
link is on the Python website) is a good start for people who are
familiar with other programming languages. Otherwise I also found
"Python in a Nutshell" useful.

rod
Mar 19 '08 #5

P: n/a
On Tue, Mar 18, 2008 at 11:10 AM, jmDesktop <ne***********@gmail.comwrote:
Hi, I would like to start using Python, but am unsure where to begin.
I know how to look up a tutorial and learn the language, but not what
all technologies to use. I saw references to plain Python, Django,
and other things.

I want to use it for web building with database access. What do I use
for that? Does it matter what I use on the client side (mootools, or
whatever)?
If you are going to be developing web applications, there are many
excellent frameworks available, all of which provide database support.
If you are looking to develop desktop applications, you should check
out Dabo (http://dabodev.com). They integrate data access and GUI
controls, making it simple to create database apps. They use wxPython
for the UI layer, but hide all of its ugliness, allowing you to
program to a clean, consistent API for your GUI.
--

# p.d.
Mar 19 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.