HTML CSS PHP Python Flask Physics Chemistry Visual Art Blog Research more...

TEA Blog

CRAFT OR ART: PICK ONE

Posted by: Benjamin Onuorah


All art contains elements of craft.
All crafts contain elements art.
You may describe craft as the technical process of creativity.
You may define art as the intellectual and imaginative aspect of creativity.
If the craft or technical content outweighs the intellectual conceptualization, the finished work looks immediately showy but it is lacking in depth.
If the intellectual aspect is bereft of adequate technical proficiency, the finished work looks unfinished and uninviting.
When the intellectual input and the technical process find a balance in a work of art, the result elevates both the artist and the audience.
The artist is the wonderworker that doctors and heals the heart and head of the community.
A community that bans, cuts, or underrates art will need to train more psychiatrists to medicate the people with drugs, as the society succumbs to mass mental health impairments.
Make and promote more art, and you need less soldiers and police.
Forbid art, and you need to invest in war arsenal and massive policing.


Professor Moyo Okediji


Source: https://m.facebook.com/story.php?story_fbid=9888457007833556&id=100000080640719... [Continue Reading]


CRAFT OR ART: PICK ONE
I have read many books in my life but...
Sophisticated Simplicity: Lessons from My Father (Part I) - Saheed Aderinto
Zhong Quanbin: Art meet science
Anytime you try to teach the subjects without teachers who love the subject, it is doomed to failure and is a foolish thing to do.
When I taught creative writing
Okebukola lauds Nigeria’s role in global AI revolution
Nigeria to open first AI university in Epe, Lagos
Amara's review of "Civilized to Death"
Tyrone Hayes: Endocrine disruption, environmental justice and the ivory tower
More Blog
Lessons

Functions in PHP

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

In programming, when we are discussing functions we are either referring to the built-in function that comes with the language or the User defined or custom function that the programer would like to create..

Built-in functions
PHP has lots of built-in functions some of which we have seen, for example the echo or print, date, array, mail, math, msqli, strings etc.

Date function

<?php
print date('h:i:s - d/m/Y');
?>

display the current time and date

pi() math function

<?php
print pi();
?>
</x...
[Continue Reading]


Conceptions of Philosophy

Course: GST 102
Number of topics: 17
Category: Business

You are expected to read all the pages... [Continue Reading]


Introduction to Flask framework

Course: Flask: Python Web Development
Number of topics: 16
Category: Programming

Flask is a lightweight WSGI (Web Server Gateway Interface) web application framework for Python. It's designed to make getting started quick and easy, with the ability to scale up to complex applications. Here's a brief overview of some key concepts in Flask:

Routing: Flask uses routes to map URLs to Python functions. You define routes using decorators (@app.route('/')), and Flask calls the associated function when the URL is accessed.

Views: Views are the functions that handle requests and return responses. They can render templates, generate JSON respo... [Continue Reading]


Fetch record from a database in Python/Flask

Course: Flask: Python Web Development
Number of topics: 16
Category: Programming

As we continue from the previous lesson, after inserting data into the student table via the web form it is obvious that we will need to have a way to retrieve or access the data in flask rather than a third party tool.

We will use the SQL statement SELECT * FROM table (i.e Select all fields from table)

Step 1.
Create a template to view the record i.e seestudents.html in the templates folder as usual. And make it have the code below:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Students Record</title>
</he...
[Continue Reading]


Python Basics: A Practical Introduction to Python 3 (by Real Python)

Course: Programming (Pdf Materials)
Number of topics: 2
Category: Programming

Welcome to Real Python’s Python Basics book, fully updated for Python 3.9! In this book, you’ll learn real-world Python programming techniques, illustrated with useful and interesting examples.

Whether you’re a new programmer or a professional software developer looking to dive into a new language, this book will teach you all the practical Python that you need to get started on projects of your own.

No matter what your ultimate goals may be, if you work with a computer at all, then you’ll soon be finding endless ways to improve your l... [Continue Reading]


Routes and Views

