Skip to content
murmot

Results for “python array example code error java ... php web not responding site:discuss.python.org”

  • discuss.python.org

    Asyncio stops responding to requests - Async-SIG ...

    Jul 26, 2021 · More requests are being sent from the Java driver code. Tailing the log file of the Python server script shows that after the initial 60 DB connections are made, and 4/6/6 processed, no more requests seem to be hitting the Python server. The log file just stops.

  • discuss.python.org

    Input Form Submitting Problems with Selenium - Python Help...

    What I want my code to do is take each zipcode in an array, enter it, submit, and scrape data like dealer names and addresses for each. My problem is that I don’t get past the submit step. When webdriver is not run in headless mode, I see the zipcode entered.

  • discuss.python.org

    Request response issue using python3 - Python Help ...

    Mar 26, 2023 · I check my domains with requests (rest) in the for loop. But if 200 not return, i m getting connection refused, connection timeout etc errors. How can I list 200 returning domains and not returning ? URL = ['example.co…

  • discuss.python.org

    2D array value error - Python Help - Discussions on Python.org

    Sep 10, 2021 · Expected 2D array, got 1D array instead:array= [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0].Reshape your data either using array.reshape (-1, 1) if your data has a single feature or array.reshape (1, -1) if it contains a single sample.

  • discuss.python.org

    Attribute error - requiring help - Python Help - Discussions on...

    This is my first time using python and I have been given a code to process some data. I have run the code but I get the following error: AttributeError: ‘NoneType’ object has no attribute ‘GetDataType’. Could anybody provide me with some help on how to fix this please?

  • discuss.python.org

    ValueError: setting an array element with a sequence - Python ...

    Jun 9, 2024 · Here is an example of what generates the stated exception. When you define an array, it should be X x Y dimensions. For example, with X = 3, and Y = 5, you will have a 3 x 5 dimensional array. If you don’t have a value for a given cell, you have to assign it a value of 0 and NOT leave it blank.

  • discuss.python.org

    Discussions on Python.org

    Actually, it is responding as it should, but it is probably not what you exactly want. 1. Both `hot_day` and `cold_day` are strings. Not boolean values. `"True" != True` (notice the quotes please) 2. If/elif statements (basicaly) `bool ()` their expressions.

  • discuss.python.org

    Discussions on Python.org

    Hello Python Community, I am currently dealing with one persistent problem in the Python backend of my website, and I am hoping someone can help me understand what might be causing it. The core issue is that the website initially handles requests normally, but after the application has been running continuously for an extended period, API requests gradually become slower and eventually some ...