Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
  Big Grin Thread: How to create Conditionals for XPATH/BS4 tag scrapes?
Post: [SOLVED] - RE: How to create Conditionals for XPAT...

Hey everyone! I was able to resolve with help from irc.libera.chat #python by dba! Working code solution was the following: # Assign Table4 Column 5 / 12 - MariaDB Column Name: courtlistener_docket_...
BrandonKastning Web Scraping & Web Development 1 1,168 Apr-13-2022, 03:19 AM
  Photo Thread: How to create Conditionals for XPATH/BS4 tag scrapes?
Post: How to create Conditionals for XPATH/BS4 tag scrap...

How to create Conditionals for XPATH/BS4 tag scrapes? I am working on my program which is parsing json files; then performs a remote url request and a lxml xpath scrape; stores to python variables a...
BrandonKastning Web Scraping & Web Development 1 1,168 Apr-12-2022, 06:02 AM
  Thumbs Up Thread: How do I skipkeys on json file read to python dictionary?
Post: RE: How do I skipkeys on json file read to python ...

snippsat, Thank you very much for this! Best Regards, Brandon Kastning (Mar-08-2022, 11:05 AM)snippsat Wrote: I think your are doing much more job that needed. You can/should serialize that data...
BrandonKastning General Coding Help 3 1,884 Mar-08-2022, 09:34 PM
  Bug Thread: Need Pointers/Advise for Cleaning up BS4 XPATH Data
Post: Need Pointers/Advise for Cleaning up BS4 XPATH Dat...

No syntax errors. Script runs! I am having problems with BS4 & XPATH. BS4 (tag) = column1(courtlistener_case_name) and works perfect. BS4 (xpath) column2(courtlistener_jurisdiction) works perfec...
BrandonKastning Web Scraping & Web Development 0 1,229 Mar-08-2022, 12:28 PM
  Star Thread: How do I skipkeys on json file read to python dictionary?
Post: SOLVED! RE: How do I skipkeys on json file read to...

Hey Everyone! I solved this with the following (Mapped out Everything Minus the Nulled Values and Nulled Bracket Arrays): Dragon Breath [F01].py: # Source: JSON Data Sets: Courtlistener.com - https:...
BrandonKastning General Coding Help 3 1,884 Mar-08-2022, 10:17 AM
  Question Thread: How do I skipkeys on json file read to python dictionary?
Post: How do I skipkeys on json file read to python dict...

Here is a sample block of my code: # Source: JSON - Courtlistener.com : https://www.courtlistener.com/api/rest/v3/opinions/4706734/ with open("4706734.json", "r") as read_file: print("Converting...
BrandonKastning General Coding Help 3 1,884 Mar-07-2022, 11:19 PM
  Thumbs Up Thread: Could I kindly petition for an adoption of a MySQL/MariaDB sub-forum for the site?
Post: RE: Could I kindly petition for an adoption of a M...

snippsat, Thank you. Sorry for the late reply! Appreciate it. Best Regards, Brandon (Jan-23-2022, 05:40 PM)snippsat Wrote: (Jan-22-2022, 08:15 PM)BrandonKastning Wrote: Could I kindly petition...
BrandonKastning Board 2 2,721 Mar-05-2022, 09:06 AM
  Question Thread: I am struggling with basic json library + sql alchemy w/ mariadb-connector json ->sql
Post: I am struggling with basic json library + sql alch...

I am struggling with basic json library + sql alchemy w/ mariadb-connector json ->sql # Source: Courtlistener.com - Washington Supreme Court (Largest JSON in Dataset) - 4706734.json # Source: JSON...
BrandonKastning General Coding Help 0 1,510 Mar-04-2022, 09:26 PM
  Question Thread: Python Obstacles | Jeet-Kune-Do | BS4 (Tags > MariaDB) [URL/Local HTML]
