OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Authorizing to network drive and accessing file using Python

  • Thread starter Thread starter Gorbert
  • Start date Start date
G

Gorbert

Guest
My script is really simple. It takes excel file from network drive, modifies it with pandas and push it to mysql database. All of this is fairly simple. The thing is that I have to access excel file which is being stored on network drive to which at first i have to authorize. I want to store my username and password in script and i want the script to automatically authorize itself to windows security.

I don't want to use anything like 'net use' because script will be run on linux instance.
<p>My script is really simple. It takes excel file from network drive, modifies it with pandas and push it to mysql database. All of this is fairly simple. The thing is that I have to access excel file which is being stored on network drive to which at first i have to authorize. I want to store my username and password in script and i want the script to automatically authorize itself to windows security.</p>
<p>I don't want to use anything like 'net use' because script will be run on linux instance.</p>
 

Online statistics

Members online
0
Guests online
4
Total visitors
4
Top