Forum: Python Jan 6th, 2009 |
| Replies: 2 Views: 417 Read about using DB-API with MySQL. Here's (http://www.kitebird.com/articles/pydbapi.html) a short but sufficient start. |
Forum: Python Jan 6th, 2009 |
| Replies: 1 Views: 1,351 I know a small recipe (http://code.activestate.com/recipes/101276/) that does just this (checking for existence) over HTTP. I'm not too sure if it will apply but it's the following:
from httplib... |
Forum: Python Dec 2nd, 2007 |
| Replies: 2 Views: 1,219 Why is there no indentation at all? This. Is. Madness! |
Forum: Python Nov 29th, 2007 |
| Replies: 6 Views: 1,189 The last sleep statement is unnecessary, no? |
Forum: C Nov 29th, 2007 |
| Replies: 8 Views: 1,258 Use this algorithm to delete the last node.
void DelLast(List L)
{
List Temp;
if(L==NULL||L->Next==NULL)
{
printf("List contains no or just one element.");
return;
} |
Forum: Python Nov 29th, 2007 |
| Replies: 2 Views: 1,169 Sure!
What you need is the urllib / urllib2
An example would be:
import urllib
abc=urllib.urlopen("http://www.something.com")
StrA=abc.read()
print StrA |