Linked Questions

1 vote
1 answer
10k views

i have a problem with my python code. The problem is this line: match = re.search(pattern, bytes).start() but i get this error...i hope you can help me.
user187's user avatar
  • 19
1 vote
1 answer
10k views

I'm working on a Python YouTube downloader, a very simple task. I used pytube for a while and never encountered this error. My code is the following: from pytube import YouTube import pytube yt_title =...
SGD's user avatar
  • 55
-1 votes
2 answers
8k views

Hi I'm having an issue with a module for my Discord bot. I'm getting AttributeError: 'NoneType' object has no attribute 'channels' I'm not sure way it's throwing out this error: Here is what I'm ...
Shan Jameson's user avatar
0 votes
1 answer
9k views

I am trying to run a python script that logs into Amazon Redshift DB and then execute a SQL command. I use a tool called Airflow for workflow management. When running the below code, I am able to ...
dark horse's user avatar
  • 3,799
0 votes
1 answer
7k views

I'm working on a Python project and encountering an AttributeError related to the 'split' method. Here's the relevant code snippet: data = get_data_from_api() for item in data: name = item['name'] ...
Charlotte Briggs's user avatar
-1 votes
2 answers
5k views

I am having an issue with this Python code: Code And Other Things The Error Is: Traceback (most recent call last): File "C:\Users\thaku\Desktop\projects\pythoncode-tutorials-master\machine-...
arshdeep's user avatar
-2 votes
1 answer
6k views

programm is working perfectly before defining the function problem is that it is not getting the value from the user input and showing it to me and then error is coming too. from tkinter import * ...
Jordan Negative's user avatar
0 votes
1 answer
5k views

from microbit import * import radio radio.on() radio.config(channel=8) routing_table = { 'Alice': 8, 'Bob': 10, 'Charlie': 15 } spy = 60 def forward_message(msg): source, destination, payload =...
Muhammad MOAZ's user avatar
2 votes
1 answer
7k views

I am getting error : 'NoneType' object has no attribute 'get': AttributeError. PLease help me to figure out. File "/var/task/lambda_function.py", line 15, in lambda_handler ...
Sourav_Bharadwaj's user avatar
0 votes
2 answers
2k views

I'm writing a script that's supposed to remove duplicate entries. Some people in the data have entered in their name twice because they have two phone numbers, and because the phone number field was ...
goldisfine's user avatar
  • 4,880
0 votes
1 answer
3k views

Iam building a UI using mplayer_python. When I try to get the metadata, sometimes the following error happens title = metadata.get ('Title','' ) -> AttributeError: 'NoneType' has no attribute 'get' ...
Sebastian Heyn's user avatar
1 vote
2 answers
2k views

I'm new to databases in Python, so to practice some key skills I'm building a login screen that writes usernames and hashed passwords to the database, and then checks the user's inputs against what's ...
back2thelotus's user avatar
0 votes
1 answer
3k views

I'm not having any luck with the other question that is posted on this website. My goal for this program is to scrape job postings from Indeed.com. I'm running into an attribute error. I don't know ...
Scott Geilen's user avatar
0 votes
2 answers
2k views

I've created a python method to print data to screen and in a file: def printf(handler, string): print(string) sys.stdout.flush() if handler is not None: handler.write(str(string))...
sebo's user avatar
  • 80
0 votes
1 answer
3k views

I'm trying to remove some columns from my dataframe, however I'm just getting this error no matter how hard I try to figure out how to fix it. Could you help me? drop_cols = ['ISO3A código economía ...
asairi nava's user avatar

15 30 50 per page
1
2 3 4 5
15