Error running an exe file in Windows with reportlab import

2016-08-12 Thread Ernest Bonat, Ph.D.
(PyInstaller) using the following command line: pyinstaller --onedir --name=runatestapp --noupx "C:\Users\Ernest\workspace\bars\src\run_a_test.py" The required folders (build and dist) and the spec file are created properly with no errors. When I run the runatestapp.exe file in the

Generate reports in Python

2016-08-10 Thread Ernest Bonat, Ph.D.
Hi, I'm looking for best modules/practices to generate reports (HTML, PDF, etc) in Python. Good ideas are very appreciated. Thanks Ernest Bonat, Ph.D. Senior Software Engineer Senior Data Scientist -- https://mail.python.org/mailman/listinfo/python-list

Re: Error running the exe file in Windows "Failed to execute script pyi_rth_pkgres"

2016-08-10 Thread Ernest Bonat, Ph.D.
Still not clear to me why the main site http://www.pyinstaller.org/ does not have the latest release? Thanks Ernest Bonat, Ph.D. Senior Software Engineer Senior Data Scientist On Sun, Aug 7, 2016 at 8:03 AM, Ernest Bonat, Ph.D. wrote: > Hi, > > I have created a simple Python program incl

Error running the exe file in Windows "Failed to execute script pyi_rth_pkgres"

2016-08-07 Thread Ernest Bonat, Ph.D.
27;m using the following now: - Anaconda3 4.1.1.64-bit - Python 3.5.2 - PyInstaller 3.2 - Windows 10 64-bit Any help is very appreciated. Feel free to contact me at any time you need. Thank you, Ernest Bonat, Ph.D. Senior Software Engineer Senior Data Scientist -- https://mail.python.org/mailman/listinfo/python-list

Fwd: Python Error: ImportError: No module named ''folder_name’ at Command Prompt

2015-07-11 Thread Ernest Bonat, Ph.D.
python_mvc_calculator/calculator folder and I need to import a module calculatorcontroller.py in "python_mvc_calculator/calculator/controller" I hope this explanation helps a bit! <http://askubuntu.com/questions/470982/how-to-add-a-python-module-to-syspath > Thanks Ernest Bona

Fwd: Python Error: ImportError: No module named ''folder_name’ at Command Prompt

2015-07-11 Thread Ernest Bonat, Ph.D.
Thanks Ernest Bonat, Ph.D. Senior Software Engineer | Senior Data Analyst Visual WWW, Inc. | President and CEO 115 NE 39th Avenue | Hillsboro, OR 97124 Cell: 503.730.4556 | Email: ernest.bo...@gmail.com *The content of this email is confidential. It is intended only for the use of the persons

Python Error: ImportError: No module named ''folder_name’ at Command Prompt

2015-07-11 Thread Ernest Bonat, Ph.D.
_name'. It’s like the location path of the ‘'folder_name’ was not found. Do I need to update my main.py file to run it at the Command Prompt? Thank you for all your help, Thanks Ernest Bonat, Ph.D. Senior Software Engineer | Senior Data Analyst Visual WWW, Inc. | President and CEO 115

Is MVC Design Pattern good enough?

2014-06-01 Thread Ernest Bonat, Ph.D.
ready don’t understand what the data has to do with applications business logic. Nothing? Can we implement the application business logic in another layer? Yes or no? Why? Explain? Thank you all for the inputs! -- Thanks Ernest Bonat, Ph.D. Senior Software Engineer Senior Business Statistics Analyst

Re: IDE for python

2014-05-28 Thread Ernest Bonat, Ph.D.
; > An editor that's completely implemented in Python is Editra. With > plugins you can turn it into an "almost IDE" as well. > > Sincerely, > > Wolfgang > -- > https://mail.python.org/mailman/listinfo/python-list > -- Thanks Ernest Bonat, Ph.D. Senior So

Re: The possibility integration in Python without an equation, just an array-like file

2014-05-16 Thread Ernest Bonat, Ph.D.
bit! Ernest Bonat, Ph.D. On Fri, May 16, 2014 at 10:55 AM, Terry Reedy wrote: > On 5/16/2014 4:49 AM, Enlong Liu wrote: > >> Dear All, >> >> I have a question about the integration with Python. >> > > For numerical integration, you should look as nump

Re: The possibility integration in Python without an equation, just an array-like file

2014-05-16 Thread Ernest Bonat, Ph.D.
Hi Enlong You may try standard numerical integration solutions based on the E and T(E) columns data provided. Ernest Bonat, Ph.D. On Fri, May 16, 2014 at 1:49 AM, Enlong Liu wrote: > Dear All, > > I have a question about the integration with Python. The equation is as > below:

Unicode strings as arguments to exceptions

