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

2017-01-25 Thread Tony Chen
On Wednesday, January 25, 2017 at 8:34:01 PM UTC+13, Chris Angelico wrote: > On Wed, Jan 25, 2017 at 6:22 PM, Tony Chen wrote: > > This error can be due to the fact that ImageMagick is not installed on your > > computer, or (for Windows users) that you didn't specify the path to the > > ImageMag

Need reviews for my book on introductory python

2017-01-25 Thread Sandeep Nagar
Hi, A few month ago I wrote a book on introductory python based on my experinces while teaching python to Bachelor students of engineering. It is now available in e-book and paperback format at Amazon. https://www.amazon.com/dp/1520153686 The book is written for beginners of python programmin

Re: Python

2017-01-25 Thread mm0fmf
On 25/01/2017 14:15, murphyclara...@gmail.com wrote: Need help Can help, need money. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python

2017-01-25 Thread Paul Rudin
Joaquin Alzola writes: > This email is confidential and may be subject to privilege. If you are not the > intended recipient, please do not copy or disclose its content but contact the > sender immediately upon receipt. Probably best not to send it to a publicly accessible mailing list then :/ -

Re: PhotoImage.paste

2017-01-25 Thread rryan . asu
Hi Greg, Yeah, I thought of that too... So I was trying to store it as only a grayscale image and use the "L" format. I wonder if maybe that didn't work? I'll play around with that and ensure I did what I think I did. But that's a good reminder. Thanks! Russell On Tuesday, January 24, 20

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-01-25 Thread Christian Gollwitzer
Am 25.01.17 um 10:18 schrieb Peter Otten: hmmeeranrizv...@gmail.com wrote: Hello Guys, Here i am creating a entry box with some text,i need to hide the text when i click on it. search.bind("", clear_search) This is the correct answer for a mouse click. The typical use case (disappearing

Re: Python

2017-01-25 Thread breamoreboy
On Wednesday, January 25, 2017 at 2:15:16 PM UTC, murphyc...@gmail.com wrote: > Need help Please read this http://www.catb.org/~esr/faqs/smart-questions.html and then this http://sscce.org/ before trying again. Kindest regards. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-l

Re: The argparse docs don't say who's responsible for closing FileType objects

2017-01-25 Thread alister
On Wed, 25 Jan 2017 07:16:24 -0800, Bob Kline wrote: > The subject line pretty much says it all. Should the programmer close > the file? If the programmer does that, and the user has asked that the > file object be hooked up to standard in (or standard out) what will > happen? If the programmer do

Re: How an editor can help with block nesting (was Re: How coding in Python is bad for you)

2017-01-25 Thread Ben Iannitelli
On Wed, Jan 25, 2017 at 6:31 AM, Ben Bacarisse wrote: In Python the editor could, for example, highlight the block you are typing in, so as soon as you leave the body of the 'if' it would stop being marked and the containing code would be highlighted. Just moving th

The argparse docs don't say who's responsible for closing FileType objects

2017-01-25 Thread Bob Kline
The subject line pretty much says it all. Should the programmer close the file? If the programmer does that, and the user has asked that the file object be hooked up to standard in (or standard out) what will happen? If the programmer doesn't close it, does it get closed cleanly in the face of a

Re: Python

2017-01-25 Thread Stephane Wirtel via Python-list
Come to PythonFosdem https://www.python-fosdem.org we will offer some beers on 4 & 5 feb in Brussels > On 25 Jan 2017, at 15:46, Joaquin Alzola wrote: > > > >> Need help > I need a beer > > Put your question in the mailing list I think you can get the help needed. > This email is confidenti

RE: Python

2017-01-25 Thread Joaquin Alzola
> Need help I need a beer Put your question in the mailing list I think you can get the help needed. This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but contact the sender immediately upon receipt. --

Python

2017-01-25 Thread murphyclara565
Need help -- https://mail.python.org/mailman/listinfo/python-list

Re: With class as contextmanager

2017-01-25 Thread This Wiederkehr
Thank you for your answers. Very appreciated. I ended up doing it as follows: class MetaLock(type): def __init__(cls, *args): super().__init__(*args) cls.lock = Lock() cls.instances = [] def register(cls, instance): cls.instances.append(instance) def

Re: How coding in Python is bad for you

2017-01-25 Thread alister
On Tue, 24 Jan 2017 20:09:45 -0500, Dennis Lee Bieber wrote: > On Tue, 24 Jan 2017 16:03:45 GMT, alister > declaimed the following: > >>On Tue, 24 Jan 2017 14:28:55 +, Jon Ribbens wrote: >> >>> On 2017-01-24, alister wrote: On Mon, 23 Jan 2017 20:39:26 +, Jon Ribbens wrote: > T

Re: configparser bug

2017-01-25 Thread Peter Otten
Christos Malliopoulos wrote: > Hi, > > I run Ubuntu 16.04 LTS in a VM using VMWare Workstation on a Windows 10 > host. > apt show python-configparser shows 3.3.0r2-2 > On python 2.7.12 I use the following code: > > import configparser as cfg > root = > u'/'.join(os.path.split(os.path.abspath('cf

configparser bug

2017-01-25 Thread Christos Malliopoulos
Hi, I run Ubuntu 16.04 LTS in a VM using VMWare Workstation on a Windows 10 host. apt show python-configparser shows 3.3.0r2-2 On python 2.7.12 I use the following code: import configparser as cfg root = u'/'.join(os.path.split(os.path.abspath('cfg.py'))[0].split('/')[:-2]) cp = cfg.ConfigParser(

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-01-25 Thread hmmeeranrizvi18
On Wednesday, January 25, 2017 at 1:15:11 PM UTC+5:30, hmmeera...@gmail.com wrote: > Hello Guys, > Here i am creating a entry box with some text,i need to hide the text when i > click on it. > Here is my code > > from Tkinter import * > obj = Tk() > b = Entry(obj,width=100) > b.insert(0,"Enter t

Re: Hide text in entry box when i click on it.(GUI using Tkinter in python)

2017-01-25 Thread Peter Otten
hmmeeranrizv...@gmail.com wrote: > Hello Guys, > Here i am creating a entry box with some text,i need to hide the text when > i click on it. Here is my code > > from Tkinter import * > obj = Tk() > b = Entry(obj,width=100) > b.insert(0,"Enter the value to search") > b.pack() > mainloop() You nee

Re: Referencing section name by interpolation in ConfigParser

2017-01-25 Thread Peter Otten
Hans-Peter Jansen wrote: > I would like to use a interpolated section name, e.g.: > > [Section] > secref: %{section}s/whatever > > should result in: > config['Section']['secref'] > 'Section/whatever' > > Any idea anybody, how to archive this with minimum fuzz? If you can live with the ex