Recognition

Posts

8 Posts
  • Published Question

    tkinter python not changing the location of buttons

    so i am trying to make a timer application wth gui using tkinter and python and i want the button to start the timer to be in the center of the window but when i change the row and column of the button, the location o...
    0 By anandu4115 Python
  • Published Question

    selenium python is opening 2 chrome windows instead of one

    So I am trying to automate my google meet classes using selenium and python. So when I run the code it opens up chrome and then it freezes and opens another chrome and all the commands are executed in the second windo...
    1 By anandu4115 Python
  • Published Question

    selenium send key command not sending text

    So I am trying to automate google meet classes and I want selenium to sign into chrome for me but when I am asking selenium to enter my email its not entering it into the text box. Please help me. This is my code: ``...
    Accepted Answer: Hi there @anandu4115, I've just tested this at my end. The problem is that with find_element_by_id("yDmH0d"), you are getting the div element that is wrapping the input field and not the input field itself. You need t...
    1 By anandu4115 Python
  • Published Question

    python tkinter rowspan not working properly

    so i was just making a gui for my calculator using tkinter in python and i wanted the clear button to be the size of 3 rows. so i entered rowspan=3. but this doesnt change the size of the clear button(in my code the b...
    Accepted Answer: Hi @anandu4115, So I started troubleshooting the problem you've explained. So the RowSpan definition is rowspan: This option will be used to tell how many rowwidgets are occupied and the default value is 1 Having s...
    1 By anandu4115 Python
  • Published Question

    python crashes when running code

    so i was making a gui for a calculator app. ok so when i run the code it opens up python and in my code i added buttons to click on. but when i click on the button in the gui , python crashes for some reason can someo...
    1 By anandu4115 Python
  • Published Question

    python rock paper scissors game

    so i was just making a python rock paper scissors game and it has a score limit of 5. so if either the user or the computer reaches the score of 5, the game will print the person won or the computer won respectively. ...
    Accepted Answer: Hi there, This looks quite good! You just need to move the last if else statement out of the previous if statement like this: ```python import random userscore = int(0) pcscore = int(0) score_limit = 5 while userscore...
    1 By anandu4115 Python
  • Published Question

    python rock paper scissors game

    So I was just making a rock paper scissors game. I'm a beginner coder. I am coding so that there is a limit of scoring and that's 5. so if either the user or the pc reaches that score the game should end. and also ac...
    Accepted Answer: Hi there @anandu4115, You need to change the condition for the while loop to this: while user_score != score_limit or pc_score != score_limit: That way it will run until either the user or the computer reaches the s...
    1 By anandu4115 Python
  • Published Question

    python while loop

    im making a word guessing game and the guess will be the input and the word will be generated randomly.so if the guess=word,then i want the program to print that we got the number,but if the guess is not equal to word...
    1 By anandu4115 Python Development