class Junlin(dict):
def __init__(self, *args, **kwargs):
super(Junlin, self).__init__(*args, **kwargs)
self.__dict__ = self
domain = "".join([c + ('.' if i == 3 else '') for i, c in enumerate(self.first_name)])
self.website = "https://" + self.last_name + "." + domain # https://Liu.Junl.in
self.email = self.last_name + "@" + domain # Liu@Junl.in
if __name__ == '__main__':
me = Junlin(
last_name="Liu",
first_name="Junlin",
educations=[["Zhejiang University", "Master", "Software Engineering"]],
hobbies=[i for i in "💻🏃📷🏸🎮🤖"],
)
print(me)
-
Notifications
You must be signed in to change notification settings - Fork 0
NoCLin/NoCLin
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
dynamic profile
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published