Problem With Tkinter Font

2017-02-25 Thread Wildman via Python-list
Python 3.4.2 Tkinter 8.6 Linux I want to set the font in a GUI program I am working on. Here is the pertinent code I am using... from tkinter import font myfont = font.Font(family='Helvetica', size=10, weight='bold') Here is the error I get... Traceback (most recent call last): File "./test.

RE: Python application launcher (for Python code)

2017-02-25 Thread Deborah Swanson
breamore...@gmail.com wrote, on February 25, 2017 4:49 AM > > On Friday, February 24, 2017 at 1:54:39 AM UTC, Deborah Swanson wrote: > > Michael Torrie wrote, on February 23, 2017 7:43 AM > > > > > > On 2017-02-22 09:49 PM, Deborah Swanson wrote: > > > > Didn't even look. Visual Studio has always

Re: any one used moviepy please come in!!! I need help, thanks!

2017-02-25 Thread Santhosh Kumar
Thanks a lot , I got this solution after installing ghostscript Regards sandy On Thu, Feb 23, 2017 at 6:15 PM, Billy Earney wrote: > imagemagick (ie, convert) has a policy.xml file that stops you from > accessing any resource that starts with '@'. > > type 'identify -list policy' > the first l

Re: Python application launcher (for Python code)

2017-02-25 Thread breamoreboy
On Friday, February 24, 2017 at 1:54:39 AM UTC, Deborah Swanson wrote: > Michael Torrie wrote, on February 23, 2017 7:43 AM > > > > On 2017-02-22 09:49 PM, Deborah Swanson wrote: > > > Didn't even look. Visual Studio has always been pricey, and it never > > > > occurred to me that they might have

RE: Python application launcher (for Python code)

2017-02-25 Thread Deborah Swanson
Wanderer wrote, on February 25, 2017 2:07 PM > > If you want to turn internet access on and off more easily in > Windows 7, go to Control Panel\ Network and Sharing Center > and in the left hand menu click on Change Adapter Settings. > Create a shortcut to Local Area Connect and put it on your

Re: Python application launcher (for Python code)

2017-02-25 Thread Wanderer
On Saturday, February 25, 2017 at 1:03:40 PM UTC-5, Deborah Swanson wrote: > Dennis Lee Bieber wrote, on February 25, 2017 4:50 AM > > > > On Fri, 24 Feb 2017 22:26:15 -0800, "Deborah Swanson" > > declaimed the following: > > > > > > > >Well rats. Skull duggery on the net is a lot more sophisti

RE: Python application launcher (for Python code)

2017-02-25 Thread Deborah Swanson
> -Original Message- > From: Python-list > [mailto:python-list-bounces+python=deborahswanson.net@python.o > rg] On Behalf Of Dennis Lee Bieber > Sent: Saturday, February 25, 2017 12:58 PM > To: python-list@python.org > Subject: Re: Python application launcher (for Python code) > > > On

Re: Python replace multiple strings (m*n) combination

2017-02-25 Thread Cem Karan
Another possibility is to form a suffix array (https://en.wikipedia.org/wiki/Suffix_array#Applications) as an index for the string, and then search for patterns within the suffix array. The basic idea is that you index the string you're searching over once, and then look for patterns within it

Re: Python replace multiple strings (m*n) combination

2017-02-25 Thread INADA Naoki
If you can use third party library, I think you can use Aho-Corasick algorithm. https://en.wikipedia.org/wiki/Aho%E2%80%93Corasick_algorithm https://pypi.python.org/pypi/pyahocorasick/ On Sat, Feb 25, 2017 at 3:54 AM, wrote: > I have a task to search for multiple patterns in incoming string an

RE: Python application launcher (for Python code)

2017-02-25 Thread Deborah Swanson
Dennis Lee Bieber wrote, on February 25, 2017 4:50 AM > > On Fri, 24 Feb 2017 22:26:15 -0800, "Deborah Swanson" > declaimed the following: > > > > >Well rats. Skull duggery on the net is a lot more sophisticated than > >when I saw it last (15 years ago). Getting up to speed with it is on my >