Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Short link URL
Post: RE: Short link URL

I would suggest that you don't open short links, they have long been associated with dodgy sites, criminal activity, phishing and all the other web based nasties that you can come across, most compani...
nuffink Web Scraping & Web Development 5 3,038 Jul-09-2020, 02:13 PM
    Thread: Find, delete and add text into pdf file
Post: RE: Find, delete and add text into pdf file

you have obviously read some of the package functionality to get this far, it might be easier to explain what isn't happening and let a solution be found, or is it a case of none of the above code wor...
nuffink General Coding Help 2 5,821 Jul-08-2020, 10:39 AM
    Thread: Don't know what went wrong
Post: RE: Don't know what went wrong

Hello. When you say it failed, that could be because there is a "Y" in the day (Tuesday).....no seriously without any tracestack or even wording from yourself no-one on here will have the mental tele...
nuffink Web Scraping & Web Development 1 1,535 Jun-23-2020, 11:45 AM
    Thread: Authentication error when accessing Microsoft SharePoint
Post: RE: Authentication error when accessing Microsoft ...

Hi OK, then i would suggest before you carry on with python you install postman - link is here - its basically a "REST" client if you haven't used but there is the ability in there to use the NTLM pr...
nuffink General Coding Help 3 10,099 Jun-10-2020, 07:46 AM
    Thread: Problem loading an image dataset into Tensorflow
Post: RE: Problem loading an image dataset into Tensorfl...

I did a crazy thing like search in Google and found this as a starting point - https://www.tensorflow.org/tutorials/load_data/csv **angel**
nuffink General Coding Help 1 1,720 Jun-09-2020, 02:09 PM
    Thread: Running three-year old python code
Post: RE: Running three-year old python code

Hi. Well thinking aloud there may a few ways to do this depending on the amount of effort you want to put in and what you intend to run it on, for example, me personally i would run something like py...
nuffink News and Discussions 4 2,472 Jun-09-2020, 02:05 PM
    Thread: mod-python in apache2 on debian 9
Post: RE: mod-python in apache2 on debian 9

Hi Well the first error message I would have thought is self explanatory, the debian apache version you are using requires 2.7.5 and you have 2.7.13, so one might assume that it is very specific abou...
nuffink Web Scraping & Web Development 6 3,763 Jun-09-2020, 09:02 AM
    Thread: Need help finding data
Post: RE: Need help finding data

Hi Well your first issue would be that you are calling your print line and the "get_jsonparsed_data" method with a parmeter that is not defined as you have "URL" in caps and I presume you mean to cal...
nuffink General Coding Help 1 1,311 Jun-08-2020, 03:59 PM
    Thread: Python long running script - causes RDP failure to server?
Post: RE: Python long running script - causes RDP failur...

have you looked in the windows event logs (application etc) to see if there are any errors or timeouts or whatevers?? and when you say a long running script some more info would be helpful like what i...
nuffink General Coding Help 1 2,295 Jun-08-2020, 08:18 AM
    Thread: expecting value: line 1 column 1 (char 0) in print (r.json))
Post: RE: expecting value: line 1 column 1 (char 0) in p...

Hi. I replicated this in my own environment and as said your GET when you invoke the request is received by your api code which then tries to retrieve the body of the request (line 20 first code set)...
nuffink Web Scraping & Web Development 3 7,570 Jun-05-2020, 08:38 PM
    Thread: Authentication error when accessing Microsoft SharePoint
Post: RE: Authentication error when accessing Microsoft ...

I am not sure if this will help, but my dealings with sharepoint has meant it has used NTLM as an authorisation protocol for which there is a python package on PyPi, you can also see if the connection...
nuffink General Coding Help 3 10,099 Jun-05-2020, 08:14 PM
    Thread: expecting value: line 1 column 1 (char 0) in print (r.json))
Post: RE: expecting value: line 1 column 1 (char 0) in p...

hi I am slightly confused here as you mention that the second piece of code is posting a request and yet you are using the requests GET function. If you are looking to post that data variable object ...
nuffink Web Scraping & Web Development 3 7,570 Jun-05-2020, 04:14 PM
    Thread: Python Error in log
Post: RE: Python Error in log

hello. some more details may be a little more useful to the forum, python version, how this has come about aka is it your code or a package you have imported etc etc. Does the situation re manifest i...
nuffink General Coding Help 1 1,374 Jun-05-2020, 01:30 PM
    Thread: Python call/running another python file
Post: RE: Python call/running another python file

windows11 you code is not very clear from what you have pasted - i can not determine if that is all one .py file or you have multiples there and what modules hold what code. Python requires you to de...
nuffink General Coding Help 7 3,126 Jun-05-2020, 01:26 PM
    Thread: How to use nb-black python cde formatter
Post: RE: How to use nb-black python cde formatter

Hi this link takes you to PiPy (https://pypi.org/project/nb-black/) and gives instruction on how to install the package you mention, if it fails to do so then me i would probably wonder if the packa...
nuffink General Coding Help 3 6,747 Jun-03-2020, 12:03 PM
    Thread: Flask deployment from heck
Post: RE: Flask deployment from heck

Hi lmolter54 What ports do you see running when you do a netstat in the Ubuntu terminal (there are various options to show the data), but a simple netstat -a will give you the port listening and thos...
nuffink Web Scraping & Web Development 4 2,487 Jun-02-2020, 01:29 PM
    Thread: Rest API
Post: RE: Rest API

Hi. There are a number of packages and ways in "Python" to produce an API but I would recommend for some ease Flask as it helps you with a lot of mundane coding and can produce fairly quick results, t...
nuffink Web Scraping & Web Development 5 2,616 Jun-02-2020, 01:16 PM
    Thread: how to send an image from server to client using PICKLE module
Post: RE: how to send an image from server to client usi...

suggestion page - https://stackoverflow.com/questions/1746...ing-pickle
nuffink Networking 1 3,067 Jun-02-2020, 01:08 PM
    Thread: How to make data coming from a database clickable giving more details
Post: RE: How to make data coming from a database clicka...

newbie1 sorry if I am misunderstanding you here, but let me get this straight in my head and if it is as i believe then the below should guide you. Objective - display a page of family names to the u...
nuffink Web Scraping & Web Development 8 3,673 May-29-2020, 12:50 PM
    Thread: Module not Installing
Post: RE: Module not Installing

If I have not misread your first download it would appear that the package gallery_get has installed successfully gallery-get, but in your Gallery.py you are importing gallery_get which is not the pac...
nuffink General Coding Help 9 4,471 May-27-2020, 11:25 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020