.py
![]() | |
Introduced | 9 September 1991 |
---|---|
TLD type | Country code top-level domain |
Status | Active |
Registry | Network Information Center - Paraguay (NIC-PY) |
Sponsor | Centro Nacional de Computación, Universidad Nacional de Asunción |
Intended use | Entities connected with ![]() |
Actual use | Fairly popular in Paraguay; Some websites relating to the programming language Python |
Registration restrictions | Second-level registrations prohibited; must have a contact in Paraguay; subdomains have various restrictions; all applications subject to approval by registry |
Structure | Registrations are at third level beneath second-level labels |
Registry website | NIC.py |
.py is the Internet country code top-level domain (ccTLD) for Paraguay.
Second-level domains
- com.py
- coop.py
- edu.py
- mil.py
- gov.py
- org.py
- net.py
- una.py
class User:
def __init__(self, username): self.username = username self.followers = [] self.following = [] self.posts = [] self.stories = []
def follow(self, user): self.following.append(user) user.followers.append(self)
def unfollow(self, user): self.following.remove(user) user.followers.remove(self)
def create_post(self, content): post = Post(content, self) self.posts.append(post)
def create_story(self, content): story = Story(content, self) self.stories.append(story)
class Post:
def __init__(self, content, author): self.content = content self.author = author self.likes = 0 self.comments = []
def like(self): self.likes += 1
def comment(self, comment): self.comments.append(comment)
class Story:
def __init__(self, content, author): self.content = content self.author = author
class Davidos:
def __init__(self): self.users = []
def create_user(self, username): user = User(username) self.users.append(user)
Welcome! This is an offline-capable Notepad which is a Progressive Web App.
The app serves the following features:
- Write notes which are then saved to the localStorage. - Installable on supported browsers for offline usage. - "Add To Home Screen" feature on Android-supported devices to launch the app from the home screen. - Dark mode. - Privacy-focused - We'll never collect your precious data. - Light-weight - Loads almost instantly. - It's open-source!
CAUTION: Since the app uses the browser's localStorage to store your notes, it's recommended that you take a backup of your notes more often using the "Download Notes" button or by pressing the "Ctrl/Cmd + S" keys.
- Start writing your notes **
External links