Re: Wing in mod_python vs wsgi?

2011-02-08 Thread Doug Epling
I don't know about your IDE, I am using the default IDLE just because it 
is handy.  But I have made the switch from mod_python.  It was a good 
idea, but mod_wsgi is a better idea.  And as you know, mod_python is no 
longer supported.


I am running Apache with mod_wsgi in a windows 7 environment -- I am 
working on implementing Pylons.


Also, I have another Apache server with mod_wsgi serving a MoinMoin 
wiki.  This one is on a good os -- Fedora.


On 2/8/2011 6:57 PM, Tom Stambaugh wrote:

I'm still using mod_python to deploy my framework for production (CentOS
running Python 2.5.5, Apache 2.2.3, mod_python 3.3.1). I'm acutely aware
of how elderly mod_python is, and I've had some frustrations using Wing
to debug inside it -- at least its possible, which is not true for any
other Python IDE I've tried.

Does Wing do better in mod_wsgi? Is it time for me to migrate from
mod_python to mod_wsgi?

Has anybody tried to do this (mod_wsgi and apache) in a Windoze
environment?

Thx,
Tom S.


--
http://mail.python.org/mailman/listinfo/python-list


Re: Which non SQL Database ?

2011-02-11 Thread Doug Epling

On 12/4/2010 5:42 PM, Jorge Biquez wrote:

Hello all.

Newbie question. Sorry.

As part of my process to learn python I am working on two personal
applications. Both will do it fine with a simple structure of data
stored in files. I now there are lot of databases around I can use but I
would like to know yoor advice on what other options you would consider
for the job (it is training so no pressure on performance). One
application will run as a desktop one,under Windows, Linux, Macintosh,
being able to update data, not much, not complex, not many records. The
second application, running behind web pages, will do the same, I mean,
process simple data, updating showing data. not much info, not complex.


So, why not LDAP?


As an excersice it is more than enough I guess and will let me learn
what I need for now.
Talking with a friend about what he will do (he use C only) he suggest
to take a look on dBase format file since it is a stable format, fast
and the index structure will be fine or maybe go with BD (Berkley)
database file format (I hope I understood this one correctly) . Plain
files it is not an option since I would like to have option to do rapid
searches.

What would do you suggest to take a look? If possible available under
the 3 plattforms.

Thanks in advance for your comments.

Jorge Biquez



--
http://mail.python.org/mailman/listinfo/python-list


Another related OO Python ?

2011-02-11 Thread Doug Epling
hey, does anyone find the UML useful during Python development of larger 
projects?

--
http://mail.python.org/mailman/listinfo/python-list


Re: newbie question about PYTHONPATH

2011-02-19 Thread Doug Epling
The best way I have found is to place that definition of your PYTHONPATH 
in your .bash_profile in your home directory and export it from there.


PYTHONPATH=/home/foo/prog/learning_python

export PYTHONPATH

  This way your PYTHONPATH is picked up each time you log on.  You 
might have to restart IDLE for the changes you mention below to take effect.



On 2/15/2011 12:49 PM, Tim Hanson wrote:

I am to the point in _Learning_Python_  where functions are introduced.

I decided to experiment by putting a function into  a file and importing it
into Idle.  Of course, Idle couldn't find it, so I executed the following
command in Bash:

PYTHONPATH=/home/foo/prog/learning_python
export PYTHONPATH
env | grep PYTHONPATH

~$PYTHONPATH=/home/foo/prog/learning_python

Idle still won't find it.  I'm doing something wrong?


--
http://mail.python.org/mailman/listinfo/python-list