Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Problem with NTLM to download data

I am new in python and after two days of research I am stuck on a little issue with API and NTLM package for Anaconda. I want to grab data from my office's website (we need to use credentials) it was working perfectly on the IDE provided by Python but for various reasons I have decided to switch for Anaconda. I try to use the same code on Spyder (with anaconda) if I use the version 2.7 I have an error 401 but the code is 'working' otherwise I have on the IDE 3.5 an error occuring due to the ntlm package.

Any help would be nice please I give you a draft of the code I wrote (the one which is working on python IDE):
def Elastik(date,algo=""):

   import requests
   from ntlm import HTTPNtlmAuthHandler

    return result
Thx in advance for the help provided!!!!!!
When you installed NLTK did you install the Corpus?
If you need instructions, they are here

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Failed to download Qualtrics data using API balaKrishnaV 3 584 Sep-16-2019, 01:06 PM
Last Post: snippsat
  Download data from webpage after POST request AlDe 0 522 Feb-02-2019, 06:26 AM
Last Post: AlDe
  Problem with CSV download imtiazu 2 781 Nov-12-2018, 02:03 AM
Last Post: snippsat
  Problem with serial data. How do I ignor incorrect data? donmerch 1 1,373 Jul-11-2017, 01:55 AM
Last Post: donmerch

Forum Jump:

Users browsing this thread: 1 Guest(s)