question

Upvotes
Accepted
28 2 1 2

How can I tell whether a user is using package DatastreamDSWS or PyDSWS if they don't know?

datastream-apidsws-apitrade
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
25.2k 87 11 25

Hi @Alison.Quick

I am not sure if I mis-understand the question, but can they not look in their python script or jupyter notebook etc and see which library they are importing?

import DatastreamDSWS

or

import PyDSWS


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank you - I have realised this was quite a stupid question as the answer was staring me in the face the whole time!!!!

Hi @Alison.Quick

You are welcome.

Please click the 'Accept' text next to whichever answer you found most helpful. This will guide all community members who have a similar question.

Thanks,

AHS

Upvotes
22.7k 49 15 12

Hello @Alison.Quick

The other way beside checking the application source code is using Python "pip list" command which give you a list of installed package/library.


pip-list.png (34.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks Wasin, much appreciated!

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.