Skip to content

DanilaNagornyi/python-classes-and-objects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classes and Objects in Python

A simple Python project demonstrating object-oriented programming basics with User and Post classes.

Structure

  • user.py - User class with email, name, password, and job title management
  • post.py - Post class for creating messages with authors
  • main.py - Demo script showing class usage

Usage

python main.py

Features

User class:

  • Change password
  • Update job title
  • Display user information

Post class:

  • Create posts with message and author
  • Display post information

About

Python project demonstrating object-oriented programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages