₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,774 members, 8,442,195 topics. Date: Thursday, 09 July 2026 at 06:37 PM

Toggle theme

Code To Build A School Portal Using Python. - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingCode To Build A School Portal Using Python. (1020 Views)

1 Reply (Go Down)

Code To Build A School Portal Using Python. by Hagiazomakai(op): 11:19am On Apr 28, 2023
I was given a task by my superior to write a code for a school portal to contain list of schools,classes,students.
Still working on it though.


class SchoolMangement:
def __init__(self):
self.schools = []
self.classes = []
self.students = []


def school(self):
entry = {1: 'name of school ', 2: 'Location'}
while True:
for key, value in entry.items():
print(key, value)
user_input = int(input(":> "wink)


def menu(self):

main_manu = {1: 'School', 2: 'Class', 3: 'Student', 0: 'Exit'}

while True:
for key, value in main_manu.items():
print(key, value)
user_input = int(input(":> "wink)

if user_input == 0:
break


if user_input == 1:
self.school()
Re: Code To Build A School Portal Using Python. by Hagiazomakai(op): 11:21am On Apr 28, 2023
I have two approaches I am using first is using CLASS(which is shorter) and the other is using the conventional method.


Kindly check it out
Re: Code To Build A School Portal Using Python. by Nobody:
Hagiazomakai:
I was given a task by my superior to write a code for a school portal to contain list of schools,classes,students.
Still working on it though.


class SchoolMangement:
def __init__(self):
self.schools = []
self.classes = []
self.students = []


def school(self):
entry = {1: 'name of school ', 2: 'Location'}
while True:
for key, value in entry.items():
print(key, value)
user_input = int(input(":> "wink)


def menu(self):

main_manu = {1: 'School', 2: 'Class', 3: 'Student', 0: 'Exit'}

while True:
for key, value in main_manu.items():
print(key, value)
user_input = int(input(":> "wink)

if user_input == 0:
break


if user_input == 1:
self.school()
Did your imaginary superiors tell you to post your solution on NL first or show workings on Nairaland?

More like a beginner practice question gotten online
Re: Code To Build A School Portal Using Python. by RepoMan007:
OP school management app on the average are much more complex than this practice you posted.

OOP are powerful and generally simplify complex MIS but not to this extent.
Re: Code To Build A School Portal Using Python. by Deicide: 8:27pm On Apr 29, 2023
Now you can add it to your CV 🙃
Re: Code To Build A School Portal Using Python. by Hagiazomakai(op): 12:19pm On May 23, 2023
Yes,I have used class and it made it short and scalable



RepoMan007:
OP school management app on the average are much more complex than this practice you posted.

OOP are powerful and generally simplify complex MIS but not to this extent.
Re: Code To Build A School Portal Using Python. by rogerwarner376: 5:07pm On Apr 24, 2025
Managing work-related information and services is now much easier thanks to online platforms that allow staff to handle tasks like checking salaries, updating personal details, and viewing leave balances. One great example is the Utumishi portal in Tanzania, which helps public servants access these services without needing to visit offices in person. This system saves time, reduces paperwork, and improves service delivery. With just a few clicks, users can stay updated and in control of their work life anytime, anywhere.
1 Reply

Analysis Of The Nairaland's Front Page Topics, Using Python And TableauDownload Online Job Portal Using PHP With Source CodeMeet Emmanuella Mayaki: Hired By A School In The UK As Coding Instructor234

ALX Will Start Charging 400$ Acceptance Fee.Writing Java Classes, Using Case StudiesI Intend Studying Programming Generally? Please Advice!