Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
  Question Thread: Timing actions with Python
Post: Timing actions with Python

I am trying to time certain actions in apps like Excel, Power BI, Tableau, some Adobe apps, but I am having trouble getting the end time of an action. For example, copying cells from Excel and pasting...
dangermaus33 General Coding Help 0 1,012 Apr-19-2022, 10:08 PM
  Question Thread: Python and Power BI Desktop
Post: Python and Power BI Desktop

I want to use Python to automate tasks in Power BI Desktop (i.e. open a Power BI Desktop workbook, filter a report, save a workbook, publish a workbook to Power BI Online, etc.). Power BI Desktop has ...
dangermaus33 General Coding Help 1 1,319 Apr-09-2022, 03:27 PM
    Thread: Flask web app on Azure help
Post: RE: Flask web app on Azure help

I spent all day but I figured it out. It was the firewall on the VM itself blocking port 5000.
dangermaus33 Web Scraping & Web Development 2 2,654 Aug-09-2021, 11:16 PM
    Thread: Flask web app on Azure help
Post: Flask web app on Azure help

I created a simple app that has a client part that accesses (uses requests library) another app (web app) using Flask library to get data. Everything works when I run it locally. I am trying to put th...
dangermaus33 Web Scraping & Web Development 2 2,654 Aug-09-2021, 06:59 PM
    Thread: Flask login help
Post: Flask login help

I have a simple client app that accesses a flask web service to get data from a database and then write to a database. I make three calls to the web service: 2 to get data and populate the UI and 1 to...
dangermaus33 Web Scraping & Web Development 0 1,609 Dec-07-2020, 04:06 PM
    Thread: How to access a web service from a python script?
Post: RE: How to access a web service from a python scri...

(Dec-04-2020, 02:48 AM)stranac Wrote: A response object (your p) has a .json() method. It's used in the first code snippet you see on the website. Thanks again. I think I have it all figured out now.
dangermaus33 Web Scraping & Web Development 6 3,205 Dec-04-2020, 07:04 AM
    Thread: How to access a web service from a python script?
Post: RE: How to access a web service from a python scri...

(Dec-03-2020, 07:02 PM)stranac Wrote: Use requests. I have this working somewhat. I used a list to retrieve the data from the database in the web service. I use this line to return the list to the c...
dangermaus33 Web Scraping & Web Development 6 3,205 Dec-03-2020, 11:24 PM
    Thread: How to access a web service from a python script?
Post: RE: How to access a web service from a python scri...

disregard this message.
dangermaus33 Web Scraping & Web Development 6 3,205 Dec-03-2020, 11:04 PM
    Thread: How to access a web service from a python script?
Post: RE: How to access a web service from a python scri...

(Dec-03-2020, 07:02 PM)stranac Wrote: Use requests. Thanks. I will check this out.
dangermaus33 Web Scraping & Web Development 6 3,205 Dec-03-2020, 07:43 PM
    Thread: How to access a web service from a python script?
Post: How to access a web service from a python script?

I have been trying to create a web service using python and flask. I have a simple one created but I am unsure how to access it from code. I want a client python script that gets and puts data into th...
dangermaus33 Web Scraping & Web Development 6 3,205 Dec-03-2020, 06:58 PM
    Thread: Creating a RESTful web service and web service client
Post: Creating a RESTful web service and web service cli...

I am learning Python and want to create a RESTful web service and web service client. For practice, I already create a simple python sales app that uses a database to store the items you can buy and t...
dangermaus33 Web Scraping & Web Development 0 1,282 Dec-01-2020, 09:56 PM
    Thread: Problem updating value in MySQL database
Post: RE: Problem updating value in MySQL database

Never mind. I found my error.
dangermaus33 General Coding Help 1 1,636 Nov-24-2020, 08:32 PM
    Thread: Problem updating value in MySQL database
Post: Problem updating value in MySQL database

I made a simple app to read the product names and prices from a small database. You can change the prices and then commit them back to database. It runs without any errors but the values don't seem to...
dangermaus33 General Coding Help 1 1,636 Nov-24-2020, 08:15 PM
    Thread: Creating table in MySQL db with decimal number issue
Post: RE: Creating table in MySQL db with decimal number...

Perfect. Thank you. That makes sense.
dangermaus33 General Coding Help 7 4,917 Nov-20-2020, 10:40 PM
    Thread: Creating table in MySQL db with decimal number issue
Post: RE: Creating table in MySQL db with decimal number...

(Nov-20-2020, 10:20 PM)bowlofred Wrote: It doesn't have quotes around it like the "lumber" entry does, so it's not a string. Can you show the type of the object? If you assign it to "value" for in...
dangermaus33 General Coding Help 7 4,917 Nov-20-2020, 10:24 PM
    Thread: Creating table in MySQL db with decimal number issue
Post: RE: Creating table in MySQL db with decimal number...

Maybe I just don't understand how the db stuff works with python and mysql. If I do a fetchall then it shows the number with the Decimal text before it. If I do a fetchone then it shows up as just the...
dangermaus33 General Coding Help 7 4,917 Nov-20-2020, 10:21 PM
    Thread: Creating table in MySQL db with decimal number issue
Post: RE: Creating table in MySQL db with decimal number...

Thanks. I am unsure of what to do with how it is stored in the MySQL database. When I print the value of the number it shows as: Decimal('5.50') If I want to do a calculation with that, or display in...
dangermaus33 General Coding Help 7 4,917 Nov-20-2020, 09:32 PM
    Thread: Creating table in MySQL db with decimal number issue
Post: Creating table in MySQL db with decimal number iss...

New coder here. I am working on code to create a simple MySQL table and I want a number value to have decimals. I used the DECIMAL data type and specified the digits and decimal places: CREATE TABLE ...
dangermaus33 General Coding Help 7 4,917 Nov-20-2020, 07:52 PM

User Panel Messages

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