i am trying to copy the file from local drive to gcp cloud storage using python code as written below but I am getting the below file not found error.
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users//vithal//test.csv'
'''
from google.cloud import storage
import os
#pip install --upgrade google-cloud-storage.
def upload_to_bucket(landing_bucket_name):
storage_client = storage.Client()
project_id = 'abc'
dataset_id = 'xyz'
landing_bucket_name = '123'
landing_blob_name = 'test_upload'
local_path = "C://Users//test.csv"
#print(buckets = list(storage_client.list_buckets())
bucket = storage_client.get_bucket(landing_bucket_name)
blob = bucket.blob(landing_blob_name)
blob.upload_from_filename(local_path)
#returns a public url
return blob.public_url
'''