No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I try to understand the regex in python. How can i split the following sentence with regular expression? "familyname, Givenname A.15.10" this is like the phonebook in python regex http://docs.python.org/library/re.html. The person maybe have 2 or more familynames and 2 or more givennames. After the familynames exist ', ' and … |
|
Hi to everyone. I am new here and i try to learn python3. For this reason i try to implement a problem with the following characteristics: A class Room with atrributes(building,floor,number) and a Class occupant with attributes(familyname,givenname,room). Next the program will read a text file line by line. each line … |