Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Request blocking in Chrome Incognito mode
Post: Request blocking in Chrome Incognito mode

Hello, We have a requirement to block various social media apps browsing using the Chrome Browser (Incognito mode because it does not retain cache). There are about 100 apps that we are currently test...
pyseeker General Coding Help 0 2,284 Nov-04-2020, 08:51 PM
    Thread: Using a value from one json file to another.
Post: Using a value from one json file to another.

Hello, We are using Pytest for our API Automation and wanted to avoid hard coding throughout the test by dynamic insertion of the values for the fields. So to be precise - a response of API-1 contai...
pyseeker General Coding Help 0 1,514 Dec-30-2019, 05:32 AM
    Thread: Pytest API Post call thrown errors
Post: RE: Pytest API Post call thrown errors

Thank you so very much. Right way is the request to send as : r = requests.post(url, json=request_json, headers=headers)not as : data=request_json I did the "data=request_json" and hence it is faili...
pyseeker General Coding Help 4 3,619 Dec-08-2019, 04:53 PM
    Thread: Pytest API Post call thrown errors
Post: RE: Pytest API Post call thrown errors

Thank you very much. I did it and the suggestion is working. However, the program threw the following error. I am accessing JSON payload/schema using the .json file constructed with the schema below....
pyseeker General Coding Help 4 3,619 Dec-08-2019, 05:42 AM
    Thread: Pytest API Post call thrown errors
Post: Pytest API Post call thrown errors

I am performing the API Testing and using the pytest framework. Test is failing all the time with 401 error. Couldn't figure out what was the issue and where am I going wrong. When I manually test it ...
pyseeker General Coding Help 4 3,619 Dec-07-2019, 02:25 AM
    Thread: Doesn't give me the payload of grouped emails when used IMAPClient.
Post: Doesn't give me the payload of grouped emails when...

Hello, I am trying to fetch the messages from our gmail inbox. So, there will be 1000s of messages sent to Inbox and are grouped for each 100 email messages. When I tried this method, the program onl...
pyseeker Networking 0 1,763 Sep-12-2019, 03:19 AM
    Thread: Invalid argument error thrown.
Post: RE: Invalid argument error thrown.

It worked very well. But it is just not fast enough as I thought. Working well though.
pyseeker General Coding Help 4 8,615 Sep-10-2019, 07:03 PM
    Thread: Invalid argument error thrown.
Post: RE: Invalid argument error thrown.

I have tried without the quotes. and it throws the same error. Traceback (most recent call last): File "C:/Users/spullabhotla/PycharmProjects/AutomateBoringStuff/Chapter-16-SendingEmail&TextMes...
pyseeker General Coding Help 4 8,615 Sep-10-2019, 04:55 AM
    Thread: Invalid argument error thrown.
Post: Invalid argument error thrown.

Hello, While running the following code an error thrown with "invalid argument". Appreciate your thoughts. with open(dataFile, 'r') as urlFile: urlFile.readline() for url in urlFile: ...
pyseeker General Coding Help 4 8,615 Sep-09-2019, 09:44 PM
    Thread: Urls in a file to be executed
Post: RE: Urls in a file to be executed

@luoheng - thank you very much. It worked charmingly. Appreciate your help.
pyseeker General Coding Help 2 2,035 Sep-09-2019, 03:38 PM
    Thread: Urls in a file to be executed
Post: Urls in a file to be executed

I have a lot of urls in a file and all the urls in that file have to be executed in a browser one by one. Can anyone suggest the best method to solve this ? Appreciate your help.
pyseeker General Coding Help 2 2,035 Sep-08-2019, 06:25 AM
    Thread: list comprehension : print column as row
Post: RE: list comprehension : print column as row

Perfect, Thank you very much, works like charm. Lately, I have solved to not printing the original matrix, something like : for row in range(len(matrix)): print(row) for col in range(len(matrix...
pyseeker General Coding Help 4 3,646 Sep-05-2019, 05:40 AM
    Thread: list comprehension : print column as row
Post: list comprehension : print column as row

I have a 9 x 6 matrix (each value is a string) and need to print columns as rows, which is 6 x 9 matrix. So, when I execute the following code it just prints the same without the strings. No matter w...
pyseeker General Coding Help 4 3,646 Aug-22-2019, 06:12 AM

User Panel Messages

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