Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Find number in a text for if statement
Post: RE: Find number in a text for if statement

(Jul-12-2018, 03:58 PM)nilamo Wrote: As stated by buran, that doesn't look like a string. So I'll help as if it's not a string :) Try this: if "bids" in text: if any(99 == bid["price"] for bid...
BitbyBit General Coding Help 3 3,291 Jul-13-2018, 04:38 PM
    Thread: Find number in a text for if statement
Post: Find number in a text for if statement

Hi, I have been struggeling to make an if statement based on the condition that a certain number is inside a text. Text: {'timestamp': 1531400779308, 'xx': {'xx': 'xx', 'xx': 'xx'}, 'bids': [{'price'...
BitbyBit General Coding Help 3 3,291 Jul-12-2018, 03:05 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020