Re: Eclipse, Python, wxPython and code completion
On 10 aug, 20:42, [EMAIL PROTECTED] wrote: Hello, I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The problem is that I can't get code completion for wx module. I don't know if it occurs the same with other libraries outside the python core. If I compile/run my code containing the wx library, I get an application running correctly, so it looks that definition works fine. Obviously, the obstacle is that I don't know (I don't want to either) the name of every method of every wxPython class so it's difficult to develop anything within this environment. Thanks a lot Note: I'm a newbie-coming-from-Billy's-WindowsXP You can try SPE which is written in wxPython itself and has very good code completion for wxPython. It also includes some wxPython GUI builders such as wxGlade and XRCed. I improved it a lot for Hardy, which I use myself: sudo apt-get install spe Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: Chandler 1.0
On 10 aug, 04:54, Heikki Toivonen hjtoi-better-remove- [EMAIL PROTECTED] wrote: The Chandler Project is pleased to announce the release of Chandler Desktop 1.0! Congratulations! The Chandler Project is an open source, standards-based information manager designed for personal use and small group collaboration. As an open source project please be kind to Linux users and provide also your screencasts in open source video standards such (as ogg video) instead of only mov and flash. Thanks, Stani -- http://mail.python.org/mailman/listinfo/python-list
Learn python packaging for Ubuntu and Debian in the Ubuntu Open Week
Hi All, If you wrote some python code that you want to package or know a cool python application of which you like to make a deb installer, the python packaging session is all for you! Do you develop some cross- platform open source software and you want to give its popularity a boost by bringing it to Ubuntu and Debian, read on! (Packages are what installers are for Windows.) This session will be hosted by the respected Emilio (pochu). I've worked closely together with him (and others of the Debian PAPT team like POX ScottK) to make sure these packages landed well in Ubuntu Hardy and Debian Unstable: - Phatch (sudo apt-get install phatch, http://photobatch.stani.be) - SPE (sudo apt-get install spe, http://pythonide.stani.be) I've requested this session as I found there was almost no information available tailored for python coders. I hope many people will attend. The logs will be available here: https://wiki.ubuntu.com/MeetingLogs/openweekhardy/PythonPackaging The complete program of the Ubuntu Open Week is available here: https://wiki.ubuntu.com/UbuntuOpenWeek Feel free to comment or questions ahead of this session on this thread. I am sure Emilio will read this thread. See you there! Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Learn python packaging for Ubuntu and Debian in the Ubuntu Open Week
I forgot an important detail... This session will be hosted Thu 1 May at 21.00 UTC on IRC in #ubuntu- classroom. -- http://mail.python.org/mailman/listinfo/python-list
PHATCH: PHoto bATCH processor with EXIF and IPTC support for all platforms
Phatch is a simple to use cross-platform GUI Photo Batch Processor Phatch handles all popular image formats and can duplicate (sub)folder hierarchies. It can batch resize, rotate, apply perspective, shadows, rounded corners, ... and more in minutes instead of hours or days if you do it manually. Phatch allows you to use EXIF and IPTC tags for renaming and data stamping. Phatch also supports a console version to batch photos on web servers. What is new? Until Phatch could only save EXIF and IPTC tags on Linux. Now this feature is available for all platforms hanks to the work of Robin Mills who managed to compile pyexiv2 and all its dependencies and get it to work on MacOS X (Tiger and Leopard, PPC and Intel) and x86 Windows. You can grab the libraries from here: http://www.clanmills.com/articles/gpsexiftags/ (Look for Download the libraries click here somewhere in the middle). I have not tested this myself yet, but assumes that it will work. Any volunteers to test this with Phatch Homepage: http://photobatch.stani.be (free download link below) Tutorials: http://photobatch.wikidot.com/tutorials Translations: https://translations.launchpad.net/phatch/trunk/+pots/phatch License: GPLv3 Screenshot: http://photobatch.wikidot.com/local--files/start/Screenshot-Phatch3d.jpg (the perspective and reflection is produced by Phatch itself) Phatch has many features, like: - EXIF information inspector with thumbnail - limit jpeg file size when saving - tons of actions organized by tags (including perspective, round corners, shadow, reflection, ...) - console version (Phatch can now run without a gui on servers) - batch rename and copy files based on exif metadata - data stamping (http://photobatch.wikidot.com) - online documentation wiki (http://photobatch.wikidot.com) - desktop or panel droplets on which images or folders can be dropped (available on Linux Windows) Linux only features: - Nautilus and desktop integration (with its own mime type and nautilus extension) - manpage with examples With python-pyexiv2 the following featues are added: - embedding the original EXIF and IPTC tags in the image You can install Phatch for any platform if you read these instructions first: http://photobatch.wikidot.com/install -- http://mail.python.org/mailman/listinfo/python-list
Re: Stani's python ide 'spe' editor problem
Did you try to remove the .spe folder from your c:\Documents Settings \username folder? Stani On Apr 9, 6:16 pm, Rick King [EMAIL PROTECTED] wrote: Hi everyone, The editor inspeon my system (win XP home sp2) does not do automatic indentation. I can't figure out why - it used to. I'm set up with subversion so I have the very latest stuff from Stani. It's amazing how not having automatic indentation can make working in the ide such a pain. This has been going on for a while (like a few years), and the situation is deteriorating - used to be that the indentation would work for a while after restarting my system and then stop (until the next restart). Now, with his latest stuff, it doesn't work at all. Because it used to reset with a restart, it must have something to do with a dll, like the scintilla editor dll? But that's kind of hard to believe: why would the editor dll care about indentation? Anyway, I am extremely frustrated. I've tried other ide's: pythonwin (I found it inadequate for my purposes - why is a command line prompt displayed in a dialog window?) - eclipse (editor is just ok, shell does not have command history(!), and then *really* funky things started happening that I could not explain and so had to stop using it) - idle is good for small things and ok for larger projects but limited in general. I really likespeand want to continue using it. Stani himself seems pretty unreachable. Does anyone have a clue for me about what the issue is? Is no one else using this great ide? Or is no one else having this problem? Thanks for any help. -Rick King Southfield MI -- http://mail.python.org/mailman/listinfo/python-list
Re: Wxpython. Is it possible to change layout in a running application? Selfmade listbox
On Apr 7, 2:54 pm, Mike Driscoll [EMAIL PROTECTED] wrote: On Apr 7, 6:50 am, Soren [EMAIL PROTECTED] wrote: Hi, Id like to make my own special listbox.. I want to able (at the push of a button) to add another item to my special listbox... each item is a panel with a label, some buttons and maybe a text control. I've tried adding a new panel object with the stuff i want to the sizer i'm using for my listbox (which is a panel which can contain other panels)... and then run update() and refresh() on everything... But it doesn't work.. i see a panel appearing, but it's just a small square in the corner of my listbox panel, and it only works the first time... nothing new appears when I push the button again. Is it at all possible to do this? Has anyone created something similar? Does anyone know what i'm doing wrong? To remove any doubt, yes this is possible. I guess you forgot to call the Layout method of the sizer (only update or refresh won't help). Also, you will probably receive more help at the wxPython specific list, found here: http://wxpython.org/maillist.php That is indeed the best list for wxpython related issues. Good luck, Stani -- Phatch - Photo Batch Processor - http://photobatch.stani.be SPE - Python Editor - http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Please test Phatch on Windows (was Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL)
Hi Steve, Thanks for the confirmation. It is indeed good news. Feel free to send me privately some screenshots. BTW, I just released Phatch 0.1.3 which is the final version for Ubuntu Hardy. Stani On Mar 31, 3:44 am, Steve Holden [EMAIL PROTECTED] wrote: Stani: You'll be happy to hear that it appears (after a quick test) to work on Vista, though I blush to admit I actually have a Python running on that platform. The font selection is much better than in previous versions - although the names aren't quite the full font names it's pretty easy to tell which one will be used. regards Steve SPE - Stani's Python Editor wrote: I have been working the last couple of days purely on bug fixing and to port the code ofPhatchfully to Windows as there were many issues. This has improved: -Phatchcan now create droplets on Windows (win32 extensions required) - Installed fonts are retrieved from the Windows registry - Image file dialogs are now working correctly - Missing icons are added (including aphatch.ico) and are now displayed in the windows titlebars - Image Inspector was missing a panel - Preview in Image Inspector now displays correctly - (...) Besides thatPhatchnow features for all platforms: - fonts can be defined with a nice dropdown autocomplete list - drop down lists with convenient values in all actions - the action masks now ships with some predefined masks (such as torn edges) - right click in the actions dialog box to see the source of an action - ViewDroplet nows shows the name of the action box rendered in the logo - Dutch translation is 100% complete As such no new features have been added, but the user experience feels much more polished now. Please read *carefully* the installation instructions first: http://photobatch.wikidot.com/install#toc6 People who have been usingPhatchbefore should clear their font cache (if it exists). Simply delete the file: C:\Documents and Settings\Username\.phatch\fonts I did thePhatchport on a Windows 2000 machine, so I am curious to hear howPhatchworks on Windows XP and Vista. I will fix any bug (as far as possible) which is reported quickly in the next couple of days. You can help translatingPhatchhere: https://translations.launchpad.net/phatch/trunk/+pots/phatch Thanks in advance, Stani On 18 feb, 15:58, SPE - Stani's Python Editor [EMAIL PROTECTED] wrote: I'm pleased to announce the release ofPhatchwhich is a powerful batch processor and renamer.Phatchexposes a big part of the Python Imaging Library through an user friendly GUI. (It is using python-pyexiv2 to offer more extensive EXIF and IPTC support.)Phatch is not targeted at manipulating individual pictures (such as with Gimp), but repeating the same actions on hundreds or thousands of images. If you know PIL and have some nice recipes laying around, it is very easy to write plugins asPhatchgenerates the corresponding GUI automagically just like in Django. Any existings PIL scripts can be added very easily. Let me know if you want to contribute or have any questions. Homepage:http://photobatch.stani.be(freedownload link below) Tutorials:http://photobatch.wikidot.com/tutorials Translations:https://translations.launchpad.net/phatch/trunk/+pots/phatch License: GPLv3 Screenshot:http://photobatch.wikidot.com/local--files/start/Screenshot-Phatch3d.jpg (the perspective and reflection is produced byPhatchitself) Phatchhas many features, like: - EXIF information inspector with thumbnail - limit jpeg file size when saving - tons of actions organized by tags (including perspective, round corners, shadow, reflection, ...) - console version (Phatchcan now run without a gui on servers) - batch rename and copy files based on exif metadata - data stamping (http://photobatch.wikidot.com) - online documentation wiki (http://photobatch.wikidot.com) Linux only features: - desktop or panel droplets on which images or folders can be dropped (will be ported to Windows Mac) - Nautilus and desktop integration (with its own mime type and nautilus extension) - manpage with examples With python-pyexiv2 the following featues are added: - embedding the original EXIF and IPTC tags in the image All actions mostly have a separate pil function in their source code, so they could be read as a recipe book for PIL: * Auto Contrast - Maximize image contrast * Background - Put colour under transparent image * Border - Crop or add border to all sides * Brightness - Adjust brightness from black to white * Canvas - Crop the image or enlarge canvas without resizing the image * Colorize - Colorize grayscale image * Common - Copies the most common pixel value * Contrast - Adjust from grey to black white * Convert Mode - Convert the color mode of an image (grayscale, RGB, RGBA or CMYK) * Copy - Copy image file * Effect - Blur, Sharpen, Emboss, Smooth
How to write a wxPython video player directly with Gstreamer
In the hope it will be useful for others I've posted on my blog example source code of how to integrate gstreamer directly in wxpython: wxPython ships by default with the wx.MediaCtrl for very basic playback of music or videos. As I would like to do more advanced video manipulation, I was curious if I could use Gstreamer directly in wxPython to create my own pipelines. It was surprisingly easy. For those who don't know Gstreamer, I quote the website (http:// www.gstreamer.org): GStreamer is a library that allows the construction of graphs of media- handling components, ranging from simple playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently. In order not to spam this mailing list, you can read more on http://pythonide.stani.be Best regards, Stani -- http://photobatch.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: PIL transparency gradient
On 1 mrt, 22:04, Allard Warrink [EMAIL PROTECTED] wrote: I would like to create a transparency gradient over an image using PIL. But I don't have a clue how to do this... Is there anyone out here who could give me some advise? Phatch (PHoto bATCH) is an application based on PIL. Its actions contain many useful PIL recipes, such as applying a transparency gradient to an image. You basically need to create an 1pxx256px grayscale image which goes from 0 to 255. After that you can stretch it to the image size and add it as an alpha channel. You'll find the source code for this in the phatch/actions/mask.py Every action contains a 'raw' PIL function that can work independently outside the context of Phatch. This is by design, inspired by the MVC model in which you could see PIL as the model and Phatch as the View. You can get Phatch at: http://photobatch.stani.be Read first *carefully* the installation instructions for your platform: http://photobatch.wikidot.com/install Stani -- http://mail.python.org/mailman/listinfo/python-list
Please test Phatch on Windows (was Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL)
I have been working the last couple of days purely on bug fixing and to port the code of Phatch fully to Windows as there were many issues. This has improved: - Phatch can now create droplets on Windows (win32 extensions required) - Installed fonts are retrieved from the Windows registry - Image file dialogs are now working correctly - Missing icons are added (including a phatch.ico) and are now displayed in the windows titlebars - Image Inspector was missing a panel - Preview in Image Inspector now displays correctly - (...) Besides that Phatch now features for all platforms: - fonts can be defined with a nice dropdown autocomplete list - drop down lists with convenient values in all actions - the action masks now ships with some predefined masks (such as torn edges) - right click in the actions dialog box to see the source of an action - ViewDroplet nows shows the name of the action box rendered in the logo - Dutch translation is 100% complete As such no new features have been added, but the user experience feels much more polished now. Please read *carefully* the installation instructions first: http://photobatch.wikidot.com/install#toc6 People who have been using Phatch before should clear their font cache (if it exists). Simply delete the file: C:\Documents and Settings\Username\.phatch\fonts I did the Phatch port on a Windows 2000 machine, so I am curious to hear how Phatch works on Windows XP and Vista. I will fix any bug (as far as possible) which is reported quickly in the next couple of days. You can help translating Phatch here: https://translations.launchpad.net/phatch/trunk/+pots/phatch Thanks in advance, Stani On 18 feb, 15:58, SPE - Stani's Python Editor [EMAIL PROTECTED] wrote: I'm pleased to announce the release ofPhatchwhich is a powerful batch processor and renamer.Phatchexposes a big part of the Python Imaging Library through an user friendly GUI. (It is using python-pyexiv2 to offer more extensive EXIF and IPTC support.)Phatch is not targeted at manipulating individual pictures (such as with Gimp), but repeating the same actions on hundreds or thousands of images. If you know PIL and have some nice recipes laying around, it is very easy to write plugins asPhatchgenerates the corresponding GUI automagically just like in Django. Any existings PIL scripts can be added very easily. Let me know if you want to contribute or have any questions. Homepage:http://photobatch.stani.be(free download link below) Tutorials:http://photobatch.wikidot.com/tutorials Translations:https://translations.launchpad.net/phatch/trunk/+pots/phatch License: GPLv3 Screenshot:http://photobatch.wikidot.com/local--files/start/Screenshot-Phatch3d.jpg (the perspective and reflection is produced byPhatchitself) Phatchhas many features, like: - EXIF information inspector with thumbnail - limit jpeg file size when saving - tons of actions organized by tags (including perspective, round corners, shadow, reflection, ...) - console version (Phatchcan now run without a gui on servers) - batch rename and copy files based on exif metadata - data stamping (http://photobatch.wikidot.com) - online documentation wiki (http://photobatch.wikidot.com) Linux only features: - desktop or panel droplets on which images or folders can be dropped (will be ported to Windows Mac) - Nautilus and desktop integration (with its own mime type and nautilus extension) - manpage with examples With python-pyexiv2 the following featues are added: - embedding the original EXIF and IPTC tags in the image All actions mostly have a separate pil function in their source code, so they could be read as a recipe book for PIL: * Auto Contrast - Maximize image contrast * Background - Put colour under transparent image * Border - Crop or add border to all sides * Brightness - Adjust brightness from black to white * Canvas - Crop the image or enlarge canvas without resizing the image * Colorize - Colorize grayscale image * Common - Copies the most common pixel value * Contrast - Adjust from grey to black white * Convert Mode - Convert the color mode of an image (grayscale, RGB, RGBA or CMYK) * Copy - Copy image file * Effect - Blur, Sharpen, Emboss, Smooth, ... * Equalize - Equalize the image histogram * Fit - Downsize and crop image with fixed ratio * Grayscale - Fade all colours to gray * Invert - Invert the colors of the image (negative) * Maximum - Copies the maximum pixel value * Mask - Apply a transparency mask * Median - Copies the median pixel value * Minimum - Copies the minimum pixel value * Offset - Offset by distance and wrap around * Posterize - Reduce the number of bits of colour channel * Perspective - Shear 2d or 3d * Rank - Copies the rank'th pixel value * Reflect - Drops a reflection * Rename - Rename image file * Rotate - Rotate with random angle * Round - Round or crossed corners with variable radius and corners * Saturation - Adjust saturation from grayscale
Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL
On 22 feb, 15:36, Mike Driscoll [EMAIL PROTECTED] wrote: On Feb 22, 1:41 am, Mike Driscoll [EMAIL PROTECTED] wrote: I'm confused. What needs to be compiled exactly? Are there any directions? I'm not seeing any at that website. I can give it a go if someone can give me advice. You need to compile two things: 1. the exiv2 library 2. the python-pyexiv2 bindings For the exiv2 library, you will have to dive into the project: The Windows executable provided here was compiled with the MinGW cross compiler on an Intel 32 bit machine running Debian. Maybe the exiv2 Yahoo! group is the right place to be. If you look there for Windows threads maybe some might be helpful:http://uk.groups.yahoo.com/group/exiv2/message/956 The author of python-pyexiv2 is active there as well and explains his project uses Scons:http://uk.groups.yahoo.com/group/exiv2/message/1002 I am not an expert on compiling extensions. In fact I only know Python. A windows version of exiv2 and python-pyexiv2 will only exist if some Windows programer(s) take the initiative. I have Visual Studio 6 and .NET 2003 so I think I'm good for that. I am not sure you even need it. I found here some more instructions for another project which uses libexiv2, which seems to be quite straightforward: http://albumshaper.wiki.sourceforge.net/Compiling+on+Windows I hope some Windows users could try this out. Unfortunately, I am not the best at compiling. Hopefully the links you provided will have plenty of friendly pros who don't mind sharing their wisdom. Did you have any success so far? Keep me updated. It would be nice to have EXIF and IPTC support for python on Windows. In case you can't compile, it wouldn't be so hard to write a wrapper around the provided windows executable to mimic the API of python- pyexiv2. If it does turn out that they can't help me compile, would you know how to do this? Are we talking about SWIG here? I've never written a wrapper. No I mean to do some subprocess calls. With exiv2 you extract the exif information to a temporary *.exv file. This exv file contains all metadata (inclusive type information), which should be easy to parse in python. For example to execute the command exiv2.exe -e -a, you probably need to do (untested code): from subprocess import call call(['exiv2','-e','a',filename],shell=True) #parse the exiv2 *.exv file If you are able to parse the exv file, mimicking the python-pyexiv2 library api means putting all the tags in a dictionary. Later you need to write back your dictionary to an *.exv file and inject it with exiv -i into another image file. This should you get started, here all command line options of exiv2 are defined: http://linux.die.net/man/1/exiv2 At the moment Phatch only needs to be able copy the exif tags from one image file to another, but this will change in the future as Phatch will allow modifying custom exif data, rotating based on exif iptc data and do time shifting. The current functionality is available as the function copy_metadata at core/lib/_pyexiv2.py There is also another tool to handle exiftags, called exiftool, which is Perl based. I prefer exiv2 as it is much faster: http://picurl.net/development/wiki/Exiv2vsExifTool I hope this gives enough pointers for people to bring EXIF IPTC support to Python and Phatch. Good luck, Stani -- Phatch - PHoto bATCH processor - http://photobatch.stani.be SPE- Python Editor IDE - http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL
On Feb 22, 1:41 am, Mike Driscoll [EMAIL PROTECTED] wrote: On Feb 20, 4:19 am, Stani [EMAIL PROTECTED] wrote: Even without python-pyexiv2 Phatch features read-only EXIF support thanks to PIL. So you can name your files or write data stamps (date, aperature, velocity, ...) based on EXIF information. If you want to save EXIF and IPTC information to files you needpython-pyexiv2. From its website: However, the library and all the tools used are cross-platform, so very little tweaking should be needed to get it to work fine on Windows or MacOS X.http://tilloy.net/dev/pyexiv2/developers.htm The exiv2 website says: The Windows package only contains the command line utility exiv2.exe (statically linked), manpage and a sample command file; get the source and doc packages for the library, documentation and other tools.http://www.exiv2.org/download.html So maybe someone can compile it. I'm confused. What needs to be compiled exactly? Are there any directions? I'm not seeing any at that website. I can give it a go if someone can give me advice. You need to compile two things: 1. the exiv2 library 2. the python-pyexiv2 bindings For the exiv2 library, you will have to dive into the project: The Windows executable provided here was compiled with the MinGW cross compiler on an Intel 32 bit machine running Debian. Maybe the exiv2 Yahoo! group is the right place to be. If you look there for Windows threads maybe some might be helpful: http://uk.groups.yahoo.com/group/exiv2/message/956 The author of python-pyexiv2 is active there as well and explains his project uses Scons: http://uk.groups.yahoo.com/group/exiv2/message/1002 I am not an expert on compiling extensions. In fact I only know Python. A windows version of exiv2 and python-pyexiv2 will only exist if some Windows programer(s) take the initiative. In case you can't compile, it wouldn't be so hard to write a wrapper around the provided windows executable to mimic the API of python- pyexiv2. I am afraid I can't help you more. Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL
On Feb 21, 2:32 pm, Istvan Albert [EMAIL PROTECTED] wrote: On Feb 18, 9:58 am, SPE- Stani'sPythonEditor [EMAIL PROTECTED] wrote: I'm pleased to announce the release of Phatch which is a powerful batch processor and renamer. Phatch exposes a big part of This program is fantastic! Very accesible user interface and produces ggreat images. Thanks! Istvan PS. the name Phatch is a bit hard to prononunce (easily confusable with fetch), it is not easy to talk about it in a live conversation. You should just call it photo-batch, in the end all the acronym saves you is four letters and you lose the obvious meaning of what the tool does. Anyhow, just a suggestion based on the first impressions, I like the name Phatch as it close to patching photos as well. Most people remember it as a contraction of PHoto bATCH, which I would not use as a name because it is too general and many programs are called like that. Phatch is also not such a polluted namespace when you google. There only seems to be chef cook called Phatch, of which I now follow his recipes through Google Alerts. That is rather amusing than disturbing. great tool, great functionality. We can surely nominate it for the bestPythonbased tool of 2008 ... so far ;-) Well, thanks a lot for all the compliments. Feel free to spread the word or to get involved: - by contributing back on the wiki (tutorials, review my non-native english, screencasts, ...) http://photobatch.wikidot.com - by translating: https://translations.launchpad.net/phatch/trunk/+pots/phatch - at the moment Phatch has no known bugs, I really wish someone could fine one so I can fix it: https://bugs.launchpad.net/phatch/ I hope a lot of people give this program a try as it only requires you to set up wxPython and PIL. Stani -- http://photobatch.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL
On Feb 19, 4:23 am, Daniel Fetchinson [EMAIL PROTECTED] wrote: On 2/18/08, SPE - Stani's Python Editor [EMAIL PROTECTED] wrote: I'm pleased to announce the release of Phatch which is a powerful batch processor and renamer. Phatch exposes a big part of the Python Imaging Library through an user friendly GUI. (It is using python-pyexiv2 to offer more extensive EXIF and IPTC support.) Phatch is not targeted at manipulating individual pictures (such as with Gimp), but repeating the same actions on hundreds or thousands of images. If you know PIL and have some nice recipes laying around, it is very easy to write plugins as Phatch generates the corresponding GUI automagically just like in Django. Any existings PIL scripts can be added very easily. Let me know if you want to contribute or have any questions. Homepage:http://photobatch.stani.be(free download link below) Tutorials:http://photobatch.wikidot.com/tutorials Translations:https://translations.launchpad.net/phatch/trunk/+pots/phatch License: GPLv3 Screenshot: http://photobatch.wikidot.com/local--files/start/Screenshot-Phatch3d.jpg (the perspective and reflection is produced by Phatch itself) This is pretty cool! I have one question about the equally cool website: what tool did you use for creating this image: http://photobatch.wikidot.com/local--files/start/Screenshot-Phatch3d.jpg This is Phatchs own dogfood. I guess you missed the tutorials link. There is a tutorial how you can achieve this effect: http://photobatch.wikidot.com/tutorial-round-3d-reflect I run Phatch on three screenshots I have to put them in perspective with rounded corners and perspective. I let Phatch save them as a png so transparency is preserved. Afterwards I opened Gimp and put the three together on the background of a radial gradient. Let me know if it works for you. Stani -- http://mail.python.org/mailman/listinfo/python-list
ANN: Phatch = PHoto bATCH processor and renamer based on PIL
I'm pleased to announce the release of Phatch which is a powerful batch processor and renamer. Phatch exposes a big part of the Python Imaging Library through an user friendly GUI. (It is using python-pyexiv2 to offer more extensive EXIF and IPTC support.) Phatch is not targeted at manipulating individual pictures (such as with Gimp), but repeating the same actions on hundreds or thousands of images. If you know PIL and have some nice recipes laying around, it is very easy to write plugins as Phatch generates the corresponding GUI automagically just like in Django. Any existings PIL scripts can be added very easily. Let me know if you want to contribute or have any questions. Homepage: http://photobatch.stani.be (free download link below) Tutorials: http://photobatch.wikidot.com/tutorials Translations: https://translations.launchpad.net/phatch/trunk/+pots/phatch License: GPLv3 Screenshot: http://photobatch.wikidot.com/local--files/start/Screenshot-Phatch3d.jpg (the perspective and reflection is produced by Phatch itself) Phatch has many features, like: - EXIF information inspector with thumbnail - limit jpeg file size when saving - tons of actions organized by tags (including perspective, round corners, shadow, reflection, ...) - console version (Phatch can now run without a gui on servers) - batch rename and copy files based on exif metadata - data stamping (http://photobatch.wikidot.com) - online documentation wiki (http://photobatch.wikidot.com) Linux only features: - desktop or panel droplets on which images or folders can be dropped (will be ported to Windows Mac) - Nautilus and desktop integration (with its own mime type and nautilus extension) - manpage with examples With python-pyexiv2 the following featues are added: - embedding the original EXIF and IPTC tags in the image All actions mostly have a separate pil function in their source code, so they could be read as a recipe book for PIL: * Auto Contrast - Maximize image contrast * Background - Put colour under transparent image * Border - Crop or add border to all sides * Brightness - Adjust brightness from black to white * Canvas - Crop the image or enlarge canvas without resizing the image * Colorize - Colorize grayscale image * Common - Copies the most common pixel value * Contrast - Adjust from grey to black white * Convert Mode - Convert the color mode of an image (grayscale, RGB, RGBA or CMYK) * Copy - Copy image file * Effect - Blur, Sharpen, Emboss, Smooth, ... * Equalize - Equalize the image histogram * Fit - Downsize and crop image with fixed ratio * Grayscale - Fade all colours to gray * Invert - Invert the colors of the image (negative) * Maximum - Copies the maximum pixel value * Mask - Apply a transparency mask * Median - Copies the median pixel value * Minimum - Copies the minimum pixel value * Offset - Offset by distance and wrap around * Posterize - Reduce the number of bits of colour channel * Perspective - Shear 2d or 3d * Rank - Copies the rank'th pixel value * Reflect - Drops a reflection * Rename - Rename image file * Rotate - Rotate with random angle * Round - Round or crossed corners with variable radius and corners * Saturation - Adjust saturation from grayscale to high * Save - Save an image with variable compression in different types * Scale - Scale an image with different resample filters. * Shadow - Drop a blurred shadow under a photo with variable position, blur and color * Solarize - Invert all pixel values above threshold * Text - Write text at a given position * Transpose - Flip or rotate an image by 90 degrees * Watermark - Apply a watermark image with variable placement (offset, scaling, tiling) and opacity I develop Phatch on Ubuntu/Linux, but I have tested and polished it regularly on Windows and Mac Os X. (Only the droplet functionality needs to be ported.) Phatch is submitted to Debian unstable and Ubuntu Hardy. Packagers for other platforms are welcome. Requirements: - PIL 1.1.5 or higher - wxPython 2.6 or higher - pyexiv2 (optional) - python nautilus bindings (optional) Best regards, Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Python IDE
On 3 nov, 15:11, Simon Pickles [EMAIL PROTECTED] wrote: Hi, I have recently moved from Windows XP to Ubuntu Gutsy. I need a Python IDE and debugger, but have yet to find one as good as Pyscripter for Windows. Can anyone recommend anything? What are you all using? Coming from a Visual Studio background, editing text files and using the terminal to execute them offends my sensibilities :) Thanks Si SPE is developped on and works well with Ubuntu Gutsy. It includes a debugger and gui builers. Get it from subversion: http://pythonide.blogspot.com/2007/02/how-to-download-latest-spe-from_26.html Stani -- http://photobatch.stani.be http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: subprocess.popen question
On Jun 23, 5:35 am, Gabriel Genellina [EMAIL PROTECTED] wrote: En Fri, 22 Jun 2007 10:08:49 -0300, [EMAIL PROTECTED] [EMAIL PROTECTED] escribió: I seemed to have it working sorta when I run it and save the results I am noticing that inspeit spaces correctly but when I save it to a file I can open it in wordpad there is only one line. when I open in up in WinXound (A csound editor) it is double spaced. if I do it in a batch file the output file is spaced correctly.. when I do splitlines it is giving me one charecter down the page as output.. Do I need to do something or can I do something to put an end of line charecter in the output?? Try print repr(your_data) to see exactly what you got. -- Gabriel Genellina Did you take in account that line endings on Windows are '\r\n' and not '\n'? Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: PythonCard or Dabo?
On Jun 2, 7:20 am, Bill Maxwell [EMAIL PROTECTED] wrote: On 19 Mar 2007 10:40:03 -0700, [EMAIL PROTECTED] wrote: ...You might want to submit this to the wxpython news-group. ... What is the name of this newsgroup? I can't seem to locate it on my news server. Thanks, Bill You probably mean wxPython-users mailing list. You can find more info here: http://www.wxpython.org/maillist.php Another alternative are GUI designers such as wxGlade or XRCed, both of which ship with SPE (http://pythonide.stani.be). Dabo is especially usefull (but not limited to) developping database applications as it is an open source alternative to Visual Fox pro. Stani -- http://www.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Creating a distro of python... What would you include in it?
On May 30, 7:47 pm, yuce [EMAIL PROTECTED] wrote: re: BJörn, I think selecting a GPL license will increase the number of usable packages, since using Python license with GPL is perfectly fine as long as the whole software is licensed under GPL [I am not really sure it is a must to license the whole package under GPL] re: farksimm; I'd put (in nor particular order) - Python Imaging Library :http://www.pythonware.com/products/pil/ -wxPython:http://www.wxpython.org/ - ipython :http://ipython.scipy.org/moin/ - pycrypto :http://www.amk.ca/python/code/crypto - sqlalchemy :http://www.sqlalchemy.org/ - psycopg :http://www.initd.org/tracker/psycopg - docutils :http://docutils.sourceforge.net/ - NumPy/Numeric :http://numpy.scipy.org/ - if it's for Win32 also pywin32 :http://www.python.net/crew/mhammond/win32/ Yuce Feel free to include SPE. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
gettext backwards
I am developping an international application for which I use gettext. An user can fill in certain fields with variable names which are also localized, eg: filename _('filename') = 'bestandsnaam' #for dutch As an english user might save this configuration, I want that eg a Dutch user can open this configuration but see 'filename' in Dutch ('bestandsnaam'). So my question is, does gettext supports reverse translation (assuming all translation strings are unique)? The reverse function would take a translated string and put it back in the original: foo('bestandsnaam') = 'filename' #to allow an english user to work with a file saved by a dutch user Of course I can customize _() so it keeps track of the translations in a reverse dictionary or I could build an external reverse dictionary, but I was wondering if there was a more elegant solution. Stani -- http://www.stani.be http://pythonide.stani.be In my code this would be called like -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE
On Apr 26, 9:06 pm, Glich [EMAIL PROTECTED] wrote: After posting this message I realized the stupid mistake I had made! But it was too late to change! I think patching it with py2exe would be a good idea. Greetings also, Glich Yes, it would. Please subscribe to the spe-dev list and I'll guide you there. There is done some work already which might be useful. Probably a new version of SPE will come out in May but is now already available in subversion. http://pythonide.blogspot.com/2007/02/how-to-download-latest-spe-from_26.html Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE question
On 27 Mrz., 14:01, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I believe that just deleting the folders should work No, never delete the folder if you used the windows installer (*.exe)! Go to your control panelAdd/Remove Programs and there should be an entry python*-spe* with an uninstall button. Probably you were only looking for a SPE entry. Python modules are often listed with a python prefix. Stani Dick Moores wrote: At 03:37 AM 3/27/2007, [EMAIL PROTECTED] wrote: On Mar 27, 11:39 am, alain [EMAIL PROTECTED] wrote: Hi, Could someone tell me how to uninstallSPEunder windows? Alain Dunno aboutSPE, but most Python modules I've installed can be uninstalled from control panel/add remove programs. SPEdoesn't show up on my win XP add/remove programs list. Dick Moores -- http://mail.python.org/mailman/listinfo/python-list
Re: IDE for wxPython
On Mar 18, 2:23 am, sleek [EMAIL PROTECTED] wrote: On Mar 17, 4:12 pm, Ghirai [EMAIL PROTECTED] wrote: Hellopython-list, Can anyone suggest an IDE for wxPython? Or an IDE for TkInter? Thanks. -- Best regards, Ghirai. You might want to check outSPE. It's a greatPythonIDE.http://pythonide.blogspot.com/ The latest version SPE 0.8.4 is currently only available through subversion and will hopefully be released on the 1st of april: svn checkout svn://svn.berlios.de/python/spe/trunk/_spe Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE python IDE: Call for testers!
On 6 Mrz., 23:21, MonkeeSage [EMAIL PROTECTED] wrote: Very nice. One issue I've come across is that it doesn't seem to work with wxwidgets-2.8 (segfault when trying to load a file), so you should probably set MIN_WX_VERSION to 2.8. Regards, Jordan Hi Jordan, Thanks for trying. Did you try from subversion? Could you send me the debug output (python SPE.py --debug) or send me the file you were trying to open? SPE has not any specific wxPython2.8 feature, so I am very curious what causes the error. Stani PS Erratum: I forgot to update my blog with the changes in SPE: now you can read them at: http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Debugging segmentation faults
If the error is reproducable and you can run wxPython, you could use the excellent WinPdb debugger, which ships with SPE (python editor): http://www.digitalpeers.com/pythondebugger/ ... but if you can only run your script on a remote server this won't help you. Stani -- SPE - http://pythonide.stani.be On 7 Mrz., 20:15, George Sakkis [EMAIL PROTECTED] wrote: I have a pure python program (no C extensions) that occasionally core dumps in a non-reproducible way. The program is started by a (non- python) cgi script when a form is submitted. It involves running a bunch of other programs through subprocess in multiple threads and writing its output in several files. So the only suspicious parts I can think of is subprocess and/or multithreading. For the multithreading part I'm using a modified version of threadpool.py (http://www.chrisarndt.de/en/software/python/threadpool/), which is built on top of the threading and Queue stdlib modules. Whatever bugs may linger there, I'd hope that they would show up as normal Python exceptions instead of segfaults. All I have now is a few not particularly insightful core files (actual path names and args changed for privacy): /home/gsakkis/foogdb --core core.20140 GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-redhat-linux. Core was generated by `python2.5 /home/gsakkis/foo/foo.py --XXX -- max=30 --bar=/tmp/83840` Program terminated with signal 11, Segmentation fault. #0 0x080b222d in ?? () (gdb) backtrace #0 0x080b222d in ?? () #1 0x080b28d1 in ?? () #2 0x080fa8ab in ?? () #3 0x0805c918 in ?? () (...) #28 0x080b310f in ?? () #29 0x080dbfdd in ?? () #30 0x40021fef in ?? () Any hints ? -- http://mail.python.org/mailman/listinfo/python-list
SPE python IDE: Call for testers!
I've been working a lot on fixing SPE and upgrading it with the latest plugins. The winpdb debugger no longer fails and wxGlade crashes are history. Is that not great? Are you eager to try it out yourself? Please do! Get it from subversion and test it for any critical bug, so I can iron it out. I have been patching a lot for Ubuntu users, who will be very pleased with this release, and I'd like to thank Jurjen a lot for his work on Mac issues. This is a definitely a release everyone should upgrade to, wether you use windows, mac or linux! SPE is both suitable for newbies and experienced python programmers. Read more and comment here: http://pythonide.stani.be Thanks for your interest, Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Graphviz Python Binding for Python 2.5 on Windows?
On Mar 6, 8:39 am, Nick Vatamaniuc [EMAIL PROTECTED] wrote: On Mar 5, 5:16 pm, Alex Li [EMAIL PROTECTED] wrote: Hello, I would like to use Python 2.5 on Windows with Graphviz to generate graphs. I used yapgvb but it only requires Python 2.4 (won't work with Python 2.5). Other packages like pydot seems to be unmaintained or requires custom building to be used on Windows (pygraphviz), which I tried to avoid. Any suggestions? Thanks in advance, Alex Alex, You can always pipe your dot file directly to the dot or neato executables using the subprocess method then read the output. This way you don't have to install yapgvb or other adapters and it will work with Python 2.5. But you will need to compose your dot file as a giant character buffer... -Nick V. Not really a solution, but you can always install a virtual machine with Ubuntu (or other linux flavour) where pydot is available for python2.5 (sudo apt-get install python-pydot). Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Eric on XP for Newbie
On Mar 1, 11:39 am, [EMAIL PROTECTED] wrote: Thanks guys Found this on another blog and it seems to work - you need to run theSPE.pyo file ... Which blog? Can yo point me to the url? Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Eric on XP for Newbie
On Feb 28, 6:15 pm, [EMAIL PROTECTED] wrote: On Feb 28, 4:27 pm, Alan Franzoni [EMAIL PROTECTED] wrote: Il 28 Feb 2007 08:13:42 -0800, [EMAIL PROTECTED] ha scritto: [cut] Forget the tars. http://www.quadgames.com/download/pythonqt/ Get the two EXEs here. BTW, I don't think Eric3 is a really good IDE on Windows (yet). Try something likeSPE, or Scite, or any other editor like UltraEdit32. Thanks I've installedSPE. But what now? How do I run it? It doesn't appear in all programs and ther's no .exe file that I can find Which installer did you use? If you used the python25 installer, use the python24 installer instead. (It will also work as it is not specific to 2.4 I have removed the python25 installer.) Than the shortcuts should appear in your All Programs. Stani PS. A new version is about to released: http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: What happened to SPE?
On Feb 3, 2:18 am, Jaroslaw Zabiello [EMAIL PROTECTED] wrote: Dnia 11 Jan 2007 17:02:49 +0100, Neil Cerutti napisa³(a): SPElost its web host, and last I heard is looking for a new home. For now you can get it here: http://sourceforge.net/projects/spe/ That is old addres. Never ishttp://developer.berlios.de/projects/python/ -- Jaroslaw Zabiellohttp://blog.zabiello.com SPE will restart. Follow it on http://pythonide.stani.be Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE website down?
On 14 dec, 18:35, Laszlo Nagy [EMAIL PROTECTED] wrote: The home page of SPE (Stani's editor) is not available. http://pythonide.stani.be/ Is there a mailing list for this editor? Where should I ask questions about it? Where can I report bugs and make suggestions? For now use: http://developer.berlios.de/projects/python/ Until I find time to choose a new host and set up a new website. Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE website down?
On 14 dec, 21:07, William Allison [EMAIL PROTECTED] wrote: Laszlo Nagy wrote: The home page of SPE (Stani's editor) is not available. http://pythonide.stani.be/ Is there a mailing list for this editor? Where should I ask questions about it? Where can I report bugs and make suggestions? Thanks, LaszloI seem to remember he was looking for a new webhost a couple of weeks ago. Tryhttp://sourceforge.net/projects/spe/for now. -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE refuses.
On 30 nov, 10:50, egbert [EMAIL PROTECTED] wrote: On Wed, Nov 29, 2006 at 03:15:45PM -0800, SPE - Stani's Python Editor wrote: Do you have python-wxversion installed? $sudo apt-get install python-wxversionThat helped. But why isn't it included in the wxPython download ? I was surprised as well. I filed a bug report at debian MOTU that spe depends as well on python-wxversion, so that it is automatically installed together with spe in the future. Anyway, the first screen looks great. I will explore spe. Thanks. You're welcome! Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE refuses.
which version of SPE are you using? You'll need SPE 0.8.3.c for wxPython 2.7 I've fixed this bug already in the latest version. http://prdownload.berlios.de/python/SPE-0.8.3.c-wx2.6.1.0-no_setup.zip Stani On 30 nov, 12:23, Thomas Ploch [EMAIL PROTECTED] wrote: SPE - Stani's Python Editor schrieb: On 30 nov, 10:50, egbert [EMAIL PROTECTED] wrote: On Wed, Nov 29, 2006 at 03:15:45PM -0800, SPE - Stani's Python Editor wrote: Do you have python-wxversion installed? $sudo apt-get install python-wxversionThat helped. But why isn't it included in the wxPython download ? I was surprised as well. I filed a bug report at debian MOTU that spe depends as well on python-wxversion, so that it is automatically installed together with spe in the future. Anyway, the first screen looks great. I will explore spe. Thanks. You're welcome! Staniell, when reading these posts about SPE, I wanted to try it as well. I am running the newest version of wxpython with python2.4. I installed it, all went fine with the setup.py script. When I tried to open the program, a window appears for about a second, displaying a traceback. So I ran the SPE.py debug tool as you have recommended earlier. here's the output: Spe is running in debugging mode with this configuration: - platform : darwin - python: 2.4.4 - wxPython : 2.7.1.3. - interface : default - encoding : mac-roman Launching application... Create: Framework: menu. Create: Framework: toolbar. Create: Framework: statusbar. Traceback (most recent call last): File SPE.py, line 209, in ? style = style) File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py, line 1278, in __init__ wx.App.__init__(self,redirect=not debug) File //Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.7.1-mac-unicode/wx/_core.py, line 7480, in __init__ self._BootstrapApp() File //Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.7.1-mac-unicode/wx/_core.py, line 7080, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py, line 1297, in OnInit style = self.style, File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py, line 801, in __init__ Parent.__init__(self,app=app,page=page,**options) File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py, line 595, in __init__ parentFrame = self, File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py, line 325, in __init__ self.__statusBar__() File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/sm/wxp/smdi.py, line 417, in __statusBar__ self.statusBar = self.app.StatusBar(parent=self,id=wx.ID_ANY) File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/Menu.py, line 727, in __init__ self.throbber = Throbber(self,'throbber_still.gif') File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/Menu.py, line 733, in __init__ GIFAnimationCtrl.__init__(self,statusBar,-1,info.imageFile(fileName)) File //Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.7.1-mac-unicode/wx/animate.py, line 242, in __init__ self.LoadFile(filename) File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_spe/Menu.py, line 746, in LoadFile if fileName != self._fileName and not self._running: AttributeError: 'Throbber' object has no attribute '_fileName' Thanks for any help. Thomas -- http://mail.python.org/mailman/listinfo/python-list
Stani's Python Editor is looking for a new webhost
SPE was hosted for a long while by Zettai. I'd like to thank them again for their wonderful service. Unfortunately they will go out of business. So SPE is looking for a new webhost. These are the requirements: - python framework (Zope/Plone, django, turbogears, ...) - I have the freedom to use this website also for other projects besides SPE (such as sdxf (open source dxf library for python), my own portfolio, ... - I am allowed to place ads on the site (eg Google Adsense) These are some optional features which would be nice: - root access - debian or ubuntu based - domain registration for stani.be In return a small banner of the hosting (or sponsering) will be placed on the SPE site. You can reach me by email: spe.stani.be at gmail. The SPE website gets around 1500 visitors a day. If there are some zope/plone, django, turbogears, ... enthousiasts or companies want to help building the site, please contact me as well. Every offer will be appreciated, but of course I can only choose one. In order to continue the development of SPE, it needs a hosting provider. Thanks for any suggestions, Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE refuses.
If wxPython is rightly installed, which means that import wx works fine and wx.VERSION gives the right version, you can ignore the wxPython warning. Please cd do your site-packages directory and do python SPE.py --debug and see the error message. Stani On 29 nov, 19:51, egbert [EMAIL PROTECTED] wrote: According to apt-show-versions I have installed: python-wxgtk2.6 2.6.3.2.1.5 spe 0.8.2a+repack-1 However when I start SPE I get the message You need to install at least wxPython v2.5.4.1 to run SPE How do I tell SPE that I have the right wxPython ? e. -- Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991 -- http://mail.python.org/mailman/listinfo/python-list
Re: Good script editor for Python on Mac OS 10.3
Install wxPython and than you can use SPE, a free Python IDE with UML, GUI builders, ... Stani Scott_Davies wrote: Hi, I have an old Mac with OS X Panther installed. I also have the Python language download file, but I haven't got a text/script editor to use for it. Does anyone have a recommendation for a good Python text editor in OS 10.3? Thanks, Scott D. -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE refuses.
Do you have python-wxversion installed? $sudo apt-get install python-wxversion Stani On 29 nov, 23:21, egbert [EMAIL PROTECTED] wrote: On Wed, Nov 29, 2006 at 11:31:27AM -0800, SPE - Stani's Python Editor wrote: If wxPython is rightly installed, which means that import wx works fine and wx.VERSION gives the right version, you can ignore the wxPython warning.In a Python shell the commands 'import wx' and 'wx.VERSION' give: (2,6,3,2,'') Please cd do your site-packages directory and do python SPE.py --debug and see the error message.In gnome-terminal /usr/lib/python2.4/site-packages/_spe the command: 'python SPE.py --debug' produces the same error: You need to install at least wxPython v2.5.4.1 to run SPE. Get it fromhttp://www.python.org Well, I got it from the debian repositories. e. -- Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991 -- http://mail.python.org/mailman/listinfo/python-list
Re: Is python for me?
lennart schreef: [*] As a photographer i like to build a picture management system Cornice, a cross-platform image viewer, might be a good start. Features Here is a list of the main features of Cornice: * Fully cross-platform: it should run wherever wxPython does; * Detail and thumbnail view for images; * Image preview; * Automatic recognition of images, with a variety of formats supported; * Bookmarks; * Full-screen view; * Zooming and rotation; * Slideshow; * Good keyboard navigation (still not perfect, but this is true for all the features ;-); * Image loading from zip archives; * i18n support (with Italian and French translations available); * EXIF data support; * Some more... For more info, take a look at http://wxglade.sourceforge.net/extra/cornice.html Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE bug?
timmy schreef: i can't paste from SPE into an xterm window. is this problem with SPE? No the problem is with the wxPython binding of stc (scintilla). It happens with the wxPython demo as well. I'll ask on the wxpython-users mailing list. Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE editor slow?
timmy schreef: hello i've been using the SPE editor on a moderately large project and it's constantly pausing during editing, like it's attempting to check something as i edit. as you can imagine a 4 second pause every few characters is EXTREMELY annoying when you just want to get some work done. i really like SPE's layout and features but if it's going to be dogshit slow all the time i'll have to change. please help! SPE does error syntax checking which works fine for normal sized python files. With these settings you can speed up SPE for larger projects: 1. EditPreferencesEditor: Check realtime with none (default value: compiler) 2. EditPreferencesEditor: Update sidebar when clicked You can first try step 1, if you want SPE faster, use step 2 as well. Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE editor slow?
timmy schreef: SPE - Stani's Python Editor wrote: timmy schreef: hello i've been using the SPE editor on a moderately large project and it's constantly pausing during editing, like it's attempting to check something as i edit. as you can imagine a 4 second pause every few characters is EXTREMELY annoying when you just want to get some work done. i really like SPE's layout and features but if it's going to be dogshit slow all the time i'll have to change. please help! SPE does error syntax checking which works fine for normal sized python files. With these settings you can speed up SPE for larger projects: 1. EditPreferencesEditor: Check realtime with none (default value: compiler) 2. EditPreferencesEditor: Update sidebar when clicked You can first try step 1, if you want SPE faster, use step 2 as well. Stani thanks stani i actually had an incling that 2. was the real problem. i've got probably 200 or so clases in my project and it was pausing mainly when it came to names of things or a . i changed it to on clicked and it's fine now. it still does something else though that i'm at a loss to fix. when i open a file or run a script is throws up errors saying Failed to display HTML document in ISO-8859-1 encoding i guess thats a problem with those bottom info windows? The bottom info window is indeed a wxhtml window. Please check if this problem also occurs in the wxpython demo. If yes, report this on the wxpython-user mailing list, otherwise report to my gmail address. Stani Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: wing ide vs. komodo?
[EMAIL PROTECTED] schreef: I have both, but the IDE I use every day is SPE, which is shareware. I'm not savvy enough to enumerate a feature comparison, but I do find SPE extremely friendly and intuitive. Gerry SPE is not shareware. It is open-source, gpl-licensed freeware. Donations however never hurt. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: SPE 0.8.3.c Python IDE editor
I checked the berlios site and it seems to be working. Or do you have another problem? Stani Chris Seymour schreef: Hi Stani, Not able to reach Berlios. The SourceForge page does not have the Windows installer. Any ideas when it will be available? Thanks. Chris Bernard wrote: thanks Stani! SPE - Stani's Python Editor wrote: This is a maintenance release (mostly bug fixing) to prove that SPE is alive and well! In case you are using wxPython2.7 you'll need to upgrade to this release. Submitted patches will be reviewed and included if approved for next release. Thanks for all your patient support and continuing donations. The SPE 0.8.2.a release got downloaded 110550 times on berlios and sourceforge together. Not bad. This means SPE has not seen an update for a while or is getting very popular. Maybe both ;-) Installers are available for python 2.3, 2.4 and 2.5 for Windows and as a rpm including wxPython. Other operating systems can choose the no-setup.zip or targ.gz archives. A .deb archive is being prepared for Debian Linux systems such as Ubuntu. wxGlade is unfortunately not compatible with wxPython2.7. So if you want to use, you'll need wxPython2.6. :**Fixes**: - output is now done with a fixed font - uml.py is now again a stand alone demo - upgraded and fixed wxGlade - fixed for wxPython2.7 (and still backwards compatible with wxPython2.6) - updated NotebookCtrl :**Contributors**: - Andrea Gavana (NoteBookCtrl) - Alberto Griggio (wxGlade) - Michael Foord (python 2.3 + 2.5 releases for windows) :**Donations**: The development of SPE is driven by donations. Each of these donors receives the pdf manual in thanks for their support of SPE. - James Carroll (60 euro) - John DeRosa (50 euro) - Fumph LLC (50 euro) - Ronald Britton (40 euro) - David Downes (40 euro) - Jorge Carrillo (40 euro) - Nicolas Berney (40 euro) - Francois Schnell (30 euro) - Olivier Cortes (30 euro) - Ayrshire Business Consulting Limited (30 euro) - Chris White (25 euro) - Thomas Wengerek (20 euro) - John Rudolph (20 euro) - Michael O'Keefe (20 euro) - Michael Brickenstein (20 euro) - Richard Walkington (20 euro) - Oliver Tomic (20 euro) - Jose Maria Cortes Arnal (20 euro) - Jeffrey Emminger (20 euro) - Eric Pederson (20 $) - Charles Bosson (15 euro) - Angelo Caruso (15 euro) - Chris Hengge (15 $) - Lo#239;c Allys (15 euro) - Marcin Chojnowski (15 euro) - Boris Krasnoiarov (15 euro) - Paul Furber (15 euro) - Gary Robson (15 euro) - Ralf Wieseler (15 euro) - Samuel Schulenburg (10 euro) - Leland Hulbert II (10 euro) - Javier De La Mata Viader (10 euro) - Dorman Musical Instruments (10 euro) - Jaroslaw Sliwinski (10 euro) - Alessandro Patelli (10 euro) - James Pretorius (10 euro) - Richard Wayne Garganta (10 euro) - Maurizio Bracchitta (10 euro) - Larry Lynch (10 euro) - Kay Fricke (10 euro) - Henrik Binggl (10 euro) - Jerol Harrington (10 euro) - Victor Adan (10 euro) - James Fuqua (10 euro) - Christian Seberino (5 euro) - Serge Smeesters (5 euro) - Jarek Libert (5 euro) - Robin Friedrich (5 euro) - Udo Rabe (5 euro) - Roch Leduc (4 euro) - Rha Diseno y Desarrollo (2 euro) :**Installation**: - See http://pythonide.stani.be/manual/html/manual2.html :**Development**: - http://developer.berlios.de/mail/?group_id=4161 About SPE: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe integrates with XRCed (gui designer) and ships with wxGlade (gui designer), PyChecker (source code doctor), Kiki (regular expression console) and WinPdb (remote, multi-threaded debugger). The development of SPE is driven by its donations. Anyone who donates can ask for an nice pdf version of the manual without ads (74 pages). -- http://mail.python.org/mailman/listinfo/python-list
ANN: SPE 0.8.3.c Python IDE editor
This is a maintenance release (mostly bug fixing) to prove that SPE is alive and well! In case you are using wxPython2.7 you'll need to upgrade to this release. Submitted patches will be reviewed and included if approved for next release. Thanks for all your patient support and continuing donations. The SPE 0.8.2.a release got downloaded 110550 times on berlios and sourceforge together. Not bad. This means SPE has not seen an update for a while or is getting very popular. Maybe both ;-) Installers are available for python 2.3, 2.4 and 2.5 for Windows and as a rpm including wxPython. Other operating systems can choose the no-setup.zip or targ.gz archives. A .deb archive is being prepared for Debian Linux systems such as Ubuntu. wxGlade is unfortunately not compatible with wxPython2.7. So if you want to use, you'll need wxPython2.6. :**Fixes**: - output is now done with a fixed font - uml.py is now again a stand alone demo - upgraded and fixed wxGlade - fixed for wxPython2.7 (and still backwards compatible with wxPython2.6) - updated NotebookCtrl :**Contributors**: - Andrea Gavana (NoteBookCtrl) - Alberto Griggio (wxGlade) - Michael Foord (python 2.3 + 2.5 releases for windows) :**Donations**: The development of SPE is driven by donations. Each of these donors receives the pdf manual in thanks for their support of SPE. - James Carroll (60 euro) - John DeRosa (50 euro) - Fumph LLC (50 euro) - Ronald Britton (40 euro) - David Downes (40 euro) - Jorge Carrillo (40 euro) - Nicolas Berney (40 euro) - Francois Schnell (30 euro) - Olivier Cortes (30 euro) - Ayrshire Business Consulting Limited (30 euro) - Chris White (25 euro) - Thomas Wengerek (20 euro) - John Rudolph (20 euro) - Michael O'Keefe (20 euro) - Michael Brickenstein (20 euro) - Richard Walkington (20 euro) - Oliver Tomic (20 euro) - Jose Maria Cortes Arnal (20 euro) - Jeffrey Emminger (20 euro) - Eric Pederson (20 $) - Charles Bosson (15 euro) - Angelo Caruso (15 euro) - Chris Hengge (15 $) - Lo#239;c Allys (15 euro) - Marcin Chojnowski (15 euro) - Boris Krasnoiarov (15 euro) - Paul Furber (15 euro) - Gary Robson (15 euro) - Ralf Wieseler (15 euro) - Samuel Schulenburg (10 euro) - Leland Hulbert II (10 euro) - Javier De La Mata Viader (10 euro) - Dorman Musical Instruments (10 euro) - Jaroslaw Sliwinski (10 euro) - Alessandro Patelli (10 euro) - James Pretorius (10 euro) - Richard Wayne Garganta (10 euro) - Maurizio Bracchitta (10 euro) - Larry Lynch (10 euro) - Kay Fricke (10 euro) - Henrik Binggl (10 euro) - Jerol Harrington (10 euro) - Victor Adan (10 euro) - James Fuqua (10 euro) - Christian Seberino (5 euro) - Serge Smeesters (5 euro) - Jarek Libert (5 euro) - Robin Friedrich (5 euro) - Udo Rabe (5 euro) - Roch Leduc (4 euro) - Rha Diseno y Desarrollo (2 euro) :**Installation**: - See http://pythonide.stani.be/manual/html/manual2.html :**Development**: - http://developer.berlios.de/mail/?group_id=4161 About SPE: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe integrates with XRCed (gui designer) and ships with wxGlade (gui designer), PyChecker (source code doctor), Kiki (regular expression console) and WinPdb (remote, multi-threaded debugger). The development of SPE is driven by its donations. Anyone who donates can ask for an nice pdf version of the manual without ads (74 pages). -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html
ANN: SPE 0.8.3.c Python IDE editor
This is a maintenance release (mostly bug fixing) to prove that SPE is alive and well! In case you are using wxPython2.7 you'll need to upgrade to this release. Submitted patches will be reviewed and included if approved for next release. Thanks for all your patient support and continuing donations. The SPE 0.8.2.a release got downloaded 110550 times on berlios and sourceforge together. Not bad. This means SPE has not seen an update for a while or is getting very popular. Maybe both ;-) Installers are available for python 2.3, 2.4 and 2.5 for Windows and as a rpm including wxPython. Other operating systems can choose the no-setup.zip or targ.gz archives. A .deb archive is being prepared for Debian Linux systems such as Ubuntu. wxGlade is unfortunately not compatible with wxPython2.7. So if you want to use, you'll need wxPython2.6. :**Fixes**: - output is now done with a fixed font - uml.py is now again a stand alone demo - upgraded and fixed wxGlade - fixed for wxPython2.7 (and still backwards compatible with wxPython2.6) - updated NotebookCtrl :**Contributors**: - Andrea Gavana (NoteBookCtrl) - Alberto Griggio (wxGlade) - Michael Foord (python 2.3 + 2.5 releases for windows) :**Donations**: The development of SPE is driven by donations. Each of these donors receives the pdf manual in thanks for their support of SPE. - James Carroll (60 euro) - John DeRosa (50 euro) - Fumph LLC (50 euro) - Ronald Britton (40 euro) - David Downes (40 euro) - Jorge Carrillo (40 euro) - Nicolas Berney (40 euro) - Francois Schnell (30 euro) - Olivier Cortes (30 euro) - Ayrshire Business Consulting Limited (30 euro) - Chris White (25 euro) - Thomas Wengerek (20 euro) - John Rudolph (20 euro) - Michael O'Keefe (20 euro) - Michael Brickenstein (20 euro) - Richard Walkington (20 euro) - Oliver Tomic (20 euro) - Jose Maria Cortes Arnal (20 euro) - Jeffrey Emminger (20 euro) - Eric Pederson (20 $) - Charles Bosson (15 euro) - Angelo Caruso (15 euro) - Chris Hengge (15 $) - Lo#239;c Allys (15 euro) - Marcin Chojnowski (15 euro) - Boris Krasnoiarov (15 euro) - Paul Furber (15 euro) - Gary Robson (15 euro) - Ralf Wieseler (15 euro) - Samuel Schulenburg (10 euro) - Leland Hulbert II (10 euro) - Javier De La Mata Viader (10 euro) - Dorman Musical Instruments (10 euro) - Jaroslaw Sliwinski (10 euro) - Alessandro Patelli (10 euro) - James Pretorius (10 euro) - Richard Wayne Garganta (10 euro) - Maurizio Bracchitta (10 euro) - Larry Lynch (10 euro) - Kay Fricke (10 euro) - Henrik Binggl (10 euro) - Jerol Harrington (10 euro) - Victor Adan (10 euro) - James Fuqua (10 euro) - Christian Seberino (5 euro) - Serge Smeesters (5 euro) - Jarek Libert (5 euro) - Robin Friedrich (5 euro) - Udo Rabe (5 euro) - Roch Leduc (4 euro) - Rha Diseno y Desarrollo (2 euro) :**Installation**: - See http://pythonide.stani.be/manual/html/manual2.html :**Development**: - http://developer.berlios.de/mail/?group_id=4161 About SPE: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe integrates with XRCed (gui designer) and ships with wxGlade (gui designer), PyChecker (source code doctor), Kiki (regular expression console) and WinPdb (remote, multi-threaded debugger). The development of SPE is driven by its donations. Anyone who donates can ask for an nice pdf version of the manual without ads (74 pages). -- http://mail.python.org/mailman/listinfo/python-list
Re: wxFrame don't have Bind attribute ??
Jia Lu schreef: Hi all I am using wxPy 2.6.3.2-2, But when run an application with self.Bind , I got an error that there is no Bind. How can I fix it. thanx You can not bind an event to a wx application. You must bind an event to a wx frame or control. You'll get more and better support on the wxpython-user mailing list. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: wxPython - which is the better sizer to use with notebook
Chris Brat schreef: Hi, What sizers do people use to - contain the notebook control in a Frame and, - contain the contents of a single page of the notebook. At the moment Im using a GridBagSizer for both but this seems to be overkill. Is a BoxSizer a better option? Yes, use box sizer if you have to place only one control or when you need to place a row or column of controls. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE for 2.5?
Hi Fuzzy, I think you refer to pyxides (http://pyxides.stani.be). Pyxides turned out to be more like an exchange between different IDE developpers, rather than a common project. There are a lot of reasons for that: different GUI toolkits, geographical distances rendering physical sprints almost impossible (although necessary for such task), no financial resources, nobody with the time or ambition to lead such a project, ... So no immediate result for the end users, although for the developers there was some limited exchange. In a world with furious discussions about KDE or Gnome, Windows, Linux or Mac, deb or rpm, vim or emacs, not to mention Tkinkter, pyGTK, wxPython, pyKDE, pyCocoa, ... this might not come as a surprise. Appearantly, despite the fact that python IDE's are only a relative very small segment, did not matter so much. It seems also that programmers are addicted to threads about the best IDE. Maybe we as developers should not take that joy away, but provide some healthy competition instead. I guess collaboration is only possible within one gui toolkit (this is not meant technically of course), as gui toolkits are not so much about technique but more about philosophy. That said, a new version of SPE 0.8.3.a is going to be released soon. Yes, open source projects do hibernate, which by some people is wrongly perceived as ..., but anyway SPE is alive and will always be unless I say differently. Best whishes, Stani -- http://pythonide.stani.be -- PS I am still looking for people using with python 2.3 and (maybe in case John won't) 2.5 to create installers for windows. (I know I can do through vmware, but I prefer otherwise.) PS2 This was not written with FireFox2, so please forgive any spelling mistakes ;-) Fuzzyman schreef: SPE - Stani's Python Editor wrote: John Salerno schreef: Does anyone know if SPE is compatible with Python 2.5? I don't see a Windows exe file for 2.5, so I wasn't sure if I should use the 2.4 version. Thanks. It should be. Contact me and I'll help you to make a 2.5 installer, which I'll gladly provide for download. I use SPE on daily basis myself. Hello Stani, Work on it does seem to have slowed down. When do you expect your new project to start bearing fruit ? Fuzzyman http://www.voidspace.org.uk Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE for 2.5?
Fuzzyman schreef: Shame as it is a *very* nice IDE, but it had too many quirks (with little chance of them being fixed it seemed) to use it for commercial development at Resolver. I've never head from a company called Resolver. A commercial company can not assume if it picks up a free project that it will get free support comparable to commercial support. If however they would be willing to pay a fair amount for fixing these quirks, they would have not only helped themselves but anyone who uses SPE. No shame, no blame. Stani http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE for 2.5?
John Salerno schreef: Does anyone know if SPE is compatible with Python 2.5? I don't see a Windows exe file for 2.5, so I wasn't sure if I should use the 2.4 version. Thanks. It should be. Contact me and I'll help you to make a 2.5 installer, which I'll gladly provide for download. I use SPE on daily basis myself. Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: War chest for writing web apps in Python?
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/showthread.php?t=218001highlight=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 -- http://mail.python.org/mailman/listinfo/python-list
Re: import question on wx ?
John Salerno wrote: [EMAIL PROTECTED] wrote: I have installed wx and everything looks fine. I have written a small app that uses wx. When I run my program from the console like ubuntu $ python PROGRAM_NAME.py it gives error Traceback (most recent call last): File Project.py, line 6, in ? import wx ImportError: No module named wx But if I run the program from SPE (Stani's Python Editor) it just runs fine. It could be that the Python version you are using to launch the app from the console is the preinstalled version on your system and therefore wxPython wasn't installed into that version. Do you have multiple versions of Python installed? Probably SPE is using the other version which *does* have wxPython in it. To see which versions SPE uses, go to HelpAbout and the versions are mentioned under Program info. Compare that to the version which appears if you just type python in the command prompt. I've posted a howto on the ubuntuforums how to install the latest wxpython and SPE on Ubuntu: http://www.ubuntuforums.org/showthread.php?t=218001highlight=wxpython Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: help a newbie with a IDE/book combination
[EMAIL PROTECTED] schreef: Is there a good IDE which would be well documented out there? You could choose for SPE (http://pythonide.stani.be). If you donate as little as $1 (more is of course welcome), you'll receive the SPE manual as a pdf. PS: I use Debian GNU/Linux on all my computers, a 500MHz proc, 256MB RAM. There is a deb package for SPE on the SPE website. Install that one rather than the package on MOTU, which seems to be broken. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Recommended IDE for creating GUI?
SPE also integrates with XRCed which is very stable. Google for more info. Stani -- http://mail.python.org/mailman/listinfo/python-list
howto py2exe/py2app for self updating application
Hi, I'm creating a GUI program with wxPython which will be distributed for Mac and Windows. The audience of the program is not technical at all (eg they've never heard about Python yet ;-), so everything should go automatically. The program should be able to update itself and to update its database (collection of .txt files). These are two separated things and don't happen simultaneously. I thought of the following: - seperate the code which will be updated and zip it to use a zipimport - zip the .txt files These files can then be downloaded (urllib or so) and if the download has completed succesfully, replace their old files. For the updated python code it is necessary to restart the program for the database not. These questions arise: ++ How can I bundle a zipimport file with py2exe/py2app? Let say this is the folder layout of the program: application.py code.zip (contains main.py, ui.py, etc..) * data.zip (contains .txt files) * other files (preferably bundled but not necessary) such as the wxPython libraries and whatever py2app will want to include (* means should be remote updatable/synchronizable) application.py is just a dummy file which calls code.main.main() Should I declare code.zip as a data file or as a python package? Of course it would be nice if someone be so kind to suggest a simple setup.py recipee for this... ++ I have Python2.4, wxPython2.6.3, OS X 10.4 Will it run on other versions of OS X? If not will a version compiled with py2app on OS X 10.3 run on OS X 10.4 or do I need to provide a file for every OS X version? ++ Do I have to declare something special for py2app and wxPython? Thanks in advance, Stani PS Please cc your answer to spe.stani.be IatI gmail.com -- http://mail.python.org/mailman/listinfo/python-list
Re: howto py2exe/py2app for self updating application
Can you be more specific? Which module do you mean at python.org? Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Java Developer Exploring Python
Can anyone recommend an open source IDE for Python that runs on Linux? A lot of SPE (http://pythonide.stani.be) users are on all kinds of Linux flavours (but also Mac OSX and windows). I've started to use SPE on Ubuntu. There could be some improvements. As soon as I have time I'll implement them. If you want to try SPE, use for sure the latest version 0.8.2.a Perhaps I will have to write a simple IDE for Python that integrates Glade and supports pyGTK when I have some more programming experience... Have a look at PIDA then or feel free to join the pyxides project at that time: http://pyxides.stani.be Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Python IDE: great headache....
I've got used to SPE(editor)+WinPdb(debugger) not surprisingly of course ;-) Concerning the free-of-charge IDE's, things might change quite a bit. You might have read this: http://groups.google.nl/group/comp.lang.python.announce/browse_thread/thread/240c000583168029/2dec4ae34efe16e2#2dec4ae34efe16e2 Feel free to wiki on http://pyxides.stani.be Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
The Python multiple IDE Collaboration calls for coders
Dear Pythoneers, Looking at IDE's I can have three observations: 1. For some reasons numerous users prefer to use an open source IDE. 2. For some reasons numerous python programmers like to develop an open source IDE. 3. For some reasons the open source python IDE developers are not collaborating at all. The reasons for 1 or 2 are obvious, at least to me. Recently I have been wondering about the reason for 3. (Probably a lot of python programmers have wondered about this already for ages, but ok I might be slow ;-) I came to the conclusion that there was *NO* reason. As this was so clear, I started to invite all the authors of IDE's personally to collaborate all together. I hope that I didn't forget any, because there are so many. What is really nice, is that we feel the same: we should work together and share as much as possible. We don't want to waste our (often spare) time on reinventing wheels. Almost all IDE's (except of two) are participating no matter if they use Tkinter, wxPython, pyQT, Cocoa, pyGTK, ... (So this could open doors for an ajax python editor, who knows. Any python web framework like Django, Turbogears, ... interested in that?) These projects are participating: NewEdit, scrIDE, Eric3, Leo IDE, ActiveGrid, PIDA, drPython, pyDev, PyCrust, IPython, WinPdb debugger, Extended Python Debugger, PyLint, Gaphor, Envisage, Dabo, SilverCity SPE. It is not about unification, but about a little bit more collaboration. There are always libraries to share, more as we might think. In order to give the project shape I started building a (wiki based) website in plone which together with a mailing list should give a good platform for collaboration. (You need to login to edit wiki's.) All the developers are already invited, but everyone willing to code or contribute (documentation, translation, artwork, plone website, ..) is welcome. If you work on open source project which might be of interest (parsing, uml, framework, ...) please join or invite the projects which you think should participate as well. We will probably work in smaller teams on the various aspects of IDE's and tools. If this project succeeds it could be a major win for the Python community. These are some useful links: - homepage: http://pyxides.stani.be - mail list: http://pyxides.stani.be/polls/mailing - starting mail: http://pyxides.stani.be/wiki/StartingEmail - developers reaction: http://pyxides.stani.be/wiki/AuthorsOfIDEsTools - poll: http://pyxides.stani.be/polls/20060310-firstfocus/PlonePopoll_results2 Stani PS IDLE is the only one which didn't answer my invitation yet, but we'd love them to be in the team as well. (Kurt?) -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Video.
- pymedia: http://www.pymedia.org/ - pyvideo: http://www.geocities.com/rtrocca/python/ (use avisynth) - videocapture: http://videocapture.sourceforge.net/ If you are on Mac, you probably have access to everything by pyobjc. Good luck, Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: editor for Python on Linux
(I never saw this elsewhere). FYI SPE has these two features as well... Stani --- SPE - http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
[ANN] SPE IDE videos and more...
I'm happy to spread the word about showmedo.com, an excellent collection of python programming videos. From the website http://showmedo.com/videoListPage?listKey=TheBigPythonList: Want to learn how to use some of the best Python programming tools out there, including the supercharged IPython interpreter and the great free editor SPE? Or maybe you want to see how easy it is to create great-looking, powerful graphical user interfaces using wxPython. If so, take a gander at the videos below. They have two SPE specific videos: Python with Stani's Python Editor (SPE) Two videos to demonstrate editing and debugging of Python code using the excellent SPE toolkit. Python Development and Navigation with SPE -- SPE is a well-featured cross-platform development environment for Python. Here I show you how to write a simple Python program, save the code, run it and navigate using the Explorer, Index and UML Viewer. Complimentary material can be found in the manual and the tutorial at http://www.serpia.org. Debugging with WinPDB from Within SPE -- The WinPDB graphical debugger can be launched from within SPE to debug Python code. Here I show how to launch the debugger, step through the code and stack frame, inspect variables and exit back to SPE. I also explain the significance of the Magic Letters. The SPE videos area available at the url: http://showmedo.com/videoListPage?listKey=PythonDevelopmentWithSPE. Contribute back to your favorite open source projects by submitting your own python videos to this wonderfull project! If you need inspiration look at the requested videos: http://showmedo.com/requests Who will make the first wxGlade video? Anyone who contributes a video can request a SPE pdf manual as a reward. Stani -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html -- PS Other python videos have as topic: Beginning Python -- Three videos covering the download and installation of the Python programming language on a Windows machine and a small introduction to the Python interpreter. Python Development with IPython -- Four videos leading you through the installation and basic mastery of the powerful IPython interactive Python environment Python GUI Programming with wxPython -- A series of videos for beginners showing how easy it is to quickly develop professional looking graphical user interfaces exploiting the ease and power of the Python programming language. wxPython is fast becomming one of the most popular cross-platform GUI programming solutions. This set of videos aims to show you why. -- http://mail.python.org/mailman/listinfo/python-list
Re: editor for Python on Linux
SPE: http://pythonide.stani.be I use it on Ubuntu. For a quick start, view: http://showmedo.com/videoListPage?listKey=PythonDevelopmentWithSPE Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Curios issues with Editors
How do you run your code in SPE? I advise you to run it with ToolsRun/Stop (Ctrl+R) There would be no reason why it wouldn't work. Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: wxPython in Action book
You won't find a better book about wxPython. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Firefox bug in webbrowser module on Ubuntu?!
This seems ok... import webbrowser webbrowser._iscommand(firefox) True webbrowser.register(firefox,None,webbrowser.Netscape(firefox)) webbrowser._browsers {'galeon': [None, webbrowser.Galeon instance at 0xb7d471cc], 'firefox': [None, webbrowser.Netscape instance at 0xb7d43bcc], 'mozilla': [None, webbrowser.Netscape instance at 0xb7d4708c], 'mozilla-firefox': [None, webbrowser.Netscape instance at 0xb7d4712c], 'w3m': [None, webbrowser.GenericBrowser instance at 0xb7d43fec]} But it is still not working... webbrowser.open(http://www.python.org;) ...doesn't do anything However... import os os.path.exists('/usr/bin/firefox') True I also have Ubuntu on a VMware Player and there it works out of the box, although firefox is not registered there. (mozilla-firefox is.) It is strange as I just installed Ubuntu on this system and can't imagine something is screwed up already. -- http://mail.python.org/mailman/listinfo/python-list
Firefox bug in webbrowser module on Ubuntu?!
Hi, During optimizing SPE for Ubuntu, I found something strange. I have Ubuntu 5.10 The Breezy Badger and unfortunately this code is not working: import webbrowser webbrowser.open(http://www.python.org;) It does not throw an exception, but is not able to launch a browser. Ubuntu ships with Firefox as its default browser, but it looks like it is not recognized by the standard webbrowser module, instead it seems to prefer Netscape, which is not installed: import webbrowser webbrowser.browser 'netscape' In the _browsers attribute there seems to be an entry for 'mozilla-firefox', but doesn't seem to work webbrowser._browsers {'galeon': [None, webbrowser.Galeon instance at 0xb7d261cc], 'mozilla': [None, webbrowser.Netscape instance at 0xb7d2608c], 'mozilla-firefox': [None, webbrowser.Netscape instance at 0xb7d2612c], 'w3m': [None, webbrowser.GenericBrowser instance at 0xb7d22fec]} The tryorder is... webbrowser._tryorder ['galeon', 'mozilla-firefox', 'mozilla', 'w3m'] As a workaround I check for the file '/usr/bin/firefox' and use a os.system call. Of course a user could maybe install Netscape, but it would be absurd that SPE would require Netscape. Is there a reason why this doesn't work? It looks like a bug. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE [was: Wingide is a beautiful application]
Sybren Stuvel wrote: It runs now, but some things aren't working. Besides the crashing down, what else? I am very curious. When I open a file and click on the browse tab, I see the current directory. If I then double-click on a Python file, I'd expect SPE to open it, but nothing happens. Hmmm... and now SPE has crashed. No errors on the terminal, but the GUI simply doesn't repaint anymore. Sorry mate, it looks like a promising project, but it just doesn't do it for me. Way too much hassle for something that crashes on the first try. What does crash on the second try? Any bug that makes SPE crash won't survive long if reported. So, thanks for the bug report! I fixed it and the fix is in subversion. If there is anything else you want to have fixed for next release, just drop a line. But well.., sorry for all the too much hassle, Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: SPE [was: Wingide is a beautiful application]
Sybren Stuvel wrote: IMO displayed messages should be clear without having to resort to a debugging mode. I can agree on that. Debugging mode should only be for removing bugs, not for enlightenment of the user. Unless he doesn't follow the installation instructions. Anyway, apt-getting spe now... which doesn't work: Unpacking python-wxversion (from .../python-wxversion_2.6.1.1.1ubuntu2_all.deb) ... dpkg: error processing /var/cache/apt/archives/python-wxversion_2.6.1.1.1ubuntu2 _all.deb (--unpack): trying to overwrite `/usr/lib/python2.4/site-packages/wxversion.py', which is also in package wxpython2.5.3 If it's so hard to get the requirements installed, I'd rather stick to Vim. It is so hard to contact the person who packages SPE for Ubuntu. I contacted him but I get no answer. I am new to Ubuntu (or Linux in general), so I would not have a clue how that works (apart from time needed for it). If you would have read the blog (http://pythonide.stani.be/blog), you could clearly read this: SPE was for the first time tested on and improved for Ubuntu (and hopefully so for Linux in general). I adapted SPE such that it can ran out of the box of an archive (zip or tar.gz) (...) If you want to install SPE in this way, use the -no_setup.zip distribution: 1. uninstall previous version of SPE (VERY IMPORTANT, otherwise SPE won't run) 2. download and unpack the archive SPE-0.8.1.d-wx2.6.1.0-no_setup.zip 3. run SPE with 'python SPE.py' If you follow these three steps nothing more, nothing less, you are up and running with SPE in one minute. I don't know how can I make it more easy. Luckily other Ubuntu users had no problems and are running the latest SPE already on Ubuntu. I adapted SPE such that it can ran out of the box of an archive (zip or tar.gz). This has the advantage that Linux (but also Mac and Windows) don't have to install SPE anymore but can just run it out of a folder or USB stick, provided the right version of wxPython (2.6) is installed on the system as it is always the case with Ubuntu boxes. Ehm... I think I've clearly shown that, at least as far as the Ubuntu packages go, not all requirements are always there on an Ubuntu system. Supposing you use Ubuntu 5.10 The Breezy Badger, all the requirements are there: wxPython 2.6 That is all SPE needs. (If you still use Hoary, read here http://wiki.wxpython.org/index.cgi/wxPython_20with_20Ubuntu) So you have only clearly shown that you didn't read the instructions. I wish SPE can be retrieved by apt-get but that's beyond my control. If it doesn't work, let me know privately. Why? What's wrong with this newsgroup? Nothing, just thought it might be off topic, SPE has forums or newsgroups for that. So follow this recipee: - apt-get wxPython 2.6 (in case you don't have) - uninstall your previous SPE attempts (no '_spe' or 'sm' folder may be present in site-packages) - get http://download.berlios.de/python/SPE-0.8.1.d-wx2.6.1.0-no_setup.zip and unpack it - run SPE (python SPE.py) Still not working? Stani -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: Wingide is a beautiful application
Sybren Stuvel schreef: Sybren Stuvel enlightened us with: SPE is already annoying because of all the new windows it opens... Not a good start. If you mean terminal windows, that has gone with the latest release 0.8.1.d, see http://pythonide.stani.be/blog I remember using it before, to check out the Blender integration. Unfortunately, that didn't work. I'll give it another go. I downloaded it, tried to run it, then it stopped with a message that it needs a newer wxPython version than the one that comes with Ubuntu Linux. Since this release of Ubuntu is two months old and rather up to date with all things Python, IMO the SPE builders are pushing it a little too much by requiring even a newer version of wxPython. This is a misinterpretation, SPE failed because of something else. (As would have become clear if you would have run SPE in the debugging mode 'python SPE.py --debug'.) The version number displayed is the one on which SPE is being developed, not the one required (displayed on webpage). AFAIK SPE runs fine with wxPython 2.5.4.1+ I run SPE myself on the same release of Ubuntu as you (Breezy ?) and it now works very well. From the SPE news blog: SPE was for the first time tested on and improved for Ubuntu (and hopefully so for Linux in general). I adapted SPE such that it can ran out of the box of an archive (zip or tar.gz). This has the advantage that Linux (but also Mac and Windows) don't have to install SPE anymore but can just run it out of a folder or USB stick, provided the right version of wxPython (2.6) is installed on the system as it is always the case with Ubuntu boxes. If you want to install SPE in this way, use the -no_setup.zip distribution: 1. uninstall previous version of SPE (VERY IMPORTANT, otherwise SPE won't run) 2. download and unpack the archive SPE-0.8.1.d-wx2.6.1.0-no_setup.zip 3. run SPE with 'python SPE.py' If it doesn't work, let me know privately. Stani -- http://mail.python.org/mailman/listinfo/python-list
Anyone using SPE editor on Ubuntu?
Hi, I'm playing around with the latest (soon to be released) SPE on Ubuntu. This probably will increase the quality of SPE on Ubuntu and Linux/GTK in general. I already made some patches, but I would like to get in contact with SPE users on Ubuntu. The version of SPE which is now available on Ubuntu now is quite deprecated. I adapted SPE such that it can ran out of the box of an archive (zip or tar.gz). This has the advantage that Linux (but also Mac and Windows) don't have to install SPE anymore, although that option will remain. So if you want quickly to see what SPE is all about, you can just run it out of a folder or USB stick, provided the right version of wxPython (2.6) is installed on the system, which is always the case with Ubuntu boxes. So if you (want to) use SPE on Ubuntu, please contact me. Thanks, Stani -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: Anyone using SPE editor on Ubuntu?
So is Ubuntu your primary OS? Please email me privately at pythonide.stani.be_gmail.com News about new release you can follow here: http://pythonide.stani.be/blog -- http://mail.python.org/mailman/listinfo/python-list
ANN: SPE 0.8.1.b IDE (realtime error underlining script tooltips)
Release news from http://pythonide.stani.be This new release is for under your Christmas tree. (If you want more presents, just donate to SPE and receive the manual in your mailbox ;-) There are so many changes and fixes. The new cool features not to be missed are the realtime error underlinging and the tooltips for the file tabs, which gives you a preview of the file by the docstring. Mac users should upgrade as this fixed the most critical bug of SPE on Mac, the click inside selection crash. So just open the package and discover the present... :**New features**: - errors are underlined in red as you type (as preference) - tooltips on tabs showing path and docstring - drag and drop for script tabs - EditShow docstring (Ctrl+Shift+Space) - middle click pastes selected text - single instance application (enable it as preference) :**Improved features**: - file tabs (thanks to Andrea Gavana's NotebookCtrl) - add single click toggle for explore (not for Mac) - better code completion and docstring - dialog popup to confirm save before executing whole file - if signature not specified opens a choose file dialog - selected text is now always copied to the find dialog :**Fixes**: - clicking inside selection=deselect(no mac crash anymore) - launching debugger - removed unnecessary print statement - find in files clear behavior (by Thurston Stone) - ask to save before running a modified file - changed text 'save before run' to 'save before execute' - run with sys.executable (movable python) - info.PYTHON_EXEC to pythonw for Mac - __name__ in shell is now __main__ for executing scripts - Kiki dialog box (by Andrea Gavana) - import sys when right version wxPython is not found **Changes**: - auto reload change file is off by default :**Contributors**: - Andrea Gavana - Thurston Stone - Bill Peterson (manual review) - Michael Foord (manual review) - Theo de Ridder (for a lot of suggestions amp; critical feedback) :**Donations**: - Ramon Diaz-Uriarte, http://ligarto.org/rdiaz (15 euro) - Dmeetry Raizman, Symula Inc, http://www.symula.com (20 dollar) Both donators received the SPE manual. :**Installation**: - See http://pythonide.stani.be/manual/html/manual2.html - There is now an update section for MacOS X! :**Development**: - http://developer.berlios.de/mail/?group_id=4161\ SVN 117 About SPE: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe integrates with XRCed (gui designer) and ships with wxGlade (gui designer), PyChecker (source code doctor), Kiki (regular expression console) and WinPdb (remote, multi-threaded debugger). SPE is looking for people who can take screenshots for the new tutorial. The development of SPE is driven by its donations. Anyone who donates can ask for an nice pdf version of the manual without ads (60 pages). -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: SPE 0.8.1.b IDE (realtime error underlining script tooltips)
Sorry, should be SPE 0.8.1.c Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: Python IDE
SPE will be reviewed by the same person for the next PyCon against WingIDE, Komodo and Pydev. Maybe you say which features you want to give a better answer. I don't know about WingIDE but I do know about SPE ;-) Things which we want to have ready for the review: - integrated debugger (now WinPdb runs external) - configurable keyboard shortcuts - configurable color schemes - realtime syntax error underling (already implemented, wait for 0.8.1.c) - ... Well, much more features are implemented almost daily as more people start also contributing. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
Re: Python IDE (was: PythonWin troubleshooting)
Thanks Tim, SPE is written in Python and uses wxPython for its user interface and is being actively developed. In case you want to know more: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, UML viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its ability to run interactively inside blender with a 3d object browser. Spe integrates with XRCed (gui designer) and ships with wxGlade (gui designer), PyChecker (source code doctor), Kiki (regular expression console) and WinPdb (remote, multi-threaded debugger). Homepage: http://pythonide.stani.be Screenshots: http://pythonide.stani.be/screenshots Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: How to use pydoc?
If it's just about displaying pydoc pages... SPE Python IDE has pydoc built in. Just open any file and click on the pydoc tab, next to the uml tab. Then you see the python documentation of that script, which is generated on the fly, If you want to see documentation about the sys module, just click in the upper right corner on the index link. This works on Windows, Linux and Mac without a pain. Stani -- http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list
ANN: SPE 0.8.1.b Python IDE (complete rewrite for running files)
Release news from http://pythonide.stani.be This release is the result of a complete rewrite of the run system. It's now possible to run multi-threaded applications (like wxPython, gtk, ...) with SPE and still control them through the debugger. Also selected text can be executed in the shell. Read more at http://pythonide.stani.be/manual/html/manual3.html (see 1.3 Running files). New features: * launch the debugger at any time at a running script * launch the debugger at unhandled exceptions when running your script * execute selected lines as code snippets in the shell Improved features: * redesigned toolbar Bug fixes: * Show/hide shell (Mac) * Check run (0.8.1.b) Installation: * See http://pythonide.stani.be/manual/html/manual2.html * There is now an update section for MacOS X! Contributors: * Nir Aides (debug support) * Thurston Stone (bug report) Development: * http://developer.berlios.de/mail/?group_id=4161 Donations (thanks!): * Widhaya Trisarnwadhana About SPE: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe integrates with XRCed (gui designer) and ships with wxGlade (gui designer), PyChecker (source code doctor), Kiki (regular expression console) and WinPdb (remote, multi-threaded debugger). SPE is looking for native English speakers to review its manual. The development of SPE is driven by its donations. Anyone who donates can ask for an nice pdf version of the manual without ads (60 pages). -- http://mail.python.org/mailman/listinfo/python-list
Re: Visual Python, really Visual?
Or try out SPE: http://pythonide.stani.be It ships with a visual gui designer, called wxGlade, debugger WinPdb, etc... Stani -- http://mail.python.org/mailman/listinfo/python-list
Re: attaching to running python program with the debugger?
Hi, The new version of SPE 0.8.1.b (Python IDE) supports this. On the toolbar press the run/stop with winpdb button button ('gear with bug in it' icon) and when you want to find out, press the debug button (bug icon), then the debugger will break your script and you are even able to alter values etc... For more instructions, see: http://pythonide.stani.be/manual/html/manual3.html (section 1.3) Let me know if it works, Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Python riddle
I know that this code is nonsense, but why does this print 'Why?' a = 1 if a 2: try: 5/0 except: raise else: print 'why?' -- http://mail.python.org/mailman/listinfo/python-list
Re: Python riddle
Forget it, it's not 1st of april yet. -- http://mail.python.org/mailman/listinfo/python-list
ANN: SPE 0.8.0.b Python IDE (new: Mac support, doc viewer and workspaces)
:**What's new?**: SPE 'Kay release' 0.8.0.b This release is a major step forward for all platforms, especially for MacOS X. It offers you basic project management through workspaces (thanks to Thurston Stone), an improved sidebar and pydoc viewer. This is the first release which is also developed and tested on the Mac. If SPE is stable enough, I'll try to build SPE as an application for the Mac. This version aims stability, so please help to report and fix all bugs! You can get involved on the SPE dev mailing list: https://developer.berlios.de/mail/?group_id=4161 The advertisements on SPE's websites generate a moderate, but necesssary income. From now on if you donate, you can ask me by email an ad-free, nice pdf version of the manual. :**About SPE**: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe ships with wxGlade (gui designer), PyChecker (source code doctor) and Kiki (regular expression console). :**New features**: - stability - workspaces to manage your projects - documentation viewer (pydoc) - smart indentation: dedent after break, return, etc... - realtime updating of sidebar: explore, todo amp; index - check source realtime for syntax errors (optional) - backup files (.py.bak) are now optional :**Improved features**: - find in files :**Bug fixes**: - Workspace bugs (closing files) - Installer (Windows) - all these mac bugs are fixed: + Find dialog focus + Sticky notes + Find in files tab + Toolbar keyboard shortcut display + Kiki: regex console + SPE crashes on close + preferences dialog: combobox bug + debug dialog: combobox bug + wxGlade won't launch + winPdb won't launch + 2x window menu bug + context menu bug + open amp; run in terminal emulator + pythonw debug message + spe script bug + exception when closing file + PyChecker :**Installation**: See http://pythonide.stani.be/manual/html/manual2.html There is now an update section for MacOS X! :**Websites**: - homepage: http://pythonide.stani.be - manual:http://pythonide.stani.be/manual/html/manual.html - news blog: http://pythonide.stani.be/blog :**Contributors**: - Thurston Stone (workspaces) - Glenn Washburn (patches) - Henning Hraban Ramm (Mac support) - Kay Fricke (Mac support) - Stefan Csomor (wxMac support) - and many more... :**Donations**: Special thanks to Richard Brown of Dartware for starting the fund raising campaign of the mini-mac for SPE. A lot of the donations below are done specifically for this purpose. Impressive that the smallest user base of SPE generated generously the largest donations ever. Many thanks. Maybe it's time now for Window and Linux users to catch up! - Dartware (250 euro) - Rick Thomas (161 euro) - Brian Myers (100 euro) - Advanced Concepts AG (50 euro) - Ernesto Costa (50 euro) - Henning Hraban Ramm (50 euro) - Peter Koppatz (50 euro) - Kevin Murphy (50 euro) - Stefano Morandi (50 euro) - Kenneth McDonald (40 euro) - Barrett Smith (25 euro) - Irakli Nadareishvili (20 euro) - Jonathan Roadley-Battin (20 euro) - Brendan Simons (15 euro) - Edwin Ellis (15 euro) - Ian Ozsvald (15 euro) - Michael Smith (15 euro) - Eduardo Gonzalez (10 euro) - Phil Hargett (10 euro) - David Diskin (5 euro) Thanks for this generous support! Stani -- http://mail.python.org/mailman/listinfo/python-list
Can bdist_wininst built installer require minimum python version?
A SPE user reported this: http://developer.berlios.de/bugs/?func=detailbugbug_id=4878group_id=4161 SPE Installer gives option for installing for python22 (i have python22, 23, and 24 installed) I thought that spe requried 2.3+ (ie it should allow for 23, 24 but not 22). Is there anyway that SPE can require a minimum version (eg python 23)? Thanks, Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Built windows installers and Cygwin
A SPE user reported this on the SPE users forum (http://developer.berlios.de/forum/message.php?msg_id=21944): My setup is as follows: SPE-0.7.5 Python 2.4 (from the Cygwin packages) Installer does not continue. No Python installation found in the registry. Are there other workarounds for this issue? The SPE installer is a standard Python built installer made with: python setup.py bdist_wininst Is there any way for these kind of installers to be used with cygwin. The installer creates also shortcuts in the start menu, which is only possible with built installers without requiring win32 extensions. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: ? MDI depreciated
Hi Len, The preference of most users is quite platform related: - Mac users are the most pronounced, they like SDI (single document interface), where there is one frame for every document - Most linux users like something between MDI and SDI: a tabbed interface, like firefox, where there is one frame for all documents, although some of them also like SDI - On windows still a lot of users like MDI, where there is one frame for all documents, even though it is officially deprecated. This is general, but a lot of users have their own preferences. So it's easy to have a debate about this issue. There are a lot of cross-overs: some like a tabbed Windows MDI, some like tabs in the Mac SDI (every frame one window, but you can navigate through them with tabs), ... So except from the Mac there is no new, official UI model AFAIK. Another difference is that Windows prefer toolbars and Mac prefers tool Palettes. So all this doesn't make developping a serious cross-platform program an easy task. What you choose is dependent of your target OS and your own interface 'ethics'. If you are a Windows user and want to learn more about Mac interface, this is a good starting point: http://developer.apple.com/ue/index.html Also have a look at widely used cross-platform programs like Photoshop or any application similar to the one you want to develop. With SPE I opted for a kameleon interface. It's still unstable under development as a wxPython module (smdi.py), but it should make it possible to develop cross-platform applications without the author having to worry to choose a document interface. The user can simply select his preference in the options dialog box. The smdi.py module is included with SPE as _spe/sm/wxp/smdi.py. It is designed independent from SPE, so you could use it for any application. However as it is unstable and will soon go through a lot of development, I wouldn't recommend it, unless you are experienced with wxPython and would like to contribute to its development. I expect to have it really stable in the beginning of next year. I think it would be a major step if a module can handle all the worries of the design of a document interface as this can be treated independently from the application. If you want to see some screenshots of SPE in different DI's: http://pythonide.stani.be/screenshots Good luck! Stani -- SPE - Stani's Python Editor http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
SPE 0.7.5.e - Python IDE with improved uml, debugger unicode support
What's new? SPE now creates backup files and can insert your standard signature (with for example license and copyright information) in your code. A bug that prevented SPE to start on Linux has been fixed and also a lot of bugfixes were implemented, especially for unicode. You can read more on the SPE news blog. If you like SPE, please contribute by coding, writing documentation or donating. Spread the word on blogs, ... It would be nice if some (experienced) Mac users would subscribe to the developers mailing list to speed up the Mac port for SPE. I expect my new Mac any moment. Spe is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, dragdrop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe ships with wxGlade (gui designer), PyChecker (source code doctor) and Kiki (regular expression console). Spe is extensible with wxGlade. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: Expanding Python as a macro language
some future Firefox version might perhaps integrate a Python engine For those who never heard about Firefox 1.9, check the following urls. It looks very promising: 1) http://wiki.mozilla.org/Roadmap_Scratchpad#Python_for_XUL Python for XUL Significant potential contributors in both the Python and XUL application development communities have long wanted access to Python's set of libraries and its capabilities as an application development language. So in addition to JavaScript, which is the default web and XUL scripting language, we plan to extend the reach of Gecko and XUL to the Python world. Mark Hammond's work on PyXPCOM and a language-neutral DOM is well under way as of October 2005, and we believe that the glue code and bindings will be slim enough to be part of a default XULRunner or Firefox distribution when the 1.9 cycle is complete. (N.B.: Mozilla does not intend to distribute the C-Python runtime with its applications or frameworks, and application developers who wish to take advantage of these capabilities will need to provide for this dependency in their installers or packaging. Stub or streaming installer capabilities in the Firefox/XULRunner based on Gecko 1.9 will probably help a great deal to ease the extra download for Python-less users.) 2) http://weblogs.mozillazine.org/roadmap/archives/008865.html Given evolving JS, why Python? Simple: different programming languages, of different ages, have their strengths, and one of the greatest strength of any solid language is its community. We want to support Python as well as JS for XUL scripting in order to engage a large, creative community of hackers that is mostly disjoint from the web-standards-savvy XUL hackers who are already engaged with Mozilla and Firefox. * Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: Typing tutor help script needed, please
#---Input data #List of words; every word or sentence on one line #If from file: WORDS = open(fileName).readlines() WORDS = \ Afrikaans Anna Bread red word bored python.split('\n') #---Main program import re PATTERN = ['[^(%s)]+','[%s]+'] FILENAME= ['not_%s.txt','%s.txt'] def filter(letters='bdeor',words=WORDS,contain=True,ignoreCase=True): pattern = PATTERN[contain]%'|'.join(list(letters)) if ignoreCase: allowed = re.compile(pattern,re.IGNORECASE) else: allowed = re.compile(pattern) result = [] for word in words: match = allowed.match(word) if match and match.group(0) == word: result.append(word) print result output = open(FILENAME[contain]%letters,'w') output.write('\n'.join(result)) output.close() if __name__ == '__main__': filter() --- This should do it. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: Expanding Python as a macro language
Well on Windows I used some time ago for similar tasks the wmi module. It is able to analyse running programs, press buttons and activate menu items. As you didn't mention it, you might have a look at it. It works pretty well. http://tgolden.sc.sabren.com/python/wmi.html For linux I don't know. -- http://mail.python.org/mailman/listinfo/python-list
Re: Print to printer
You should be more specific. What do you want to print? Text, images, ... If you want a cross platform solution you could use wxPython: http://wiki.wxwidgets.org/docbrowse.cgi/wxwin_printingoverview.html#printingoverview For text you could use wxHtmlEasyPrinting: http://wiki.wxpython.org/index.cgi/Printing For mac solutions, you better post this on the pythonmac mailing list. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
ANN: SPE 0.7.5.d released!
I'm currently packaging the new SPE. The release is a matter of minutes. Next releases (0.8.*) will focus on the Mac in honour of the fund raising for the purchase of a Mac. Read more on the homepage. New features: * UML export to bitmap (bmp, gif, jpg, pcx, png, pnm, tif, xbm, xpm), to vector drawing (eps) or to printer (pdf). * Dialog box for passing arguments and options to debugger. * Unicode support (specify encoding in source file) You can read more on the SPE news blog. It would be nice if some (experienced) Mac users would subscribe to the developers mailing list to speed up the Mac port for SPE. I expect my new Mac any moment. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: SPE 0.7.5.d released!
I forgot to include a sample of an exported Uml diagram, so here it is as a pdf: http://www.stani.be/python/spe/images/smdi.pdf Previous announcement: I'm currently packaging the new SPE. The release is a matter of minutes. Next releases (0.8.*) will focus on the Mac in honour of the fund raising for the purchase of a Mac. Read more on the homepage. New features: * UML export to bitmap (bmp, gif, jpg, pcx, png, pnm, tif, xbm, xpm), to vector drawing (eps) or to printer (pdf). * Dialog box for passing arguments and options to debugger. * Unicode support (specify encoding in source file) You can read more on the SPE news blog. It would be nice if some (experienced) Mac users would subscribe to the developers mailing list to speed up the Mac port for SPE. I expect my new Mac any moment. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: Double replace or single re.sub?
Of course it is better to precompile the expression, but I guess replace will beat even a precompiled regular expression. You could see this posting: http://groups.google.nl/group/comp.lang.python/msg/32af24eab9024f60?hl=nlq=replace+re+speed+python+sub But performance should be measured, not guessed. Stani -- SPE - Stani's Python Editor http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: wxListbook layout problem
It is definitely a bug. The same problem also happens with wx.LB_BOTTOM. Tested on WinXP (SP2), python 2.4.1, wxPython 2.6.1.0 Stani -- SPE - Stani's Python Editor http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: IDE recommendation please
Mac users of SPE collected money for me to buy a Mac. This means that in the near future SPE will be especially improved for Mac. So feedback from Mac users is more than welcome and will probably be taken into account. SPE is a free, open source IDE with a lot of features like a debugger, UML diagrams and a GUI designer. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Fund raising for SPE (Python IDE) on Mac Os X is great success!!
Hi, I'd like to thank everyone who contributed, especially Richard Brown from Dartware and Rick Thomas. I'm highly impressed that the smallest user base of SPE collected the largest donation ever to SPE. Now it's my turn to impress the SPE Mac users. As such the light is green for SPE on the Mac. First I will buy a Mac and get used to it. Then I will optimize SPE for the Mac and try to release simultaneously. Be patient as this will take some time. The next releases (0.7) will be based on work I did before. But from 0.8 releases SPE will also be tested developed on Mac. Please subscribe to the mailing list as a developer, user and/or mac user. Of course donations are still welcome. Stani http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list
Re: Popularity of blogging tools used by python programmers
Well, Python, Zope Plone hosting are quite popular. However python based blog software isn't as sexy as let's say blogger. For SPE I first used a combination of PyDSpycs.net. It is free for everyone, but unfortunately not stable enough to my standards. Luckily I got sponsored by zettai.net, who offer me excellent Zope hosting. There I use CoreBlog as I wanted consciously to use a python product. As a rule of thumb: when you are totally happy with the templates of prepacked blogs like blogger, then stick with that. But... even though they look slick, they all look the same. It's a bit the same problem of flash. So if you really want to modify your blog, you better take a product which is written in a language you understand. That's the reason why I like to work with Zope, Plone and CoreBlog. But I guess a python programmer using other blog systems is not as bad as a microsoft worker googling for the newest ipod. I'm sure a lot Perl or Ruby programmers also use mailman for their mailing lists. Stani http://pythonide.stani.be http://pythonide.stani.be/blog http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list