| jsoftw | Does my except Thing: have to have brackets around Thing ? |
| kbrooks | jsoftw, no. |
| jsoftw | Cool then |
| ferguscan | frostschutz, becomes pretty unintuitive that way. |
| kbrooks | and somehow, do gets the condition from it's line number when it was called and evaluates it, and then yields repeatedly awful hack but works note: contextlib.contextmanager |
| tvynr | babbitt: Example of a do-while loop producing what I consider to be nicer code (as well as a tangent about the construct I think would produce the nicest code): http://deadbeefbabe.org/paste/4598 |
| kbrooks | actually, the function does not have to do that there are even worse hacks: a trace function |
| thefirstdude | how can I have a module that basicly links to another? like, self = someother module |
| kbrooks | thefirstdude, ? thefirstdude, a = module_name easy |
| thefirstdude | but I want to make a file that is a module linked to another module so when I import filename I get a module |
| CarlFK | py2exe - how do I get this file included: P:\dabodev\dabodemo\DaboDemo\dist\library.zip\dabo\icons\daboSplashName.png |
| thefirstdude | is this possible? |
| CarlFK | thefirstdude: how is that different than a module? |
| Vogateer | thefirstdude, modules are often just python files placed in a certain place where python looks for them... |
| CarlFK | thefirstdude: try better names that "filename" |
| thefirstdude | anyway the module is suposed to be representing another like if I'd do import mymodule I could have mymodule == os like in mymodule(file) I'd write import os;self = os but that no work |
| CarlFK | thefirstdude: what problem are you trying to solve? |
| tvynr | thefirstdude: Are you maybe thinking something like "from os import *" ? |
| thefirstdude | not in the least I want to make a module that is being loaded dynamicly redirect the "loader" to another file but still think that it is loading the original file better put the module being loaded, become another module dynamicly I can't exactly "control" the loader so this is only way |
| Vogateer | That sounds like something that could use a different implementation that you're looking for... |
| thefirstdude | Vogateer, I'm not the one who implementated the loader |
| babbitt | tf: I disagree...I'd rather have duplicated IO rather than duplicated logic |
| thefirstdude | I'm simply asking if this is possible |