Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Cannot add dot executable to system path
Post: RE: Cannot add dot executable to system path

Problem solved. It took me a while to figure out that I had to download some non-pythonic software before I could get the pythonic software to work. brew install graphviz Was step 1 and I had don...
bobsmith76 General Coding Help 2 4,861 Mar-05-2019, 03:17 PM
    Thread: Cannot add dot executable to system path
Post: Cannot add dot executable to system path

When I run graphviz https://graphviz.readthedocs.io/en/stable/ I get the following error graphviz.backend.ExecutableNotFound: failed to execute ['dot', '-Tpdf', '-O', 'test-output/aoc.gv.pdf'], ma...
bobsmith76 General Coding Help 2 4,861 Mar-04-2019, 08:18 AM
    Thread: propositional logic formula converter
Post: RE: propositional logic formula converter

Thanks, I really appreciate you taking the time to give me some useful feedback.
bobsmith76 Code sharing 8 4,945 Dec-04-2018, 02:54 AM
    Thread: propositional logic formula converter
Post: RE: propositional logic formula converter

That code is just a small snippet of a 12,000 line code. I've always been reluctant to post code because how can you make someone understand an excerpt from a huge code base? I thought that code was...
bobsmith76 Code sharing 8 4,945 Dec-03-2018, 08:38 AM
    Thread: propositional logic formula converter
Post: RE: propositional logic formula converter

No. I'm the only one that does it last time I checked. Why are you interested in doing it?
bobsmith76 Code sharing 8 4,945 Dec-03-2018, 07:41 AM
    Thread: propositional logic formula converter
Post: RE: propositional logic formula converter

I see what you're saying. When you're trying to determine if a sentence is logically possible you have to have a database of the definition of each word. The definitions cannot be written in natural ...
bobsmith76 Code sharing 8 4,945 Dec-03-2018, 12:48 AM
    Thread: propositional logic formula converter
Post: propositional logic formula converter

''' Here is some short code which is rather self-contained and is somewhat difficult to write making it perfect for sharing. So here are the rules, hopefully you're familiar with the propositional log...
bobsmith76 Code sharing 8 4,945 Dec-01-2018, 01:38 AM
    Thread: find hidden python files
Post: RE: find hidden python files

Yea, I'm using xlwings but that does not solve the larger problem of how to track down hidden python files. I've run into this problem before and need to add this skill to my repertoire. I've solved...
bobsmith76 General Coding Help 4 3,294 Oct-23-2018, 07:08 PM
    Thread: find hidden python files
Post: find hidden python files

I have a built-in operation which is eating up 74% of the run time in my code and I'm having a very difficult time tracking down its location. If look at the pictures you'll see that there is an opera...
bobsmith76 General Coding Help 4 3,294 Oct-23-2018, 06:10 PM
    Thread: 5 threading methods, none sped up the program
Post: RE: 5 threading methods, none sped up the program

(Sep-25-2018, 04:46 AM)woooee Wrote: Something like this. It is very late and I am very tired so you will have to correct any typos or other errors def use_mult_process(): from multipr...
bobsmith76 General Coding Help 7 4,461 Sep-26-2018, 10:10 AM
    Thread: 5 threading methods, none sped up the program
Post: RE: 5 threading methods, none sped up the program

(Sep-23-2018, 04:23 AM)Gribouillis Wrote: Did you profile the code to find the bottlenecks? I doubt there would be bottlenecks because all the code does is open a text file and then loop through eac...
bobsmith76 General Coding Help 7 4,461 Sep-25-2018, 01:27 AM
    Thread: 5 threading methods, none sped up the program
Post: 5 threading methods, none sped up the program

I've used the 5 methods for concurrency or threading and none of them performed the task faster than serial. The only method that had moderate success was the one not listed here which was to just ope...
bobsmith76 General Coding Help 7 4,461 Sep-23-2018, 04:01 AM
    Thread: module import error
Post: RE: module import error

Thanks that did it. It took me a very long time to find someone who could explain this to me. Even the standard experts that have been highly reliable in the past were stumped. And I agree with you a...
bobsmith76 General Coding Help 4 3,285 Sep-18-2018, 03:41 AM
    Thread: module import error
Post: RE: module import error

I've got the __init__.py files added and it is still not working. Also, a 3 hour video on module imports that's a bit much. [Image: https://ibb.co/doxZ6e]
bobsmith76 General Coding Help 4 3,285 Sep-17-2018, 12:54 AM
    Thread: module import error
Post: module import error

When I'm in the directory 'sub_pckg2' and run python mod3.py in the terminal, I get a modulenotfounderror but this error does not occur when I run the program from my IDE editor which in this case is ...
bobsmith76 General Coding Help 4 3,285 Sep-16-2018, 11:11 PM
    Thread: Program slows my mac down
Post: Program slows my mac down

I'm running a program that counts each keystroke I make. I'm trying to find some way to measure my productivity. The problem is that after 15 minutes the computer starts to really slow down. I have a...
bobsmith76 General Coding Help 0 1,845 Sep-03-2018, 01:43 PM
    Thread: Keyboard Maestro has problem importing python scripts
Post: RE: Keyboard Maestro has problem importing python ...

Ok, I've made a little bit of progress. I encounter versions of this error when I use terminal and I solve it by doing this: import sys str1 = "/library/frameworks/python.framework/versions/3.6/lib/...
bobsmith76 General Coding Help 3 4,495 Aug-29-2018, 08:10 PM
    Thread: Keyboard Maestro has problem importing python scripts
Post: RE: Keyboard Maestro has problem importing python ...

The program runs from command line but not from keyboard maestro. I have the module it's just that KM is not finding it. Let me post the entire error message 2018-08-29 11:51:06 Traceback (most rec...
bobsmith76 General Coding Help 3 4,495 Aug-29-2018, 06:40 PM
    Thread: Keyboard Maestro has problem importing python scripts
Post: Keyboard Maestro has problem importing python scri...

I'm trying to run my python scripts with the click of one button. i'm tired of hunting for my terminal, activating it, then inputting an alias. so i've looked around for some things then can run pytho...
bobsmith76 General Coding Help 3 4,495 Aug-29-2018, 02:53 PM

User Panel Messages

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