You might get this message in Google AppEngine when sending an email message and specifying a custom from address. To get it to work you must add the address as a developer for your application (or use the email address you signed up with). Steps to Add a Developer Email Address: Log in to your Google [...]
Continue reading...5. March 2010
If you need to get email working on your windows dev machine for Google AppEngine, here is one method: Download Fake Sendmail for Windows. Unzip the files and copy them into a new folder. Add this new folder to your windows PATH, by right clicking on My Computer -> Properties. Click Advanced Tab -> Environmental Variables. Edit [...]
Continue reading...3. February 2010
Here is how to remove the U3 application from your USB drive and prevent it from starting up every time you plug in your USB stick. For Windows: Download and run this Windows uninstaller from U3. Works in XP, Vista and Windows 7, and others. Macintosh Follow the sandisk instructions ro remove U3. Additional Information You can always visit the U3 support [...]
Continue reading...4. November 2009
If you have a file called desktop.ini open in Notepad when Windows starts, here is how to fix it. You just need to delete this file from the Program Menu startup folder. Go to the Notepad window that has the desktop.ini file. In the menu, click File -> Save As. In the “Save as type”, [...]
Continue reading...3. November 2009
To urlencode a querystring or form data in python you can use the urllib module: use urllib # you have to pass in a dictionary print urllib.urlencode({'id':'100', 'name':'john smith'}) # then you get 'id=100&name=john+smith' Urlencoding Unicode and UTF8 Values #this works fine print urllib.urlencode({name:'José'}) #you have to be careful with unicode strings # this will throw an error: print urllib.urlencode({name:u'José'}) # UnicodeDecodeError: 'ascii' codec can't decode [...]
Continue reading...
8. March 2010
0 Comments