# The PsychoPy library is used for creating experiments in psychology and neuroscience.
# This code creates a PsychoPy window and displays some text for 2 seconds before closing the window.
# The window is not full screen, and the text is displayed in a pixel unit with a height of 50 pixels.
# For a proper experiment, we would present this in full screen.

from psychopy import visual, core

screen = visual.Window([800, 600], color='black', units='pix')
myText = visual.TextStim(screen, text='Hello Nairobi! ', color='white', height=50)

myText.draw()
screen.flip()

core.wait(2)  # Wait for 2 seconds before closing the window

screen.close()
core.quit()
