RE: [Suspected Spam] Redoing a C/CGI web app in Python/Django?

2011-04-13 Thread Sells, Fred
[mailto:django-users@googlegroups.com] On Behalf Of Graeck Sent: Tuesday, April 12, 2011 7:15 PM To: Django users Subject: [Suspected Spam] Redoing a C/CGI web app in Python/Django? Hi all, Just looking for input ... tips, suggestions, etc. We have an old web app written in C using CGIs. All the html

Re: Redoing a C/CGI web app in Python/Django?

2011-04-13 Thread Graeck
Thanks, I think that might be what I was looking for. On Apr 13, 7:10 am, lilspikey wrote: > You could refactor the C code into a library, then call it from > Django. > > There are several ways to interface with a C library in Python, but > you might want to look at ctypes:

Re: Redoing a C/CGI web app in Python/Django?

2011-04-13 Thread lilspikey
You could refactor the C code into a library, then call it from Django. There are several ways to interface with a C library in Python, but you might want to look at ctypes: http://docs.python.org/library/ctypes.html It means you don't have to write extra C code just to do the interfacing.

Redoing a C/CGI web app in Python/Django?

2011-04-12 Thread Graeck
Hi all, Just looking for input ... tips, suggestions, etc. We have an old web app written in C using CGIs. All the html is generating in the C code using print statements. It's become almost impossible to do anything other than make very minor UI changes due to the complexity of the code and