« first day (1889 days earlier)      last day (1477 days later) » 

12:14 AM
or my questions are shitty.. hahaha
 
 
7 hours later…
7:14 AM
1 message moved from Python
 
 
4 hours later…
11:11 AM
with open(Sw0, 'r') as f:
     for line1 in f:

          #if in_file:
                line1 = line1.split(' ')

                for item in line1:
                    if re.search(r'^[a-zA-Z]+\_[a-zA-Z]+', item):
                      match = re.search(r'[a-zA-Z]+\_[a-zA-Z]+', item)
                      data0.append(match.group(0))

                for item in f:
               # section header
                    match = re.search(r'IP Arp [^Extn-]*-\s*(\w+)', item)
                    if match is not None:
 
1 message moved from Python
 
Post the code with an example and the error in SO
 
11:29 AM
1 message moved from Python
 
 
6 hours later…
5:13 PM
i got a question is anyone here that are willing to help? =)
 
not without an MCVE, no
If you keep asking here for help you should start learning how to ask right.
 
doesnt let me split on '..Omn-b-192' because its a string so i cant export it and add it in 2 different cells in a csv file. Is there anyway i could split like '...Omn-b', '192.168.0.17' so i have to different strings to work on csv files?
@AndrasDeak it isn't a global code question this time ;)
 
It's not even a question.
Please review the "Asking a Question" section of our rules: sopython.com/chatroom
7 messages moved from Python
 
seems like your makin abusive deletes again
 
1 message moved from Python
 

« first day (1889 days earlier)      last day (1477 days later) »