473,396 Members | 2,002 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,396 software developers and data experts.

War chest for writing web apps in Python?

Hello

I'm thinking of using Python to build the prototype for a business web
appplication. The development and test machine is XP, while ultimate
deployment will be on a shared Unix web host.

What would you recommend I get, besides the Python engine itself? Good
IDE (Kodomo?) ? Some kind of GUI designer? Add-on's? Other tools?

Thank you.
Jul 28 '06 #1
19 1643
cygwin
http://www.cygwin.com/
try a few IDEs out to see which fits you best. IDLE ships with python,
and isn't significantly objectively worse than any other python IDE,
afaik.
GUI designers aren't necessary because there's usually so little
boilerplate code in any python toolkit, but, again, whatever works best
for you.
[wait, will you be running a GUI on a webhost?]
if you haven't selected a web framework, may i steer you towards
cherrypy? it stays out of your way more than any other web framework
i've tried. and i'm using it now to build a databased web-app for my
college.
http://www.cherrypy.org/
Vincent Delporte wrote:
Hello

I'm thinking of using Python to build the prototype for a business web
appplication. The development and test machine is XP, while ultimate
deployment will be on a shared Unix web host.

What would you recommend I get, besides the Python engine itself? Good
IDE (Kodomo?) ? Some kind of GUI designer? Add-on's? Other tools?