Course: Flask: Python Web Development
Number of topics: 16
Category: Programming

Modern web applications use meaningful URLs to help users. Users are more likely to like a page and come back if the page uses a meaningful URL they can remember and use to directly visit a page.

Routes is the association between the URL or web address and the function that it. In the previous topic, we created a route using the @app.route("/") decorator and bind it to an index function as follows:


@app.route("/") 
def index(): 


Functions with decorators are commonly referred to as views in Flask.

In our examp... [Continue Reading]


THE CONCEPT AND NATURE OF PHILOSOPHY OF SCIENCE

Course: GST 102
Number of topics: 17
Category: Business

THE CONCEPT AND NATURE OF PHILOSOPHY OF SCIENCE... [Continue Reading]


Functions in Python

Course: Python Programming
Number of topics: 11
Category: Programming

Functions are exactly what the sound like, they allow you to perform a particular task or function. In programming you call a function when you need to perform a task.

Since the beginning of this Python course we have been using functions that comes with the Python language i.e Built-in functions.

One of the great things about Python language is its extensive library of built-in functions that can make programming tasks easier and more efficient.

Examples of some Python built-in function

print()
list()
range()
int()
str()
input()
m...
[Continue Reading]


See all courses



  • Artist on focus

    Twins seven seven

    Twins Seven Seven, born Omoba Taiwo Olaniyi Oyewale-Toyeje Oyelale Osuntoki (3 May 1944 – 16 June 2011) was a Nigerian painter, sculptor and musician. He was an itinerant singer and dancer before he began his career as an artist, first attending in 1964 an Mbari Mbayo workshop conducted by Ulli Beier and Georgina Beier in Osogbo. Twins Seven Seven went on to become one of the best known artists ... [Continue Reading]


  • More Artists on Focus


    Sodus Bay Watch
    Category: Science
    Number of topics: 1
    Posted by: April Luehmann

    Statistic Made Easy by Prof. Peter A. Okebukola
    Category: Science
    Number of topics: 1
    Posted by: Benjamin Onuorah

    LearnKids- Science, Technology, Engineering, Arts, and Mathematics (STEAM)
    Category: Science
    Number of topics: 0
    Posted by: Benjamin Onuorah

    C# Programming Course
    Category: Programming
    Number of topics: 2
    Posted by: Benjamin Onuorah

    Mendelian Inheritance
    Category: Science
    Number of topics: 0
    Posted by: SANKOH MOHAMED AKIM

    Making the Most of Life: A Journey to Purpose
    Category: Business
    Number of topics: 7
    Posted by: David Mba

    General African Studies (GST 201)
    Category: Business
    Number of topics: 1
    Posted by: David Mba

    GST 102
    Category: Business
    Number of topics: 17
    Posted by: David Mba

    Use of English
    Category: Arts
    Number of topics: 0
    Posted by: Samson Dawodu Abiodun

    African Artists and Drawing
    Category: Arts
    Number of topics: 8
    Posted by: Benjamin Onuorah

    Flask: Python Web Development
    Category: Programming
    Number of topics: 16
    Posted by: Benjamin Onuorah

    Chemistry with Dr. Anita
    Category: Science
    Number of topics: 10
    Posted by: Sir John Jollynery

    Physics
    Category: Science
    Number of topics: 17
    Posted by: Sir John Jollynery

    Programming (Pdf Materials)
    Category: Programming
    Number of topics: 2
    Posted by: Benjamin Onuorah

    Programming (Video Materials)
    Category: Programming
    Number of topics: 1
    Posted by: Benjamin Onuorah

    Web development using PHP and MySQL
    Category: Programming
    Number of topics: 27
    Posted by: Benjamin Onuorah

    Python Programming
    Category: Programming
    Number of topics: 11
    Posted by: Benjamin Onuorah

    Styling (Beautify) Website
    Category: Programming
    Number of topics: 2
    Posted by: Benjamin Onuorah

    Introduction to HTML and Web Technology
    Category: Programming
    Number of topics: 8
    Posted by: Benjamin Onuorah