2014-01-16 Thread Ernest Adrogué
Hi, There seems to be some inconsistency in the way exceptions handle Unicode strings. For instance, KeyError seems to not have a problem with them >>> raise KeyError('a') Traceback (most recent call last): File "", line 1, in KeyError: 'a' >>> raise KeyError(u'ä') Traceback (most recent call

Re: TextWrangler "run" command not working properly

2011-04-14 Thread Ernest Obusek
I'm not a python expert, but you might trying running 'print sys.path' inside your script and run that from TextWrangler to see where it's looking for modules. - Ernest On Apr 14, 2011, at 5:01 PM, Jon Clements wrote: > On Apr 14, 9:52 pm, Fabio wrote: >> Hi to

default argument in method

2010-12-12 Thread ernest
m(self, val=self.foo): return val Raises NameError because 'self' is not defined. The obvious solution is put val=None in the signature and set val to the appropriate value inside the method (if val is None: ...), but I wonder if there's another way. Cheers, Ernest -- http://mail

raise Exception or raise Exception()

2010-11-14 Thread ernest
I have seen both forms and I'm not sure if they're both correct, or one is right and the other wrong. In practical terms, the two of them seem to have the same effect. Cheers, Ernest -- http://mail.python.org/mailman/listinfo/python-list

what should __iter__ return?

2010-09-03 Thread ernest
iterator will fail with IndexError (if items have been removed), or it will fail to iterate over the whole sequence (if items have been added). What do you think? Cheers. Ernest -- http://mail.python.org/mailman/listinfo/python-list

Re: in place functions from operator module

2010-08-29 Thread ernest
On 29 Ago, 17:00, Peter Otten <__pete...@web.de> wrote: > ernest wrote: > > The operator module provides separate functions for > > "in place" operations, such as iadd(), isub(), etc. > > However, it appears that these functions don't really > >

in place functions from operator module

2010-08-29 Thread ernest
#x27;s the point? If you have to make the assignment yourself... I don't understand. Cheers, Ernest -- http://mail.python.org/mailman/listinfo/python-list

Re: expression in an if statement

2010-08-19 Thread ernest
On 19 Ago, 08:40, Frederic Rentsch wrote: > On Thu, 2010-08-19 at 00:12 +0200, Thomas Jollans wrote: > > On Wednesday 18 August 2010, it occurred to John Nagle to exclaim: > > > On 8/18/2010 11:24 AM, ernest wrote: > > > > Hi, > > > > > In this code:

expression in an if statement

2010-08-18 Thread ernest
Hi, In this code: if set(a).union(b) == set(a): pass Does Python compute set(a) twice? Thanks in advance. Ernest -- http://mail.python.org/mailman/listinfo/python-list

Re: Q for Emacs users: code-folding (hideshow)

2010-07-16 Thread ernest
nctions, classes, etc. However, I never got used to it because of the bizarre key bindings. Bye. Ernest -- http://mail.python.org/mailman/listinfo/python-list

Re: __getattribute__ hook and len() problem

2010-07-15 Thread ernest
Thanks Chris & Christian. Mistery solved :) Ernest -- http://mail.python.org/mailman/listinfo/python-list

__getattribute__ hook and len() problem

2010-07-15 Thread ernest
bject.__len__. Can somebody shed some light on this?? Many thanks in advance. Ernest -- http://mail.python.org/mailman/listinfo/python-list

Re: how do I write a scliceable class?

2010-02-13 Thread Ernest Adrogué
Hi, Thanks a lot for your comments. I think I've got enough information to make a decision now. 13/02/10 @ 15:16 (+0100), thus spake Peter Otten: > Ernest Adrogué wrote: > > > I'm designing a container class that supports slicing. > > The problem is that I do

how do I write a scliceable class?

2010-02-13 Thread Ernest Adrogué
sirable because subclasses of this class might need to set some custom settings in their __init__ method. So what is there to do? Any suggestion? Cheers. Ernest -- http://mail.python.org/mailman/listinfo/python-list

Fwd: Re: Cannot remove this program from my computer

2006-08-21 Thread ERNEST SMITH
Note: forwarded message attached.--- Begin Message --- Please send to the correct address: [EMAIL PROTECTED] On 08/14/2006 08:21 AM, ERNEST SMITH wrote: > Everytime I try to remove this Python program from my Add or Remove > Program List, the error comes up saying could not open INSTA

Ossaudiodev in Windows

2006-03-12 Thread Ernest G Ngaruiya
I got some code for playin g sounds using python. The code was meant for alinux platform and so if I use it on Windows, it says there is no module named ossaudiodev. I'd like to try this out on windows. Could someone help me out? What's an alternative Thanks, Email me at [EMAIL PROTECTED] -- h