I am getting this error when I am trying to upload a file from my local computer to S3 bucket.


Here is the code I am using:
import boto3
s3 = boto3.resource('s3')
s3.create_bucket(Bucket= 'niteshbucket')
s3.Object('niteshbucket', 'helloworld.txt').upload_file(Filename='C:\Users\Nitesh\Desktop\helloworld.txt')