Deals in Town - About

Deals in Town is a simple site which will helps you to track some HOT DEALS from various group buying sites in India.

In recent days Group bargain sites are suddenly increased and they are announcing pretty good deals daily. So I thought to code a small site which will fetch daily deals and the result is Deals in Town.

Currently its like a beta version. It will fetch the deals from three group buying sites (SnapdealMydala, Koovs) across four major cities (Chennai, Bangalore, Mumbai, Delhi). Due to shortage of time I wrote code to fetch content from only three sites. As soon as possible other sites and features will be included.

And I am using same environment which I have used for my previous experiment

Please post your thoughts, suggestions or any feedback as a comment below or mail me at prabagharan@gmail.com or tweete me @DKsays.

:)

UPDATE:

Our site may be down whenever there is a change in the structure of any of the deals site !! . 

So sorry for the inconvenience. We will soon find a solution.

Experiment With Beautifulsoup Web.py and Appengine

Click here to download:
codes.zip (226 KB)

I played with EasyGUI to give the GUI for that dictionary script.

Today when I was exploring http://pypi.python.org/pypi I found a simple and powerful web framework package called web.py . After that I installed it and started to learn to use it from the given tutorials. To experiment it I again took that dictionary script in my hand ( sure it is dying in my hands :p ) modified it and executed successfully in my localhost

But I had a difficulty. When ever I need reference for a word I was supposed to run that script and request the url in browser. You know that was painful when you search for fast reference. So to make it simple I need to host it some where in the web and then comes the idea of using Google App Engine (GAE) . With few searches I modified the app that fits for GAE. So by this when ever I need the meaning I can refer like this "http://dkpydic.appspot.com/<word for reference>" example "http://dkpydic.appspot.com/Python"

Again to make it simple I created a bookmarklet . Ya too played with javascript a bit.

How to use this Bookmarklet ?

Copy the following code. Rightclick on your bookmark toolbar. Click "new bookmark". Paste the code in the location text box thats it.

javascript:var%20t=((window.getSelection%20&&%20window.getSelection())||(document.getSelection%20&&%20document.getSelection())||(document.selection%20&&%20document.selection.createRange%20&&%20document.selection.createRange().text));var%20load=window.open('http://dkpydic.appspot.com/'+t,'','scrollbars=yes,menubar=no,height=400,width=800,resizable=no,toolbar=no,location=no,status=no');
A window will pop with all references

BTW you can download all the files which i used and improve the code :)

You may ask: " Why don't you go to http://dictionary.reference.com/ or use some firefox plugins and refer a meaning ?"

My answer:  "Ya you can. But you will miss some fun ! " ;)


Hey Python Beginners Try EasyGUI Module To Create Little GUI Apps

With the help of BeautifulSoup module I parsed the dictionary.reference.com page to create an easy dictionary command line app.

And next my task is to give the GUI for that script. As a beginner I searched for some simple and easy GUI modules and I ended up with EasyGUI. Just by changing few lines of code I got GUI for my dictionary app. ( yay! )

Here I am attaching the screen shots and scripts.

If you are a beginner like me try to stir the soup by adding few lines of code.

Don't forget to download and install following modules

:)


(download)

Click here to download:
gdkdic.py (0 Bytes)

Click here to download:
dkdic.py (0 Bytes)