I'm not sure the subject's wording is the best, but I'll try to explain.
I have a main script that imports several modules and I need to be able
to call methods from a class instance inside that main script from a
module. Currently, functions can be defined to access the methods, but
such functions
Thanks, Steven.
On Sat, Oct 1, 2011 at 10:11 PM, Steven D'Aprano
wrote:
> Eric Snow wrote:
>
>> Anyone know the story behind the lower-case names for the
>> non-exception built-in types (like list and type)? I am guessing that
>> they were originally factory functions that, at some point, gradua
Eric Snow wrote:
> Anyone know the story behind the lower-case names for the
> non-exception built-in types (like list and type)? I am guessing that
> they were originally factory functions that, at some point, graduated
> to full types; and the names were kept lower-case for backward
> compatibi
Gregory Ewing wrote:
> Steven D'Aprano wrote:
>> By the way, who removed the OT label from the subject line?
>
> Probably nobody "removed" it, they just replied to some earlier
> message that didn't have it.
I started the "Benefit and belief" sub-thread, changing the subject line
from "suggested
Anyone know the story behind the lower-case names for the
non-exception built-in types (like list and type)? I am guessing that
they were originally factory functions that, at some point, graduated
to full types; and the names were kept lower-case for backward
compatibility.
However, if we were t
Steven D'Aprano wrote:
By the way, who removed the OT label from the subject line?
Probably nobody "removed" it, they just replied to some earlier
message that didn't have it.
Despite the term, a newsgroup thread is not a linear structure,
it's a tree. Changing the subject line on one branch d
By the way, who removed the OT label from the subject line? Please don't
unless it actually comes back on topic.
DevPlayer wrote:
> I still assert that contradiction is caused by narrow perspective.
There's no doubt that some *apparent* contradictions are caused by lack of
correct information.
Alexander Kapps wrote:
But I think a simple (and quick 'n' dirty) Tk MVC example can look like
this:
The Controller doesn't seem to add any value in that example.
You might as well connect the Model and Views directly to
each other.
--
Greg
--
http://mail.python.org/mailman/listinfo/python-li
Chris Angelico wrote:
But what if I'm a great windowing magnate, owning windows all over the world?
Like Bill Gates, you mean?
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 01 Oct 2011 23:00:07 +0100, David Monaghan
wrote:
>from win32com.client import Dispatch
>xlApp = Dispatch("Excel.Application")
>xlWbook = xlApp.Workbooks.Open(r"C:\Users\Administrator\Desktop\test.xls")
>xlApp.Visible = 1
>xlWorksheet = xlWbook.Worksheets(1)
>xlWorksheet.Columns("A:V").Se
On Sat, 1 Oct 2011 10:35:06 -0700 (PDT), Prakash
wrote:
>On Oct 1, 10:25 pm, Prakash wrote:
>> Need A script to open a excel file and extract the data using
>> autofilter and write it in a new sheet or new file like I have to
>> select all rows in which all the columns contain pass as status
>
On 01.10.2011 14:41, Emeka wrote:
Hello All,
I need a basic example where MVC pattern is used with Python TK.
I'm still not 100% sure if I really understand the MVC pattern. Some
say the view and the model must not interact directly, some say the
view must not access the controller (but the
Dear Colleague,
Within the 8th EUROMECH Solid Mechanics Conference - ESMC2012
(www.esmc2012.tugraz.at), to be held in Graz University of Technology,
Austria, July 9-13, 2012, we are organizing the Symposium “Image
Processing and Visualization in Solid Mechanics Processes”.
Examples of topics that
> You could create the webpage and then render
> it in your desktop app. I have seen plenty of apps like that.
That's a good idea. I was able to get the basics of the pymaps
approach going, so I may do just this. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 29, 12:52 pm, Miki Tebeka wrote:
> Probably the google maps routes will be faster (maybe using embedded webkit
> window). However it requires internet connection.
>
> See alsohttp://www.scipy.org/Cookbook/Matplotlib/Maps
Thanks. But I just needed a small radius, not the whole globe, and
On Oct 1, 10:25 pm, Prakash wrote:
> Need A script to open a excel file and extract the data using
> autofilter and write it in a new sheet or new file like I have to
> select all rows in which all the columns contain pass as status
from win32com.client import Dispatch
xlApp = Dispatch("Excel.Ap
Need A script to open a excel file and extract the data using
autofilter and write it in a new sheet or new file like I have to
select all rows in which all the columns contain pass as status
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I would like to get the list of parameters I need to initialize an AST node.
I'm trying to use the `inspect` module, however it seems I can't use it on a
built-in (native?) class, or else I misunderstood.
I'm using Python 2.7 and tried with Python 3.2.
This is working:
>>> import inspe
Hello All,
I need a basic example where MVC pattern is used with Python TK.
Regards,
Emeka
--
*Satajanus Nig. Ltd
*
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 30, 1:51 pm, Jon Clements wrote:
> Is something like
> http://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imresize.html
> any use?
There we go! That's the kind of method I was seeking. I didn't think
to look outside of scipy.interpolate. Thanks, Jon.
--
http://mail.python.
On Sep 30, 11:54 pm, Dennis Lee Bieber wrote:
> How difficult would it be to convert the "array" to a PIL image? I'm
> fairly certain PIL has operations to rescale images.
Yes, I considered this approach -- but I have a lot of arrays to
resample, and I didn't want to further slow what is
On Fri, Sep 30, 2011 at 11:31 PM, Jason Swails wrote:
> Hello everyone,
>
> I'm probably missing something pretty obvious, but I was wondering if there
> was a way of executing an arbitrary line of code somehow (such as a line of
> code based on user-input). There's the obvious use of "eval" that
22 matches
Mail list logo