Posts by Kelvin Loretto • 72 points
7 posts
-
0
votes2
answers89
viewsA: What is the best way to select a text and how to store it in a variable?
Good how you can already copy the text, da para usar a biblioteca clipboard along with the PyAutoGui to perform the function. Can be used like this: import clipboard import pyautogui…
-
2
votes1
answer44
viewsA: How to make the program run from any point of programming
So I believe that to automate functions in your browser the recommended library would be Selenium, where you can search for information through the page’s HTML classes. here is the documentation of…
-
-2
votes2
answers69
viewsA: Menu Cafeteria
Answering your question, your error is in the coding, where you are having the order value printed out of the while True: so never executing it, Another thing I noticed is that you are multiplying…
pythonanswered Kelvin Loretto 72 -
-1
votes3
answers119
viewsA: Python: How to find the current date
From what I could see you are trying to change the name of the file according to date of the day, this can be done through the library datetime, gets my recommendation from reading because with this…
pythonanswered Kelvin Loretto 72 -
-2
votes1
answer190
viewsA: Valueerror: invalid literal for int() with base 10: 'eight'
Well what you are trying to do we call error handling and exceptions, in Python we use try: and except: recommend to study the official documentation on that subject. Analyzing your code the…
pythonanswered Kelvin Loretto 72 -
0
votes1
answer64
viewsA: Python: how to validate how many files I have in a folder and send by email
Good to get the files from the folder just use the dir = os.listdir('local onde os arquivos estão') the value returned will be a list of all files after this just create a repeat loop for each file…
-
0
votes1
answer88
viewsA: Count dataframe lines with string according to position in Python text
Good from what I understand of your question you are wanting to check the order in which the words happen in the text, well I will consider that you have the words which you want to verify the…