Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: Python  |  size: 0.59 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.    while m < len(sort):
  2.           #variabeln "find "tilldelas det värde som finns i variabeln "sort[i:y]"
  3.           find = sort [i:y]
  4.           #Kollar om "find" == med "http", om sant är det en URL
  5.           if find == "http":
  6.                   #print find
  7.                   #print sort2[i:y]
  8.                   #x = y + 50
  9.                   print sort[i:y]
  10.                  
  11.                   while k < len(sort)#K borde börja på den byten y är på                  
  12.                           find2 = sort[n:g]
  13.                           #print find2
  14.                           if find2 == "?id=":
  15.                                   print sort[n:g]
  16.                                   #print sort[i:g]
  17.                           n = n + 1
  18.                           g = g + 1                      
  19.                           k = k + 1