Thank you.
Jul 28 '06 #2
For IDEs i recommend Wing IDE (its really good but comercial.. :( ),
pydev for eclipse and also SPE.

For GUI designer... it depends of wich kind of app u'll develop.

For web apps try cherrypy.. it's wonderfull and simple... U can also
try zope and plone (the they are less simple....)

cheers

Fabio


Vincent Delporte wrote:
Hello

I'm thinking of using Python to build the prototype for a business web
appplication. The development and test machine is XP, while ultimate
deployment will be on a shared Unix web host.

What would you recommend I get, besides the Python engine itself? Good
IDE (Kodomo?) ? Some kind of GUI designer? Add-on's? Other tools?

Thank you.
Jul 28 '06 #3
On Fri, 28 Jul 2006 10:22:55 +0200,
Sybren Stuvel <sy*******@YOURthirdtower.com.imaginationwrote:
Vincent Delporte enlightened us with:
>The development and test machine is XP, while ultimate deployment
will be on a shared Unix web host.
That's just begging for huge problems. No insult intended, but it's
downright stupid to develop and test on one platform, and then deploy
on another. Every system nowadays is a Unix, except Windows. I suggest
you pick another system for development and testing.
We just did that at work (developed on the corporate-issued non-Unix
computers and then deployed on a Linux box), and had no problems at all.
In a former life, I was a long-time embedded system developer, where we
*always* developed on one platform and deployed on another. My
experience with developing on your deployment platform is that it's too
easy for platform dependencies to sneak in without being caught.

Regards,
Dan

--
Dan Sommers
<http://www.tombstonezero.net/dan/>
"I wish people would die in alphabetical order." -- My wife, the genealogist
Jul 28 '06 #4
Django(http://www.djangoproject.com/) is a nice Python based framework
for writing web applications. It comes bundled with a simple web server
that is usefull for local developing. A desciption on how to install
Django on windows can be found at
http://effbot.org/zone/django.htm#installing
- Kjell Magne
Vincent Delporte wrote:
Hello

I'm thinking of using Python to build the prototype for a business web
appplication. The development and test machine is XP, while ultimate
deployment will be on a shared Unix web host.

What would you recommend I get, besides the Python engine itself? Good
IDE (Kodomo?) ? Some kind of GUI designer? Add-on's? Other tools?

Thank you.
Jul 28 '06 #5
Vincent,

If you plant to deploy on Unix/Linux, why develop on Windows? I would
suggest to make a partition on your Windows machine and install some
popular Linux distribution (I use Ubuntu but there are others too.)

The biggest benefit will come from the fact that you will have access
to a large pre-packaged set of IDEs, utilities, libraries, python
modules, all kinds of Apache modules and so on. Mind you, there are
probably more Python IDEs and tools that work better(natively) in Linux
than in Windows (ipython and Eric3 are the ones that come to mind).
This way you can quickly try various IDEs and tools for a couple of
days to find what you like, just do 'apt-get install <my_new_ide>' (for
Debian based distros like Debian and Ubuntu that is) and your new IDE
will appear in the Programming menu.

As far as a specific IDE, I already mentioned Eric3, I think it is the
most polished one. I have tried Komodo, SPE, pydev and Emacs. I have
settled on Eric3 and sometimes I use Emacs (please don't start editor
wars over this, these are just my personal views!). I found Komodo to
be too slow on my machine, SPE was also slow, was crashing on me and
had strange gui issues, pydev works with Eclipse so you have to
install that too, also found it to have quite a few rough edges. Emacs
is actaully pretty good if you got used to the keys, but lacks basic
refactoring and other small helper tools that IDEs have. Also I
found ipython to be a very useful replacement for the standard Python
prompt.

Not sure what kind of a GUI designer you would want for a web based
application. Or is it for an administration module with a gui? In that
case you'll first have to choose the GUI toolkit. The default one that
comes with Python is Tk (Tkinter) and there are others like wxPython,
PyGTK, PyQT and so on. In general though, the time spent learning how
to design a gui with a designer could probably be used to just write
the code yourself in Python (now for Java or C++ it is a different
story... -- you can start a war over this ;-)

Hope this helps,
Nick Vatamaniuc


Vincent Delporte wrote:
Hello

I'm thinking of using Python to build the prototype for a business web
appplication. The development and test machine is XP, while ultimate
deployment will be on a shared Unix web host.

What would you recommend I get, besides the Python engine itself? Good
IDE (Kodomo?) ? Some kind of GUI designer? Add-on's? Other tools?

Thank you.
Jul 28 '06 #6
On Fri, 28 Jul 2006 08:06:10 +0200, Vincent Delporte
<ju*****@acme.comwrote:
(snip)

Thanks everyone for the input!

For the IDE: Ideally, I'd like something modern that uses language
wordlists (to show syntax, variables, etc. in different colors), a
window that lists all the procedures so I can easily jump from on to
the other, possibly an edit window that can fold code with the
familiar + sign in the left side, etc. I'll check out WingIDE and
Eric3.

For the GUI builder: It's just that I'm used to Delphi, ie. drawing
the interface with a mouse, but I guess the equivalent is just a
WYSIWYG HTML editor like DreamWeaver etc.

For the application engine: Indeed, I hesitate between CherryPy and
Django, as I've read a lot of nice things about both.

Hopefully, finding web hosters that support Python and those
frameworks won't be an issue?

Thanks.
Jul 28 '06 #7
On Fri, 28 Jul 2006 13:03:25 +0200,
Sybren Stuvel <sy*******@YOURthirdtower.com.imaginationwrote:
Dan Sommers enlightened us with:
>We just did that at work (developed on the corporate-issued non-Unix
computers and then deployed on a Linux box), and had no problems at
all. In a former life, I was a long-time embedded system developer,
where we *always* developed on one platform and deployed on another.
My experience with developing on your deployment platform is that
it's too easy for platform dependencies to sneak in without being
caught.
I agree with you there. My bet is that you also *tested* on the
deployment platform, though.
You win that bet. (We actually tested on both platforms.) *Not*
testing on the deployment platform is *definitely* asking for trouble.

Regards,
Dan

--
Dan Sommers
<http://www.tombstonezero.net/dan/>
"I wish people would die in alphabetical order." -- My wife, the genealogist
Jul 28 '06 #8
I'm thinking of using Python to build the prototype for a business web
appplication. The development and test machine is XP, while ultimate
deployment will be on a shared Unix web host.

What would you recommend I get, besides the Python engine itself? Good
IDE (Kodomo?) ? Some kind of GUI designer? Add-on's? Other tools?

Thank you.
If you plant to deploy on Unix/Linux, why develop on Windows?
Because it's worth it. And faster. Read below.
just do 'apt-get install <my_new_ide>' (for
Debian based distros like Debian and Ubuntu that is) and your new IDE
will appear in the Programming menu.
Nah I prefer to search half an hour on google, download an exe-installer
for which I'll never see what it does or contain, double clic on it to launch
installation procedure, clic 15 times on "ok" and I'm done.
On the other hand aptitude is the worst thing ever for dependencies and
that kind of stuff.

Best Regards,
Rob
Jul 28 '06 #9
On Fri, 28 Jul 2006 17:31:47 -0400, Dan Sommers <me@privacy.net>
wrote:
>You win that bet. (We actually tested on both platforms.) *Not*
testing on the deployment platform is *definitely* asking for trouble.
I did intend to validate it on the deployment platform. It's just that
I prefer to work in Windows than Linux.
Jul 28 '06 #10
On Fri, 28 Jul 2006 17:33:00 GMT, Dennis Lee Bieber
<wl*****@ix.netcom.comwrote:
>Well, syntax color coding, and block folding are supported by
PythonWin (comes with the ActiveState Windows install) and SciTE.

The structural browser isn't as easy...
Thanks for the input.
Jul 28 '06 #11
Aptitude, are you still using that? Just use Synaptic on Ubuntu. The
problem as I wrote in my post before is that for some IDEs you don't
just download an executable but because they are written for Linux
first, on Windows you have to search and install a lot of helper
libraries that often takes quite a bit of time.

And why do you want to spend half an hour searching for stuff when you
can do just spend 1 minute in a nice graphical installer or use apt-get
install on the command line to install it.

I am using Ubuntu primarily because it has the .deb system which I
found to be much better mentained and which deals with dependecies a
lot better.

Nick V.

Rob Sinclar wrote:
I'm thinking of using Python to build the prototype for a business web
appplication. The development and test machine is XP, while ultimate
deployment will be on a shared Unix web host.
>
What would you recommend I get, besides the Python engine itself? Good
IDE (Kodomo?) ? Some kind of GUI designer? Add-on's? Other tools?
>
Thank you.
If you plant to deploy on Unix/Linux, why develop on Windows?
Because it's worth it. And faster. Read below.
just do 'apt-get install <my_new_ide>' (for
Debian based distros like Debian and Ubuntu that is) and your new IDE
will appear in the Programming menu.
Nah I prefer to search half an hour on google, download an exe-installer
for which I'll never see what it does or contain, double clic on it to launch
installation procedure, clic 15 times on "ok" and I'm done.
On the other hand aptitude is the worst thing ever for dependencies and
that kind of stuff.

Best Regards,
Rob
Jul 29 '06 #12
On Saturday 29 July 2006 03:43, Nick Vatamaniuc wrote:
Aptitude, are you still using that? Just use Synaptic on Ubuntu. The
problem as I wrote in my post before is that for some IDEs you don't
just download an executable but because they are written for Linux
first, on Windows you have to search and install a lot of helper
libraries that often takes quite a bit of time.

And why do you want to spend half an hour searching for stuff when you
can do just spend 1 minute in a nice graphical installer or use apt-get
install on the command line to install it.

I am using Ubuntu primarily because it has the .deb system which I
found to be much better mentained and which deals with dependecies a
lot better.

Nick V.
Synaptic is using aptitude as back-end (this is serious).
I also find deb system being the best. Managed with aptitude, not apt.
Windows is definitely worth the effort.

Best Regards,
Rob
Jul 29 '06 #13
In <ma***************************************@python. org>, Rob Sinclar
wrote:
Synaptic is using aptitude as back-end (this is serious).
Why can I deinstall aptitude without deinstalling synaptic then!?

Ciao,
Marc 'BlackJack' Rintsch
Jul 29 '06 #14
Synaptic is using aptitude as back-end (this is serious).

No. It uses apt.
I also find deb system being the best. Managed with aptitude, not apt.
Windows is definitely worth the effort.
aptitude as well as synaptic both depend transitive upon debconf, which
depends on apt.

Use

apt-cache dotty synaptic

to explore the dependency-graph.

Diez
Jul 29 '06 #15
Synaptic is using aptitude as back-end (this is serious).
>
Why can I deinstall aptitude without deinstalling synaptic then!?

Ciao,
Marc 'BlackJack' Rintsch
Hi,
This is because Aptitude is an independant console application
that is very useful to users working on linux machines without
X server installed.

Synaptic is the interface which leads the underlying application.
Synaptic is often installed with a
$ aptitude install synaptic

Best Regards,
Rob
Jul 29 '06 #16
Sybren Stuvel wrote:
Vincent Delporte enlightened us with:
I'm thinking of using Python to build the prototype for a business
web appplication.

Why just the prototype?
I don't know about Vincent, but I once worked in a "C++" shop where all
other languages were actively discouraged. I would build my prototypes
in Python to show proof of concept because I could do it quickly. It
was also nice to show project managers so they could verify it was what
they wanted us to build before we dedicated a full time effort to
development.

I recall once prototype I created in wxWindows; when I showed it to my
boss he exclaimed "That's Python!?". He was amazed because it looked
just like the windows apps we developed!

Having moved on to another company where we develop in Python
full-time, I hear my former shop now has many Python (and Perl and
Java) programmers.

Jul 29 '06 #17
In <ma***************************************@python. org>, Rob Sinclar
wrote:
Synaptic is using aptitude as back-end (this is serious).

Why can I deinstall aptitude without deinstalling synaptic then!?

This is because Aptitude is an independant console application
that is very useful to users working on linux machines without
X server installed.
I know what aptitude is…
Synaptic is the interface which leads the underlying application.
…but I ask why I can deinstall it and still use synaptic if it's using
aptitude as back-end as you seriously claim!?

Ciao,
Marc 'BlackJack' Rintsch
Jul 29 '06 #18
Nick Vatamaniuc schreef:
I found Komodo to
be too slow on my machine, SPE was also slow, was crashing on me and
had strange gui issues,
I hope you didn't install SPE from the MOTU repositories with synaptic
or apt-get. I use SPE myself daily on Ubuntu and wrote this howto
install SPE on Ubuntu:
http://www.ubuntuforums.org/showthre...light=wxpython

I know that others are running SPE on Ubuntu without problems. The main
point is not to use SPE from the repositories, but from the SPE
website. If the howto is too much just download the -nosetup.zip

Stani
--
http://pythonide.stani.be

Jul 29 '06 #19
Stani,

Thanks. I'll definetly give SPE another try.
You have a great editor with features that others don't have.
I'll try it with the latest wxPython.

I never really thought SPE was the problem, it seemed like a lot of
issues I saw were from wxWidgets...

Nick V.

SPE - Stani's Python Editor wrote:
Nick Vatamaniuc schreef:
I found Komodo to
be too slow on my machine, SPE was also slow, was crashing on me and
had strange gui issues,

I hope you didn't install SPE from the MOTU repositories with synaptic
or apt-get. I use SPE myself daily on Ubuntu and wrote this howto
install SPE on Ubuntu:
http://www.ubuntuforums.org/showthre...light=wxpython

I know that others are running SPE on Ubuntu without problems. The main
point is not to use SPE from the repositories, but from the SPE
website. If the howto is too much just download the -nosetup.zip

Stani
--
http://pythonide.stani.be
Jul 29 '06 #20

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

Similar topics

0
by: Ted Gill | last post by:
Platform: Windows ME Python version: 2.3.2-1 Problem: Running GUI apps in Idle does not work. When executing GUI (tkinter/pmw) apps from the edit windows or doing an "import <file>" in the...
17
by: Bart Nessux | last post by:
I understand that most people write functions to reuse code, no? So, I assume it would be better to write functions that are very specific, as opposed to those that are more generic. However, I...
14
by: mirnazim | last post by:
Hi, There are great Python Web Application Framework. But most of them are meant for content oriented web apps. Is there something that can ease the development of application that are not...
4
by: WX | last post by:
I love Python, and the unicode support is wonderful. The character set I am using is the Hindi/Devanagari character set at unicode range U+901.) I have TWO newbie questions: (#1) If I paste...
385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
20
by: Vincent Delporte | last post by:
Hello I'm about to write a prototype for a business application, but since this my first real web application, I'm looking for a good book or article that sums up the different issues web...
6
by: Mizipzor | last post by:
Hi, this is my first mail to the list (and any list for that matter) so any pointers on errors from my part would be appreciated. Im more used to forums. To start off, Ive read some python...
8
by: Can2002 | last post by:
I've been trying to put together an application to change channel on a media streaming server. The server is able to issue IR commands to its attached equipment using LIRC, with commands being...
1
by: Devraj | last post by:
Hi everyone, Is it possible to write UI code in XUL for a GTK Python application? I found NuFox, which does the reverse (lets me write Python to generate XUL) Thanks.
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.