Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Where does pip auto install on Win10 with py 3.9.4?
Post: RE: Where does pip auto install on Win10 with py 3...

OK. Here is how I solved the mystery and... found out how to use pip in Windows 10 after Installing Python 3.8.4... Note: "pip comes automatically when you install python 3.8.4 so you do not need to ...
Fran_3 General Coding Help 4 3,501 May-05-2021, 03:34 PM
    Thread: Where does pip auto install on Win10 with py 3.9.4?
Post: RE: Where does pip auto install on Win10 with py 3...

I Still can not find pip on the Win10 64-bit PC. I have Python 3.8.4 installed at... C:\Users\User-01\AppData\Local\Programs\Python and it works. BUT going to that folder and entering pip -V gives m...
Fran_3 General Coding Help 4 3,501 May-05-2021, 03:13 PM
    Thread: Where does pip auto install on Win10 with py 3.9.4?
Post: Where does pip auto install on Win10 with py 3.9.4...

Question 1 - I read several places that pip automatically installs with later versions of python... right? Question 2 - I just installed python 3.9.4 on a Win10 64-bit computer. Entering "py" at the ...
Fran_3 General Coding Help 4 3,501 Apr-30-2021, 05:06 PM
    Thread: SoX Sound Exchange sample code to Rec & Play audio file
Post: RE: SoX Sound Exchange sample code to Rec & Play a...

Thanks Larz60+ I have Sox installed on the PC and the sox module installed in Python. There is not much help on code samples regarding running sox from Python on the SoX on sourceforge. Google hasn't ...
Fran_3 General Coding Help 3 6,550 Sep-11-2017, 12:35 AM
    Thread: SoX Sound Exchange sample code to Rec & Play audio file
Post: SoX Sound Exchange sample code to Rec & Play audio...

Looking for a sample of how to record a sound file via Python and SoX Wrapper Ditto for playing a recorded file. Thanks for any help.
Fran_3 General Coding Help 3 6,550 Sep-11-2017, 12:15 AM
    Thread: How to pass args to myprog.exe
Post: RE: How to pass args to myprog.exe

Metulburr, Thanks for the info on using argparse but I don't think that answers my 3 original questions. Take a look at the OP if you (or others) don't mind. (Your response did result in me spendin...
Fran_3 General Coding Help 3 10,639 Sep-04-2017, 11:11 PM
    Thread: How to pass args to myprog.exe
Post: How to pass args to myprog.exe

I've Googled this but it's been a long day and maybe some kind soul will share some simple example code so I can get out of this chair for today :-) I need simple examples of launching an external .e...
Fran_3 General Coding Help 3 10,639 Sep-04-2017, 12:54 AM
    Thread: How to print database column types?
Post: How to print database column types?

I've started to experiment with python database and have the simple demo below working. BUT, I'm concerned about the date column in the table... it seems to print OK but is the data "type" really a d...
Fran_3 General Coding Help 3 3,408 Aug-31-2017, 12:33 AM
    Thread: How to check if the data is empty in a database?
Post: RE: How to check if the data is empty in a databas...

Chris, It has been some time since I've done database work and time has not permitted me to read this entire thread... but if you could answer a few questions... 1 - What kind of database are you tryi...
Fran_3 General Coding Help 8 20,202 Aug-28-2017, 12:03 AM
    Thread: How to check if the data is empty in a database?
Post: RE: How to check if the data is empty in a databas...

OT: What database is this? Is it a db written in Python and if so what? Thanks.
Fran_3 General Coding Help 8 20,202 Aug-24-2017, 09:32 PM
    Thread: remote monitoring and control usb adapters
Post: remote monitoring and control usb adapters

I've found some external inexpensive 8 and 16 channel devices for monitoring ttl (digital) levels via a USB port. Also some that will allow us to remote control relay contacts. I'm wondering if any ...
Fran_3 General Coding Help 0 2,272 Aug-24-2017, 07:55 PM
    Thread: How to save pttsx text to speech to audio file?
Post: How to save pttsx text to speech to audio file?

I've Googled this and I'm sure it is out there somewhere but I guess I missed it. I've got pttsx working for text to speech but want to save the audio to an audio file... wav, mp3, or whatever. I'm ...
Fran_3 General Coding Help 1 3,547 Aug-22-2017, 11:47 PM
    Thread: find chars after chars in 'pre' tag
Post: RE: find chars after chars in 'pre' tag

Thanks snappsat ! ! !
Fran_3 Web Scraping & Web Development 9 9,986 Aug-22-2017, 11:44 PM
    Thread: find chars after chars in 'pre' tag
Post: RE: find chars after chars in 'pre' tag

Snippsat, this has been _very_ helpful! Can you tell me where is the documentation on the .text method? I Googled & looked in BS doc's but couldn't find. Also the difference in get_text and .tex...
Fran_3 Web Scraping & Web Development 9 9,986 Aug-20-2017, 02:56 PM
    Thread: find chars after chars in 'pre' tag
Post: RE: find chars after chars in 'pre' tag

I think this gets me back to (one of) my original problems/questions... 1 - If I'm using bs to capture the contents of a pre tag... then that is a hierarchical bs object... or some such... right? And...
Fran_3 Web Scraping & Web Development 9 9,986 Aug-19-2017, 08:30 PM
    Thread: find chars after chars in 'pre' tag
Post: RE: find chars after chars in 'pre' tag

snippsat, What is the alternative to using 'find' inside pre tag so as to avoid \n new line ? thanks again for your kind assistance.
Fran_3 Web Scraping & Web Development 9 9,986 Aug-19-2017, 04:27 PM
    Thread: find chars after chars in 'pre' tag
Post: find chars after chars in 'pre' tag

given text between two 'pre' tags as shown in the example code I want to search for specified text... ABCD in the example while ignoring any preceeding text on the line... "XYZ%7 " in the example the...
Fran_3 Web Scraping & Web Development 9 9,986 Aug-17-2017, 11:18 PM
    Thread: how to convert string soup to raw string ?
Post: RE: how to convert string soup to raw string ?

snippsat, your example works for the sample html in your demo code but can you give me an explanation of the syntax following soup.select in these two lines... print(soup.select('body > p')[0].te...
Fran_3 Web Scraping & Web Development 8 19,558 Aug-16-2017, 11:42 PM
    Thread: how to convert string soup to raw string ?
Post: RE: how to convert string soup to raw string ?

I think nilamo ic correct and it is a Beautiful Soup object and not a string. I Googled "how to search beautiful soup with regx" and found a thread on another forum suggesting Beautiful Soup has a fi...
Fran_3 Web Scraping & Web Development 8 19,558 Aug-16-2017, 01:27 PM
    Thread: how to convert string soup to raw string ?
Post: how to convert string soup to raw string ?

I have a webpage in the variable soup I try to search it with a regx but get an error TypeError: expected string or bytes-like object If I set soup equal some garbage characters with my 'target' in ...
Fran_3 Web Scraping & Web Development 8 19,558 Aug-15-2017, 10:30 PM

User Panel Messages

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