Python for Absolute Beginners Transcripts
Chapter: Using external Python packages
0:00 It's time to work with external packages yourself.
0:03 We're going to do something similar for the practice exercises
0:06 as you saw me do in this video.
0:09 Over here in the GitHub Repository
0:10 we have our practice exercises for external packages
0:14 couple of concepts, working with requirements.txt
0:17 virtual environments, how to do it
0:19 on the various operating systems, working with pip
0:21 and once you get all those all of those down
0:23 you should be good to go.
0:24 Your goal in this one is going to either work
0:26 with the old tic tac toe game or the Connect 4 game.
0:30 And basically what you're going to do
0:31 is you're going to use Colorama to add colored output
0:34 to the game, and the steps will be
0:36 create a a virtual environment
0:37 make sure that Python is the
0:40 that it's the right active interpreter
0:42 and make sure you set that virtual environment
0:44 as the active interpreter.
0:45 Use requirements.txt to specify you depend upon Colorama.
0:49 Install those requirements with pip or with PyCharm.
0:52 It detects it and suggests them
0:53 and then use colorama.four.green and so on
0:57 to add colored output to your game.