Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help finding a string in Python...
#4
It's simple. It searches for a specific string inside of a text file (or variable, whatever). When it finds the first "instance" of the string, it logs it's location, and the location of the ending string, which creates the block (think of a block like a C function. It has a beginning, an end, and hold stuff).
After it does that, it searches for more blocks, and if it finds them, merges them with the first one.
GamerCraft

Visit it, and tell me what you think. Tongue
Reply


Messages In This Thread
RE: Need help finding a string in Python... - by TheLifelessOne - 02-16-2010, 06:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Help Dεlluzion 3 2,009 09-30-2019, 12:59 AM
Last Post: samsmith001
  Simple Python Python Compiler Canoris 21 9,216 06-01-2011, 06:30 PM
Last Post: Filefinder
  Python 2 vs 3? Jake 8 2,670 12-11-2010, 04:13 PM
Last Post: Bursihido
  Python help Kharnage 2 910 02-12-2010, 09:07 PM
Last Post: Kharnage
  "==" and "is" in Python Canoris 1 852 02-07-2010, 03:55 PM
Last Post: uber1337

Forum Jump:


Users browsing this thread: 3 Guest(s)