Re: Best IDE for Python

2006-08-15 Thread Keith Perkins
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
>> Hi All, What do you find the best IDE for creating web applications in
>> Python is? Preferably FOS IDE.
>>
>> Cheers
> 
> I like ActiveState's Komodo.  It's heavyweight and not free ($30 for
> the personal edition) but it also supports Perl, Ruby, PHP and TCL.  I
> started using it mostly on Windows but I've used it on Linux more
> recently (and it runs on Solaris and OSX now too).
> It has all the bells and whistles and probably won't appeal too much to
> hardcore emacs/vim people because it is so GUI oriented and nowhere
> near as fast.  Also, it's text editor is similar to the ones you get
> with other popular IDE's like MS DevStudio and Eclipse i.e. not very
> powerful.
> I've used it extensively with Python and it handles whitespace
> indentation beautifully.  I like that it also supports Perl because I
> use Perl quite a bit too.
> That being said, I'm going to give Wing IDE a try at some point soon.
> 
Have you tried SPE (Stani's Python Editor) http://stani.be/python/spe/
Free, and available for Linux, Mac, and Windows.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re:

2006-08-21 Thread Keith Perkins
 wrote:
> Hi guys,
> 
> we are looking for a python developer for a European project. This
> project is multilangual and free it is called EuroCv and it need a
> module for exporting data in PDF. As web developer I try to create this
> module but It's too complicate for me. Check out the service
> www.eurocv.eu for more details. Contact us by Skype chat system our
> nick is eurocv.
> 
> Thanks
> 
have you looked at the reportlab module? http://www.reportlab.org/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: can't open chm files all of a sudden

2006-10-04 Thread Keith Perkins
On Wed, 04 Oct 2006 16:34:43 +, Dennis Lee Bieber wrote:

> On Wed, 04 Oct 2006 15:55:11 GMT, John Salerno
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
> 
>> the files in a day or two). All I've installed/uninstalled since then 
>> was HTML Kit. I'm not on a network, it's just me. I redownloaded the chm 
>> file for Python24 and it does the same thing.
>>
>   Try some other help files... I'd be likely to suspect it was HTML
> Kit that overlayed some DLL in the help system...
> 
> (Yeesh -- Just looked at the HTML Kit home page... In the words of Clara
> Peller "Where's the beef?"...  Lots of glitzy public relations copy, but
> no details on exactly what it does, what tools it competes with, etc.)

I used HTMLKit when I still used Windows, and liked it a lot.  It's really
a great HTML/PHP, etc. editor, if you can get past the front page.
That being said (if I remember correctly) hh.exe is a part of htmlkit, and
may have been the the cause of your problem by making itself the default
chm reader. (Check your settings under files to see what you have as the
default reader now. (and sorry, forgot how to do that, it's been almost
two years since I've had to fiddle with Windows, so I'm not sure of the
exact place to check for it.))
Keith
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: another distutils question

2006-09-29 Thread Keith Perkins
On Fri, 29 Sep 2006 13:53:46 -0400, Eric S. Johansson wrote:

> is there anyway I can, in a setup.py file, set  and internal equivalent 
> to the '--install-scripts' commandline option?
> 
> script installation directory but I don't want on the command line where 
> things can go horribly wrong if the user forgets.  I would like to 
> create a new default setting  for this commandline option as well as a 
> couple of other such as the data default directory.
> 
> --- eric

On a similar note , I have another question about distutils and data files.
I have a little program that uses a txt file to store data, and it works
fine running it in it's own folder, if I install through distutils, using
sudo to get it to write to the site-packages folder (which root owns), it
installs the data file so that it is owned by root, and not by me, so
that the data file can't be written to (although the script can read it).
Do I need to run a post install script, or add something to setup.py file
to chown the file or am I doing something wrong?  There doesn't seem to be
anything on this in the docs.  
Thanks in advance,
Keith

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


Re: another distutils question

2006-09-29 Thread Keith Perkins
On Fri, 29 Sep 2006 18:57:12 -0500, Robert Kern wrote:

> Keith Perkins wrote:
> 
>> On a similar note , I have another question about distutils and data files.
>> I have a little program that uses a txt file to store data, and it works
>> fine running it in it's own folder, if I install through distutils, using
>> sudo to get it to write to the site-packages folder (which root owns), it
>> installs the data file so that it is owned by root, and not by me, so
>> that the data file can't be written to (although the script can read it).
>> Do I need to run a post install script, or add something to setup.py file
>> to chown the file or am I doing something wrong?  There doesn't seem to be
>> anything on this in the docs.  
> 
> There's nothing in distutils specifically that will let you do this. The root 
> user will have to chown/chgrp/chmod/chwhatever the package that you installed 
> manually.
> 
> You shouldn't use package data for things that are going to be modified. 
> Instead, use a directory like ~/.myscript/ or something else.

I did install it in ~/.script/data.txt, and distutils set the
user/group as root.  Is it impossible to install this with distutils?
Since I'm running setup as root, should I just add a class or method to
chown the datafolder/file to the installer. Should I use autotools
instead? I haven't looked into eggs yet would that be a better choice? The
data file is something that is necessary for the program (it reads it and
prints out a random line--the whole idea of the script)if that's all I
wanted it to do I wouldn't have any problems--I could even include it as a
list in the script file, but I would like the user to be able to add other
data. 
Thanks,
Keith
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: another distutils question

2006-09-30 Thread Keith Perkins
Thanks everyone, for your answers.  They've been very helpful.
Keith
-- 
http://mail.python.org/mailman/listinfo/python-list