Category: python
Quick example to show how you can use Python Imaging Library (PIL) to add a watermark to an another image
Installing PIL in Mac OSX is a little tricky. Follow this guide to install it on your Mac
AppBuck.com is a iPhone / iPod Touch apps community. We have various categories of App Store and each forum entry is ready to say something. Feel free and comment on the forum!
http://www.appbuck.com
iphone, forum, apps, itunes,
We would like to announce that OpenFlashCards.com was published today. This is a website which you can browse,create, and share multiple choice questions flash cards. The interface is simple and easy to start to create your own cards. Please feel free to create your cards. We will add more features on this website :
1. Embedding [...]
We enhanced the pagechat player to hide the top bar and users menu. Now all you have to do is copy and paste the following code
<script>
var pagechat_width = ‘600px’;
var pagechat_height = ‘400px’;
</script>
<script
src=”http://s1.pagechat.com/pagechat/js/embed.js”
id=”pagechat_embed”>
</script>
Check it out @ http://www.oreillymaker.com
PageChat.com is an innovative tool to communicate with anyone by dynamically creating chat rooms.
You could also use page chat to communicate with others about various topics of interest. Integrate our chat rooms with your websites/blogs to create a unique experience for your audience to chat with each other while on the same page.
We are currently [...]
PyScraper is a quick python program i wrote to do basic HTTP Get and POST, It also implements download functionality with basic session management based on cookies.
Today I found something cool for drawing graphs. Its called GraphViz, You can download it from
http://www.graphviz.org/
It can output in various formats including SVG, PNG and GIF. But PNG and GIF dont have aliasing enabled, so they are pretty crappy.
For an example, look here. An image generated using PNG output
http://www.linkulu.com/random/?format=png&numnodes=10&size=5,5
Now look @ an another random [...]
It seems that there are no good introductions for how to create transparent image text. However we want it for common image module like CAPTCHA which is an image authentication method. It’s easy to just draw text on image, but in order to rotate the text, you have to rotate the image with the text. [...]
I added line numbers and some formatting capabilities to Pygments.com
Now the script tag renders line numbers by default. Also RTF download of colored code is available on the Test Page for those nice looking word documents
Check it out @ http://www.pygments.com
I purchased Pygments.com domain yesterday. Iam surprised the domain is still available. i guess the Pygments guys dont really care about the .com domain name.
Any way access it via http://www.pygments.com
You can use the code colorizer by going to the
Colorizer Test Program.
But the cool thing i added is, a javascript service to colorize any code.
Lets say [...]
We at ObjectGraph are moving to a dedicated hosting solution. The server is hosted in NY. It has Cent OS 4.4 (Based on RHEL 4).
It comes installed with Python 2.3.4. A lot of packages (like yum) depend on this version of python in the system.
So when i found out that some of the syntax like [...]
The Python HTTPParser both in HTTPParser and htmllib are very flexible to provide your own implementations for handling start tag, end tags and data elements, but it has limitations. For example if i wanted to preserve input formatting of HTML, but change just a few tags it would be hard to do.
I found a better [...]












