<dd id="yld2g"><track id="yld2g"></track></dd>

    1. <th id="yld2g"></th>

      Questions tagged [python-3.x]

      For questions about Python programming that are specific to version 3+ of the language. Use the more generic [python] tag on all Python questions, and only add this one if your question is version-specific. Use the [python-2.x] tags for Python 2 questions.

      Filter by
      Sorted by
      Tagged with
      0
      votes
      0answers
      5 views

      Python resolve KeyboardInterrupt?

      I saw a previous post on how to run program every 5 second which was: def main(): start_time = time.time() while True: if not execute_data(): break time.sleep(5.0 - ((time.time() - start_time) % 5.0)) ...
      0
      votes
      0answers
      2 views

      Output csv file to specific path in S3 bucket

      I have written a Lambda function that terminates in the creation of a csv file. I'd like to be able to store that csv file output to a particular path of my S3 bucket. I understand that S3 has no file ...
      0
      votes
      0answers
      6 views

      How do I resolve this filtering challenge in data to DataFrame?

      My data in code snippet below refers. I'm stuck in trying to filter out values inside the list of dictionaries in step2. **Desired goal:** 0 0.00\0.00 1 1.765\n2.035 2 0.00\n0.00 3 ...
      0
      votes
      0answers
      5 views

      Odoo 13 API how to save null search results as a string

      I am using the Odoo 13 api as such. wanted_ids= models.execute_kw(db, uid, password, 'res.partner', 'search_read', [[['...
      0
      votes
      1answer
      12 views

      discord py - message.mentions “else” makes nothing

      I want to get the user that was mentioned in a message and send him a private message. That's working without problems, but now I want to add a message for the case, that the mentioned member is not ...
      0
      votes
      0answers
      8 views

      Firebase Realtime Database Adding/Removing/Updating/Retrieving Data

      So, I wanted to move my local database to the Firebase by using Firebase's Realtime Database feature, however, I am struggling a bit as I am completely new to Firebase, and I am using the library ...
      -2
      votes
      3answers
      22 views

      check if a list subset of another list (values can be repetative)

      I am trying to check if the list List2 is a subset of List1 in python 3.8 I tried all() and issubset() functions and they all fail to filter it as I wanted - they give True, unfortunately - elements ...
      0
      votes
      2answers
      17 views

      How i can get text into sleep function?

      How i can transfer first line of text in tkinter textbox into wait function in python? input1 = textbox.get("1.0", "2.0") time.sleep(input1) doesn't seem to work
      0
      votes
      0answers
      4 views

      Making an object reappear on opposite side in Asteroid Turtle module game

      I'm working Turtle module game based on Asteroids and I have most of the code done. I just need to figure out how to make turtle objects reappear on the opposite side on the border when it collides ...
      0
      votes
      1answer
      19 views

      How to search for two elements with python web driver

      I am trying to do something so that if it cannot find this click on this. I receive the TypeError: find_element_by_xpath() takes 2 positional arguments but 3 were given error when trying this here is ...
      0
      votes
      0answers
      5 views

      Populate column based on other column values using multiple if else

      I'm trying to compare 4 columns in a pandas dataframe and populate 5'th column based on the result. In normal SQL it would be something like this: if speciality_new is null and location_new is null ...
      0
      votes
      1answer
      24 views

      Python, How to use lxml XPath?

      In python I had: response = s.get(url, allow_redirects=False, cookies=cookies, headers=headers) soup = BeautifulSoup(response.text, 'lxml') reg_cart = soup.find('form', attrs={"name": "...
      0
      votes
      0answers
      21 views

      Calculate distances from the windows command prompt

      I am learning python and an exercise is to make 'software' that from the windows prompt it asks for the name of the capital and calculates the distance from a predefined city. I managed to get to the ...
      0
      votes
      0answers
      9 views

      Raspberry Pi, and linux systemd, and .system files

      I'm trying to to run a script when my raspberry pi reboots, but its giving me this error. the script works when I run it in terminal, but it doesn't run when I use systemd ● Refridgerator.service - ...
      -3
      votes
      2answers
      30 views

      How do I write a script in Python to sort the contents of a text file?

      I have a file that contains a lot of strings of users. Each user has a line that contains his name, another line that checks if he is in active mode. And 2 more rows that contain the groups to which ...

      15 30 50 per page
      1
      2 3 4 5
      17937
      欧美日韩国产在线一区二区_午夜短视频在线观看_亚洲国产欧美日本视频_亚洲精品高清视频在线观看