Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » python fields columns
  • Dictionary w/ String Indexes

    Hi, I'm coding in Python and I'm wondering if there's any way to create an array with a string/variable as an index? Here's the section of code I have so far: finDict = {} courseInfo = [] a = re.compile('.*<td class.*?>') b = re.compile('</td>') i = 1 count = 7 for l in finTable:   if ...
    Posted to Construction Advice (Forum) by newb101 on December 10, 2006
  • Matching Inputs and Displaying

    Hi, I'm having some trouble with my code. I'm using python to take in information from a form/website in order to link the user to another website. My problem is thus: ------------------------------------------------ ae = re.compile('[A-E]') fl = re.compile('[F-L]') mw = re.compile('[M-W]') if ...
    Posted to Construction Advice (Forum) by newb101 on December 9, 2006
  • Parse a line of flat text into fields

    Hello, I need to parse a line into fields.  This should be relatively easy, but the line will also contain free text, unlabeled, which is also a field.  I am working in .Net (C# or VB works).  This is a new project so I don't have "real" data, but here are some examples:(Z) p:PField c:CField Here is some associated ...
    Posted to Construction Advice (Forum) by JacobKimbrough on October 8, 2006
  • Matching fields of text

    Language: Python I am working with a field of text like the following: Title:Guo jia lin ye juURL:http://www.forestry.gov.cn/Description:Government bureau that oversees policies, regulations, and development plans regarding forestry and the environment. Features details on the structure and role of each bureau division, major projects, news and ...
    Posted to Construction Advice (Forum) by sanmarcos on September 24, 2006