473,387 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Website Creation using Python

Afternoon,

I would like some help on how to create a website using the python
programming language.
I've tried using enamel, but had some problems because I could not
create html tables and intergrating it with python, like you use it
when coding in php.

Any help would be appreciated.

Thanks
Jul 21 '08 #1
2 1916
Amie wrote:
Afternoon,

I would like some help on how to create a website using the python
programming language.
I've tried using enamel, but had some problems because I could not
create html tables and intergrating it with python, like you use it
when coding in php.

Any help would be appreciated.

Thanks
Python is not PHP. Page generation is done differently. You might take a look
at Django's web framework:

http://www.djangoproject.com/

or

http://pylonshq.com/
WARNING - Python web frameworks are MUCH more powerful than just using PHP to
place some dynamic content on a web page. For many people, PHP will still be an
easy to implement solution if your project isn't very complex. As the
complexity grows, the need for additional power and flexibility grows also.

-Larry
Jul 22 '08 #2
On Jul 22, 12:44*am, Amie <sthembileng...@gmail.comwrote:
I would like some help on how to create a website using the python
programming language.
I've tried using enamel, but had some problems because I could not
create html tables and intergrating it with python, like you use it
when coding in php.
If you're familiar with the PHP approach and are planning on using
Apache, you might find mod_python and Python Server Pages more
accessible:

* http://en.wikipedia.org/wiki/Mod_python
* http://www.onlamp.com/pub/a/python/2...ver_pages.html

There are a *lot* of web frameworks for Python (I hadn't even heard of
Enamel prior to your post) which provide varying degrees of support
and ease of use, there's a nice overview here:

* http://wiki.python.org/moin/WebFrameworks

Django does seem to be leading in terms of popularity atm. Having
developed an application in TurboGears, I can testify that having a
large user base to draw support help from can be -very- handy.

Hope this helps.

- alex23
Jul 22 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: paul h | last post by:
hi there, i'm learning to use python for cgi, and i've hit a few road blocks. basically, i need to know how to achieve the following things using python, on linux. create a new directory, and...
5
by: [ EuGeNe ] | last post by:
Hi all, I would like to write a script that downloads one file from a ftp server if the file creation date satisfy a condition. I can't figure out how to find from a ftp server what is the...
10
by: Harry Slaughter | last post by:
I've got a client who wants to see some immediate results on a brand new website. within a week, they'd like to see the following: 1) basic user authentication (using php sessions/cookies to...
2
by: David Fickbohm | last post by:
People, I am trying to determine the creation date of files in a folder. I am using the following code to find the folder and confirm that files exist in the folder. If someone could give me an...
5
by: Tompa | last post by:
Hi, I would like to create images on the fly as a response to an http request. I can do this with PIL like this (file create_gif.py): from PIL import Image, ImageDraw print 'Status: 200 OK'...
0
by: vasudevram | last post by:
Hi group, xtopdf: PDF creation / conversion toolkit: alpha release of v1.3 This is actually a somewhat preliminary announcement, but may be of interest to developers / users who know Python...
3
by: ALEXURC | last post by:
I'm looking for a simple method to delete a folder after 72 "Business hours" (saturday/sunday doesnt count) since its creation. Note that This is on a linux system and I realize that it will be the...
4
by: John Straumann | last post by:
Hello all: Most of my development for websites has been on test VPC images where VS is installed on the server image. I now have a setup where I have a test server joined to my domain, and a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.