Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Creating a python exe (win) to run on Mac
Post: RE: Creating a python exe (win) to run on Mac

PyInstaller Manual Quote:PyInstaller is tested against Windows, Mac OS X, and GNU/Linux. However, it is not a cross-compiler: to make a Windows app you run PyInstaller in Windows; to make a GNU/Linux...
snippsat General Coding Help 3 113 Yesterday, 05:36 PM
    Thread: IMAGE URL
Post: RE: IMAGE URL

(Yesterday, 12:59 PM)satyanarayana Wrote: create http url and post to rest apiHave to look at doc for API to see what's required for image upload. Can use Requests for this. Example. import requests...
snippsat General Coding Help 4 123 Yesterday, 01:47 PM
    Thread: IMAGE URL
Post: RE: IMAGE URL

You can drag file to browser to get local url for that file. If tests in webbrowser it will be like this. import webbrowser webbrowser.open('file:///D:/Satya_Projects_Onedrive/Epigon_Projects/BILVA_P...
snippsat General Coding Help 4 123 Yesterday, 12:52 PM
    Thread: Web Scraper with BeautifulSoup4 sometimes no Output
Post: RE: Web Scraper with BeautifulSoup4 sometimes no O...

It work something but not stable,like this it's a little more stable. It may bye more stable using Selenium in headless mode, but code under should work ok. from bs4 import BeautifulSoup import reque...
snippsat General Coding Help 2 190 Nov-26-2021, 05:04 PM
    Thread: Request Delay
Post: RE: Request Delay

It's better to use schedule for this that run in a while true loop with time.sleep() added. schedule would works fine this. A example, so write to disk once then check against that file,if updated sta...
snippsat General Coding Help 1 198 Nov-25-2021, 08:51 PM
    Thread: Python Obstacles | Kung-Fu | Full File HTML Document Scrape and Store it in MariaDB
Post: RE: Python Obstacles | Kung-Fu | Full File HTML Do...

(Nov-22-2021, 07:46 PM)BrandonKastning Wrote: I want to use my previous example from Kung-Fu_A (bringing the entire HTML remote document into local Python Memory and stored into Variable "all_of_it"...
snippsat Web Scraping & Web Development 4 203 Nov-23-2021, 01:00 AM
    Thread: Replying to a Javascript/jQuery
Post: RE: Replying to a Javascript/jQuery

(Nov-21-2021, 08:49 PM)gw1500se Wrote: I need to see the entire rendered source of the next pageNo need to look at whole source. I pretty much never look at at entire page source,but use dev-tool ri...
snippsat Web Scraping & Web Development 16 759 Nov-21-2021, 10:16 PM
    Thread: Replying to a Javascript/jQuery
Post: RE: Replying to a Javascript/jQuery

The code you show dos not use Select at all. hour=browser.find_element_by_css_selector('#TimeOfCallDropDownList') hour.select_by_value(hh)See how i do it in my code. select_time = Select(browser.find_...
snippsat Web Scraping & Web Development 16 759 Nov-21-2021, 07:28 PM
    Thread: Replying to a Javascript/jQuery
Post: RE: Replying to a Javascript/jQuery

(Nov-21-2021, 03:44 PM)gw1500se Wrote: According to the documentation, that should work. I have not been able to find anything useful about this error. The only thing I found was a suggestion to use...
snippsat Web Scraping & Web Development 16 759 Nov-21-2021, 05:54 PM
    Thread: Python Obstacles | Karate | HTML/Scrape Specific Tag and Store it in MariaDB
Post: RE: Python Obstacles | Karate | HTML/Scrape Specif...

Good update progressđź‘Ť Here some advice about the parsing part,so using Requests and lxml(as parser). So Requests is better choice always(more updated for the new web) as can save problem in future li...
snippsat Web Scraping & Web Development 8 308 Nov-21-2021, 12:28 PM
    Thread: Replying to a Javascript/jQuery
Post: RE: Replying to a Javascript/jQuery

(Nov-20-2021, 02:49 PM)gw1500se Wrote: what is the purpose of the sleep calls?To slow the interaction down this make it easier to see what going in the browser,there also Waits for waiting for stuff...
snippsat Web Scraping & Web Development 16 759 Nov-20-2021, 08:08 PM
    Thread: Convert string to path using Python 2.7
Post: RE: Convert string to path using Python 2.7

(Nov-20-2021, 01:15 AM)tester_V Wrote: So,"iterdir" is not function name. How do I call it? Is the "root" is my directory to scan?Code from DeaD_EyE will yield contend so most iterate over or eg cal...
snippsat General Coding Help 10 545 Nov-20-2021, 02:20 PM
    Thread: Replying to a Javascript/jQuery
Post: RE: Replying to a Javascript/jQuery

(Nov-19-2021, 05:35 PM)gw1500se Wrote: The page I am loading has javascripts to fill in the page. When I load the page with selenium none of the javascripts are executed.This is wrong or lack in you...
snippsat Web Scraping & Web Development 16 759 Nov-19-2021, 07:59 PM
    Thread: Debian 10 Buster Environment - Python 3.x (MariaDB 10.4.21) | Working Connector?
Post: RE: Debian 10 Buster Environment - Python 3.x (Mar...

(Nov-19-2021, 12:29 PM)ghoul Wrote: Not sure this is relevant but all this in on Ubuntu 20.04.3 LTS.Ubuntu 20.04 comes with Python3 by default,then version is Python 3.8.5. Then it will work,the pro...
snippsat Web Scraping & Web Development 8 285 Nov-19-2021, 01:30 PM
    Thread: compiling numpy, getting C source
Post: RE: compiling numpy, getting C source

(Nov-19-2021, 12:55 PM)Gribouillis Wrote: Why Fortran 77? Don't you think it is more likely Fortran 2018 or 2008?If you look at link i posted. Building from source Wrote:2. Compilers To build any e...
snippsat News and Discussions 10 633 Nov-19-2021, 01:18 PM
    Thread: compiling numpy, getting C source
Post: RE: compiling numpy, getting C source

(Nov-17-2021, 08:29 PM)Skaperen Wrote: i read that some of numpy is written in C. i want to compile that code myselfThere are a mix also use some FORTRAN code used,so need a FORTRAN 77 compiler inst...
snippsat News and Discussions 10 633 Nov-19-2021, 12:00 PM
    Thread: Debian 10 Buster Environment - Python 3.x (MariaDB 10.4.21) | Working Connector?
Post: RE: Debian 10 Buster Environment - Python 3.x (Mar...

You should upgrade your Python version they have dropped support for Python 3.5 as you use now,need at least Python 3.6 preferably 3.9 -->. f-sting(really good) that it fails now was one the updat...
snippsat Web Scraping & Web Development 8 285 Nov-19-2021, 11:43 AM
    Thread: Replying to a Javascript/jQuery
Post: RE: Replying to a Javascript/jQuery

It call something in 18n. If want automat this i would not bother to find out what it dos,but use Selenium A example find selector of button an then can click on it. from selenium import webdriver fro...
snippsat Web Scraping & Web Development 16 759 Nov-18-2021, 04:57 PM
    Thread: Replying to a Javascript/jQuery
Post: RE: Replying to a Javascript/jQuery

No that file is (Nov-17-2021, 02:31 PM)gw1500se Wrote: FWIW, I have attached the script, as a txt file, I believe is being executed by the submit button. TIA.No that file is the whole jQuery library...
snippsat Web Scraping & Web Development 16 759 Nov-17-2021, 07:44 PM
    Thread: Not able to add extra column to the list in the python
Post: RE: Not able to add extra column to the list in th...

(Nov-17-2021, 06:45 AM)shantanu97 Wrote: Can anyone please let me know why I am not able to add extra column with workbook name in python???? Or is there any other way we can add that column with wo...
snippsat General Coding Help 2 209 Nov-17-2021, 10:14 AM

User Panel Messages

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