Kaushik S Kaushik S - 7 months ago 41
Python Question

Where do I place the XlsxWriter file in Python?

I downloaded XlsxWriter zip file as I cannot use pip because of organisational restrictions. I extracted the zip file. Where inside the python directory should I place the XlsxWriter folder now ?


For most of the cases use pip to install Python modules. It is very easy.

Just do:

pip install XlsxWriter

And then in your script you can do the following:

import xlsxwriter

{...your code goes here}

If somehow you are not able to use pip, please follow this

After that close and re-open your IDLE and check.