Post: Python Obstacles | Jeet-Kune-Do | BS4 (Tags > Mari...

Python Obstacles | Jeet-Kune-Do | BS4 (Tags > MariaDB) [URL/Local HTML] I am working on solving my Thread: "Securing King James Bible (KJV) + King James Bible 1611 (KJV1611) in MariaDB/MySQL" Sou...
BrandonKastning Web Scraping & Web Development 0 1,416 Feb-08-2022, 08:55 PM
  Thumbs Up Thread: Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems
Post: RE: Debian 11 Bullseye | Python 3.9.x | pip instal...

snippsat, I wonder why I had -rf package rather than "mysql-connector-python"; Thank you! I was able to find and install the package as follows: I haven't tested it yet! If I run into a problem I wo...
BrandonKastning General Coding Help 4 6,668 Feb-05-2022, 08:25 PM
  Thumbs Up Thread: Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems
Post: RE: Debian 11 Bullseye | Python 3.9.x | pip instal...

Larz60, Thank you for this answer! That's a great idea! Best Regards, Brandon! (Feb-05-2022, 12:00 PM)Larz60+ Wrote: Since the problem clearly lies with the package mysql-connector-python-rf, I'...
BrandonKastning General Coding Help 4 6,668 Feb-05-2022, 08:23 PM
  Question Thread: Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems
Post: Debian 11 Bullseye | Python 3.9.x | pip install my...

Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems I just installed a fresh Debian 11 Bullseye w/ Python 3.9.x Installing my previous Python modules I only ran into 1...
BrandonKastning General Coding Help 4 6,668 Feb-05-2022, 06:51 AM
  Thumbs Up Thread: Scraping Wikipedia Article (Name in 1 column & URL in 2nd column) ->CSV! Anyone?
Post: RE: Scraping Wikipedia Article (Name in 1 column &...

Larz60, Thank you for the link to the U.S. Census Data! :) (Jan-21-2022, 12:08 PM)Larz60+ Wrote: FYI: County data for all US states is available from: https://www.census.gov/geographies/refer...fi...
BrandonKastning Web Scraping & Web Development 4 2,006 Jan-26-2022, 06:11 PM
  Lightbulb Thread: Could I kindly petition for an adoption of a MySQL/MariaDB sub-forum for the site?
Post: Could I kindly petition for an adoption of a MySQL...

Could I kindly petition for an adoption of a MySQL/MariaDB sub-forum for the site? I think it would add value; I am learning MariaDB and would post threads sharing my learning experience with screens...
BrandonKastning Board 2 2,721 Jan-22-2022, 08:15 PM
    Thread: Securing State Constitutions (USA) from University of Maryland > MariaDB .sql
Post: RE: Securing State Constitutions (USA) from Univer...

Admins/Moderators: I attempted to edit my OP and I received a message too long error as included in below screenshots! I was forced to post a reply. Please understand! **** Update: 01/21/2022 @ Appro...
BrandonKastning Web Scraping & Web Development 1 1,517 Jan-21-2022, 06:34 PM
  Question Thread: Scraping Wikipedia Article (Name in 1 column & URL in 2nd column) ->CSV! Anyone?
Post: Scraping Wikipedia Article (Name in 1 column & URL...

Scraping Wikipedia Article (Name in 1 column & URL in 2nd column) ->CSV! Anyone? Targeted Columns & All Links Does anyone know how to accomplish this feat? I followed this tutorial/blog...
BrandonKastning Web Scraping & Web Development 4 2,006 Jan-19-2022, 11:39 PM
    Thread: Securing King James Bible (KJV) + King James Bible 1611 (KJV1611) in MariaDB/MySQL
Post: RE: Securing King James Bible (KJV) + King James B...

Larz60, As opposed to making replies to my own OP thread? I know that some forums have x amount of time you have to edit your original post. I am glad to know this and will edit my post rather than r...
BrandonKastning Web Scraping & Web Development 4 2,690 Jan-18-2022, 03:42 PM
  Thumbs Up Thread: Securing King James Bible (KJV) + King James Bible 1611 (KJV1611) in MariaDB/MySQL
Post: RE: Securing King James Bible (KJV) + King James B...

Part 1.B: Accomplished (Prepping my 1611 scrapes [folders & files]) files list; for parsing the HTML to Python and then Payload to MariaDB (Part 2) Source/Tutorials: https://askubuntu.com/questi...
BrandonKastning Web Scraping & Web Development 4 2,690 Jan-18-2022, 01:47 AM
    Thread: Securing King James Bible (KJV) + King James Bible 1611 (KJV1611) in MariaDB/MySQL
Post: RE: Securing King James Bible (KJV) + King James B...

Part 1: Accomplished (Prepping my 1611 scrapes [folders & files]) files list; for parsing the HTML to Python and then Payload to MariaDB (Part 2) Source/Tutorials: https://unix.stackexchange.co...
BrandonKastning Web Scraping & Web Development 4 2,690 Jan-17-2022, 09:16 PM
  Thumbs Up Thread: How does one clean a populated table in MySQL/MariaDB? Copying values across tables?
Post: RE: How does one clean a populated table in MySQL/...

Source of Assistance: I was able to get some assistance from #mysql on Libera.chat (IRC Network) - thumbs (Quotes) - Xgc (Syntax) & (DB Normalization & Importance) MariaDB took the followi...
BrandonKastning Data Science 2 1,571 Jan-17-2022, 05:46 AM

User Panel Messages

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