Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Upload image to Instagram using python/selenium using image URL failed, need help
Post: RE: Upload image to Instagram using python/seleniu...

Thanks for your reply, so every time I want to post an image I have to run the script to get the image first, then I can upload it, is that right? so, in that case, isn't easier to download all of th...
greenpine General Coding Help 5 5,452 Feb-22-2022, 07:24 PM
    Thread: Upload image to Instagram using python/selenium using image URL failed, need help
Post: RE: Upload image to Instagram using python/seleniu...

thank you for your response and the code, I tried your code on my computer, 1- but I still get the same error: Quote:selenium.common.exceptions.WebDriverException: Message: unknown error: path is no...
greenpine General Coding Help 5 5,452 Feb-22-2022, 06:53 PM
    Thread: Upload image to Instagram using python/selenium using image URL failed, need help
Post: Upload image to Instagram using python/selenium us...

Hello; I try to post images to Instagram using python selenium, but when I want to use the image URL I get an error. when I use an absolute path to the image file from my computer it works and the ima...
greenpine General Coding Help 5 5,452 Feb-22-2022, 11:32 AM
  Question Thread: Opening small size browser with python selenium not work, need help
Post: Opening small size browser with python selenium no...

Hello; trying to make python selenium opens browser in smaller size , but somehow the coding is not correct and it does not work,**wall** I am not good at selenium web driver. I use Brave browser on w...
greenpine General Coding Help 0 1,614 Feb-07-2022, 11:36 AM
    Thread: what is wrong with my code?
Post: what is wrong with my code?

Hello; I am learning python and tried the following code which is posted here, the code should work to scrape details of given video URL in CSV file, the video URLs are in a CSV file, tab-delimited, i...
greenpine Web Scraping & Web Development 0 1,333 Nov-08-2021, 10:01 PM
    Thread: How do I add another loop to my nested loop
Post: RE: How do I add another loop to my nested loop

did anyone come to a solution to this code? I appreciate it.
greenpine General Coding Help 11 4,544 Jan-12-2021, 04:41 PM
    Thread: How do I add another loop to my nested loop
Post: RE: How do I add another loop to my nested loop

thanks for your reply; sorry again for even more confusion. I think the second part about saving the last index number in a text file, made it hard to understand, that was my understanding of making t...
greenpine General Coding Help 11 4,544 Jan-08-2021, 10:37 AM
    Thread: How do I add another loop to my nested loop
Post: RE: How do I add another loop to my nested loop

thanks for the reply, sorry, if it is confusing. 3 runs are just an example, maybe I should not put it that way. That is to explain what the file should read when it is time for the next run. the fi...
greenpine General Coding Help 11 4,544 Jan-06-2021, 10:57 PM
    Thread: How do I add another loop to my nested loop
Post: RE: How do I add another loop to my nested loop

anyone can help make this working, please?
greenpine General Coding Help 11 4,544 Jan-06-2021, 08:20 PM
    Thread: How do I add another loop to my nested loop
Post: RE: How do I add another loop to my nested loop

Thanks for your suggestions, perfringo, I am not sure what do you mean, as I am new to Python, and as ndc85430 suggested, I am not sure about that either, as you mentioned variable foff is only define...
greenpine General Coding Help 11 4,544 Dec-27-2020, 07:36 PM
    Thread: How do I add another loop to my nested loop
Post: RE: How do I add another loop to my nested loop

Edited thanks for the reply and code, I made an empty "currentinfo.py" file in the same folder that codes are. I tired the code I get an error: line 41, in <module> if foff == 0: NameError:...
greenpine General Coding Help 11 4,544 Dec-26-2020, 09:48 AM
    Thread: How do I add another loop to my nested loop
Post: How do I add another loop to my nested loop

I have a working Python program (nested loop). When the file runs: 1- Starts from first CSV file, reads first row (within a given range, e.g. 2 rows), use the data to run the function. 2- After som...
greenpine General Coding Help 11 4,544 Dec-24-2020, 11:34 AM
    Thread: How to fill parameter with data from multiple columns CSV file
Post: How to fill parameter with data from multiple colu...

I am new to Python, I want to make a function work using data from multiple columns CSV files, one row by one row with some delay in between each run. This is want to achieve: 1- Read from first CSV...
greenpine General Coding Help 1 1,656 Dec-21-2020, 01:46 PM
    Thread: how to change the range of read CSV file every time python file runs
Post: RE: how to change the range of read CSV file every...

thanks for the new code, I run the new code: csv_filename = "my.csv" csv_read_counter_file = "csv_last_read.csv" try: with open(csv_read_counter_file, "r") as f: lines_read = int(f.readli...
greenpine General Coding Help 6 4,461 Dec-08-2020, 10:11 PM
    Thread: how to change the range of read CSV file every time python file runs
Post: RE: how to change the range of read CSV file every...

thanks for the code, it prints only the first row from CSV file, I run it number of times, and inside the "csv_last_read.csv" file there is recorded digit of 9, is there a way to add a range to it?
greenpine General Coding Help 6 4,461 Dec-08-2020, 08:33 PM
    Thread: how to change the range of read CSV file every time python file runs
Post: RE: how to change the range of read CSV file every...

thanks for the reply; I tried both codes, it returns the same result (first 2 row),every time I run the file, I don't understand how this could go over the next line on the second run, what I was thin...
greenpine General Coding Help 6 4,461 Dec-08-2020, 07:47 PM
    Thread: how to change the range of read CSV file every time python file runs
Post: how to change the range of read CSV file every tim...

Hello; I have a function that uses data from CSV file row by row, until the range has been used. [Edited] however I want to use the rest of rows of data automatically, each time it runs. when it ru...
greenpine General Coding Help 6 4,461 Dec-08-2020, 05:52 PM
    Thread: how to scrape a website from a keyword list
Post: RE: how to scrape a website from a keyword list

thanks for the reply, I'll try it.
greenpine Web Scraping & Web Development 2 2,360 Dec-04-2020, 03:50 PM
    Thread: how to scrape a website from a keyword list
Post: how to scrape a website from a keyword list

Hello; I am new to Python, I am trying to scrape a website using search keywords from a list (text file), loop through each line of keywords until each and every keyword in the file has been searched....
greenpine Web Scraping & Web Development 2 2,360 Nov-30-2020, 07:06 PM
    Thread: How to read CSV file one row at the time in a range and some delay in between
Post: RE: How to read CSV file one row at the time in a ...

Thanks for the code, I tried it and it works. **smile**
greenpine General Coding Help 2 4,744 Nov-20-2020, 02:26 PM

User Panel Messages

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