Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: unable to view sqlite3 database in VSC Editor
Post: unable to view sqlite3 database in VSC Editor

I am working on a new Django project and would like to be able to view the sqlite3 database in my VSC Editor. I installed SQLTools in the VSC Editor. According to the details section, the SQLlite dri...
KatMac Bar 2 5,136 May-26-2021, 06:03 PM
    Thread: AttributeError: ResultSet object has no attribute 'get_text'
Post: AttributeError: ResultSet object has no attribute ...

On the job web page I am scraping, some of the jobs have a Job Requirements. I am trying to get the list of requirements and having difficulty. Below is the html code I need to get the requirement in...
KatMac Web Scraping & Web Development 1 4,401 May-07-2021, 05:30 PM
    Thread: fpdf orientation not working properly
Post: fpdf orientation not working properly

Hi I have a csv file that I converted to a pdf file using fpdf. If I set the orientation using Code 1 my page is converted into landscape, but the header and footer do not show up. If I set the ori...
KatMac General Coding Help 1 3,340 May-01-2021, 06:38 PM
    Thread: fpdf star character issue
Post: RE: fpdf star character issue

I think I will do the image thing. Much easier Thanks for your help.
KatMac General Coding Help 3 3,000 May-01-2021, 06:22 PM
    Thread: fpdf star character issue
Post: fpdf star character issue

Hello, I have a database with a number of fields and 1 of the fields is Rating. This field contains the word, One, Two, Three, Four or Five. Each time I loop through a record, I want the Rating st...
KatMac General Coding Help 3 3,000 May-01-2021, 04:32 PM
    Thread: Accessing a data-phone tag from an href
Post: Accessing a data-phone tag from an href

I am working on a small project using Beautiful Soup. How would I access the phone number of this : Output:<a href="javascript:void(0)" class="mlr__item__cta jsMlrMenu" data-phone="709-635-7316"...
KatMac Web Scraping & Web Development 1 2,904 Apr-27-2021, 05:33 PM
    Thread: fpdf adding a new font to my report
Post: fpdf adding a new font to my report

Hi I have created a class to set up the headers and footers for my pdf file. In my header function inside the class, I would like the heading 'Book Inventory' to be in a different font. I downloade...
KatMac General Coding Help 0 2,178 Apr-23-2021, 02:19 PM
    Thread: ModuleNotFoundError: No module named 'fpdf'
Post: RE: ModuleNotFoundError: No module named 'fpdf'

Hi I decided to uninstall and reinstall python issue is resolved now. Thank you for helping me.
KatMac General Coding Help 4 11,197 Apr-19-2021, 01:23 PM
    Thread: ModuleNotFoundError: No module named 'fpdf'
Post: RE: ModuleNotFoundError: No module named 'fpdf'

Hi I tried what you said and it still doesn`t work. Getting same error as before: ModuleNotFoundError: No module named 'fpdf'
KatMac General Coding Help 4 11,197 Apr-18-2021, 10:31 PM
    Thread: ModuleNotFoundError: No module named 'fpdf'
Post: ModuleNotFoundError: No module named 'fpdf'

I am running Windows 10, using the VSC editor and Python 3.9.4 My goal is to convert an existing csv file to a pdf. I installed the required module by entering: pip install fpdf. Then I wrote a few l...
KatMac General Coding Help 4 11,197 Apr-18-2021, 07:17 PM
    Thread: Beautiful Soup - access a rating value in a class
Post: Beautiful Soup - access a rating value in a class

On the web page I am am trying to scrape, I have come across the following html tag: <p class="star-rating One"> Currently, I am using the following code (which returns a blank line): rated = b...
KatMac Web Scraping & Web Development 1 3,474 Apr-16-2021, 01:09 PM

User Panel Messages

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