Skip to content

Tag: python

Missing Recycle View widget

I need to create an autofill app, I have a label and text input on the top, and recycle view on the bottom. However, when I run the program, the recycle view disappears, even though I have set in the string. This app will facilitate searching content by typing the name in the text input and the relevant conte…

Timespan for Elevated Access to Historical Twitter Data

I have a developer account as an academic and my profile page on twitter has Elevated on top of it, but when I use Tweepy to access the tweets, it only scrapes tweets from 7 days ago. How can I extend my access up to 2006? This is my code: Answer The Search All endpoint is available in Twitter API

Percentile Python, problems Setting values

Im calculating percentiles and doing some operations along too many columns. I need to get the unique values then, setting my vector i got this: It works in almost all of the columns, but for any reason i got columns with this issue: then calculating percentiles: then, setting this vector i got this: Setting …

how to properly write multiple if statements

trying to condense if statements and want to know if there is a proper why of writing this. Also this is my first post as well as being new to programming Answer First, you should review the logic to get marks: in your case, it prompts once, and if the entered mark is outside the range, it prompts again. Howe…

Returning empty string for missing capture group Python regex

I’m working on parsing string text containing information on university, year, degree field, and whether or not a person graduated. Here are two examples: What I am struggling to accomplish is to have an entry for each school experience regardless of whether specific information is missing. In particula…