Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Confusion with sublcassing a threading class, and inheritance
Post: Confusion with sublcassing a threading class, and ...

I am trying to understand how to subclass a Thread, and I am confused with some details of inheritance. It seems if I want to modify the __init__ I need to call super as follows: class MyThread(t...
bigmit37 General Coding Help 2 7,665 Apr-07-2019, 08:38 PM
    Thread: How do I run python scripts from any directory using Windows command prompt?
Post: How do I run python scripts from any directory usi...

The default directory I'm usually in when I start up Windows command prompt is C:\Users\Moon\, which I'm content with. I have some folders located in the directory C:\Users\Moon\AppData\Local\Progra...
bigmit37 General Coding Help 4 15,768 Jun-14-2017, 12:32 AM
    Thread: Pausing a loop with spacebar, resume again with spacebard
Post: RE: Pausing a loop with spacebar, resume again wit...

(May-29-2017, 04:33 PM)nilamo Wrote: (May-29-2017, 04:00 PM)bigmit37 Wrote: But the main thread is not responding to the thread. Thank you.The whole reason to use a queue, is so the main thread ca...
bigmit37 General Coding Help 10 19,923 May-29-2017, 06:50 PM
    Thread: Pausing a loop with spacebar, resume again with spacebard
Post: RE: Pausing a loop with spacebar, resume again wit...

(May-28-2017, 03:22 AM)nilamo Wrote: You call p.kill() all the time, regardless of whether down is pressed. Instead of starting a new thread for each file, I think you should start up a single thre...
bigmit37 General Coding Help 10 19,923 May-29-2017, 04:00 PM
    Thread: Python Trading Engine
Post: RE: Python Trading Engine

(May-27-2017, 09:46 PM)icabero0225 Wrote: (May-27-2017, 08:28 PM)buran Wrote: input return str, and you compare with int, that is why if choice == 1 is always false obviously you are aware that in...
bigmit37 General Coding Help 3 5,181 May-27-2017, 09:53 PM
    Thread: Pausing a loop with spacebar, resume again with spacebard
Post: RE: Pausing a loop with spacebar, resume again wit...

(May-26-2017, 08:23 PM)nilamo Wrote: First, if you have any desire for this to work cross-platform, you shouldn't use msvcrt.  Or, at least, wrap it up so it'll work on other platforms, like so (sto...
bigmit37 General Coding Help 10 19,923 May-27-2017, 09:46 PM
    Thread: Pausing a loop with spacebar, resume again with spacebard
Post: RE: Pausing a loop with spacebar, resume again wit...

(May-25-2017, 09:50 PM)Larz60+ Wrote: when you run your Popen, it should be done like: from the docs: https://docs.python.org/3.6/library/subprocess.html Quote:Popen.communicate(input=None, timeout=...
bigmit37 General Coding Help 10 19,923 May-26-2017, 12:16 AM
    Thread: Pausing a loop with spacebar, resume again with spacebard
Post: Pausing a loop with spacebar, resume again with sp...

I have a loop that opens and closes images. from PIL import Image import time import subprocess for i in bio:    p = subprocess.Popen(["C:\Program Files\IrfanView\i_view64.exe",'C:\\Users\Moondra\\...
bigmit37 General Coding Help 10 19,923 May-25-2017, 09:12 PM
    Thread: net neutrality
Post: RE: net neutrality

(May-25-2017, 08:11 PM)micseydel Wrote: (May-25-2017, 08:04 PM)bigmit37 Wrote: Have your guys heard about the fake posts being made on the FCC site using comcast customer info? Either comcast info...
bigmit37 Bar 45 21,585 May-25-2017, 08:22 PM
    Thread: Having my output links become clickable
Post: RE: Having my output links become clickable

(May-25-2017, 08:05 PM)snippsat Wrote: You could replace \n with <br>, but better making it a html list bye add <li>. lst.txt: Output:<a href="https://python-forum.io">The best Py...
bigmit37 General Coding Help 8 29,776 May-25-2017, 08:17 PM
    Thread: net neutrality
Post: RE: net neutrality

Have your guys heard about the fake posts being made on the FCC site using comcast customer info? Either comcast info got leaked or someone inside is using customer information to make fake posts aga...
bigmit37 Bar 45 21,585 May-25-2017, 08:04 PM
    Thread: Having my output links become clickable
Post: RE: Having my output links become clickable

(May-20-2017, 03:02 AM)snippsat Wrote: My list is just like in the Pen. I save it as list.html <ul>  <li><a href="https://python-forum.io">The best Python forum</a></li>...
bigmit37 General Coding Help 8 29,776 May-25-2017, 07:24 PM
    Thread: Having my output links become clickable
Post: RE: Having my output links become clickable

(May-20-2017, 12:28 AM)metulburr Wrote: I know in linux if you output the link in full (ie https and all) https://python-forum.io it becomes clickable in the terminal. Not sure of windows if the sam...
bigmit37 General Coding Help 8 29,776 May-20-2017, 02:04 AM
    Thread: Having my output links become clickable
Post: Having my output links become clickable

I scraped a site and got a list of links. I  can call the list object to output the links, but they are just in text format in my shell. They are not clickable.  I'm using Python 3.6 IDLE and my scrip...
bigmit37 General Coding Help 8 29,776 May-20-2017, 12:10 AM
    Thread: Python modules to extract data from a graph?
Post: RE: Python modules to extract data from a graph?

(May-06-2017, 08:34 PM)sparkz_alot Wrote: You might look at this post and see if it comes close to what your aiming for. https://www.johndcook.com/blog/2016/04/2...e-a-graph/ Thank you. I had seen...
bigmit37 General Coding Help 5 22,443 May-07-2017, 01:48 AM
    Thread: Python modules to extract data from a graph?
Post: Python modules to extract data from a graph?

It seems they are called plot digitizers.  I want to be able extract data from a graph, in a nice dataframe type format. Currently, mainly interested in line graphs. Is there anything out there like ...
bigmit37 General Coding Help 5 22,443 May-06-2017, 07:49 PM
    Thread: Getting Tesseract to work for pytesseract
Post: Getting Tesseract to work for pytesseract

I'm trying to use pytesseract but it seems I have to first install Tesseract on my windows OS and get it working properly first on Windows before I can use the python wrapper.  I have installed it pr...
bigmit37 General Coding Help 0 7,490 May-03-2017, 05:20 PM
    Thread: Closing an image opened by Pillow in Window Photo Viewer
Post: RE: Closing an image opened by Pillow in Window Ph...

(May-03-2017, 12:01 AM)snippsat Wrote: Quote:Thanks. I got it to work with subprocess but I ran it with this code Okay i see,so Final_Bioteck[6:11]: is not reading from disk. Is Final_Bioteck a list...
bigmit37 General Coding Help 16 26,433 May-03-2017, 04:03 AM
    Thread: Closing an image opened by Pillow in Window Photo Viewer
Post: RE: Closing an image opened by Pillow in Window Ph...

(May-02-2017, 07:47 PM)snippsat Wrote: bigmit37 Wrote:What is taskkill, /f and /im? Taskkill ends one or more tasks or processes,subprocess call this. bigmit37 Wrote:but still not quite sure what y...
bigmit37 General Coding Help 16 26,433 May-02-2017, 11:39 PM
    Thread: Closing an image opened by Pillow in Window Photo Viewer
Post: RE: Closing an image opened by Pillow in Window Ph...

nilamo Wrote:nilamoI guess it depends on what you're trying to accomplish.  Why do you want to flash some images on the screen and immediately close them? Since you're using the PIL already, there's ...
bigmit37 General Coding Help 16 26,433 May-02-2017, 06:28 PM

User Panel Messages

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