Skip to content

Movie Quiz, Movie Title Randomizer from Excel, Amount Guessing Game, Xmass Tree, Turtle: Cartoon Drawing, Pyautogui: Display Sharing by One Click

Notifications You must be signed in to change notification settings

K4KarolE/py_03-08_projects

Repository files navigation

03 Movie Quiz

  • asking if the user want to play
  • if yes: 5 questions with A, B, C, answer/input options
  • after every answer the result(Correct, Incorrect) is displayed
  • after the 5th answer the user's score and the % are displayed

04 Movie Title Randomizer

  • from my Excel we are pulling the "title", "year of release" and "how many times I have seen the movie" values
  • the infos are in merged cells -> if the first randomly selected cell is empty, it is going to check the next cell until it finds a record*
  • *=after line 6736 there is still a title at the moment -> avoiding the search for valid cell on the empty/inactive part of the excel
  • Giving back "You have seen this movie (only once / x times)" depends on the "how many times I have seen the movie" cell value

05 Amount Guessing Game - input validation

  • asking if the user want to play
  • In 3 rounds it will display random amount* of characters and you have to guess the quantity
  • 'random amount*' = from a range which is increasing after every round (1nd, 2nd)
  • Validating the answers: it has to be a positive integer
  • After 3 rounds guessing displaying the user`s points / %

06 Drawing a Xmass Tree with while loop

07 Drawing a cartoon figure with Turtle

08_01_Pyautogui_Monitor_Extend

  • Windows: From my main display(monitor), after pressing the WIN key + p keys it will select the 'Extend' options to use the monitor's and the laptop's display at the same time
  • running the script / batch file allows me to switch between different display options with one click
  • Linux Mint: no WIN key + p menu -> it switches between the different display sharing options every time the WIN key + p combination is actioned

08_02_Pyautogui_Monitor_2nd_screen_only

  • After pressing the WIN key + p keys, from the 'Extend' option (Extend = using the monitor's and the laptop's display the same time)
  • it will jump to the 'Second screen only' which is my main display/monitor

08_03_Pyautogui_Monitor_BillyTheKid

  • It will randomly select a number from the added range -> that many times makes the display sharing jump in the WIN key + p menu
  • eventually selecting the display sharing option in the latest jump

08_04_Pyautogui_Laptop_Backlight_Fix

  • It turns the unused laptop screen off by switching from "Additional monitor only" to "Extended(+laptop screen)" and back

08_06 / 08_07

  • Switching between the sound outputs (Speaker-Headset)

08_08_Pyautogui_Sound_Turn_On-Off

  • Switching the Sound`s state between MUTED and UNMUTED

About

Movie Quiz, Movie Title Randomizer from Excel, Amount Guessing Game, Xmass Tree, Turtle: Cartoon Drawing, Pyautogui: Display Sharing by One Click

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published