Re: organizing your scripts, with plenty of re-use

2009-10-06 Thread catafest
I think the basically you need to write one python script name it __init__.py If you want this script may include functions to reading yours scripts from folder. Put this script in each folder and you use Margie solution . This allow you to use import from each folder . -- http://mail.python.org/m

Re: can i use the browser to show the result of python

2009-10-05 Thread catafest
On Sep 25, 12:41 pm, Hacken wrote: > I have write some python script > > i want to use browser(IE or FF) to call it, an show the returns! > > how to? Python script running under web browsers only like: python + website = django . -- http://mail.python.org/mailman/listinfo/python-list

Re: About diagram and python

2009-08-30 Thread catafest
This is the software : http://projects.gnome.org/dia/ -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL and Python

2009-08-22 Thread catafest
If I make it work, i will send the solution. Thank you ! -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL and Python

2009-08-21 Thread catafest
I don't extract data from jpegs. I wanna put some data in this (copyright of my site) ... On Aug 20, 2:01 pm, MaxTheMouse wrote: > On Aug 20, 10:23 am, catafest wrote: > > > On my photo jpg i have this : > > > Image Type: jpeg (The JPEG image format) > > Wid

Re: PIL and Python

2009-08-20 Thread catafest
On my photo jpg i have this : Image Type: jpeg (The JPEG image format) Width: 1224 pixels Height: 1632 pixels Camera Brand: Sony Ericsson Camera Model: W810i Date Taken: 2009:07:09 08:16:21 Exposure Time: 1/19 sec. ISO Speed Rating: 320 Flash Fired: Flash did not fire, compulsory flash mode. Mete

Re: How to read webpage

2009-08-02 Thread catafest
Maybe your python2.5 not working good!? But, I use python 2.6 , and i use this for your problem: import urllib html = urllib.urlopen("http://www.rediff.com/";).read() print html If you want use authenticate then... You make working urllib2 and use this >>>auth = urllib2.Request(auth_uri, authreq_d