On 21/10/12 01:41:37, Charles Hixson wrote:
> On 10/20/2012 04:28 PM, Ian Kelly wrote:
>> On Sat, Oct 20, 2012 at 2:03 PM, Charles Hixson
>> wrote:
>>> If I run the following code in the same module, it works correctly,
>>> but if I
>>> import it I get the message:
>>> Exception RuntimeError: 'ge
On 20Oct2012 16:41, Charles Hixson wrote:
| On 10/20/2012 04:28 PM, Ian Kelly wrote:
| > On Sat, Oct 20, 2012 at 2:03 PM, Charles Hixson
| >> try:
| >> fil=open (path, encoding = "utf-8-sig")
| >> yieldfil
| >> except:
[...]
|
On 10/20/2012 04:28 PM, Ian Kelly wrote:
On Sat, Oct 20, 2012 at 2:03 PM, Charles Hixson
wrote:
If I run the following code in the same module, it works correctly, but if I
import it I get the message:
Exception RuntimeError: 'generator ignored GeneratorExit' in ignored
def getNxtFile (start
On Sat, Oct 20, 2012 at 2:03 PM, Charles Hixson
wrote:
> If I run the following code in the same module, it works correctly, but if I
> import it I get the message:
> Exception RuntimeError: 'generator ignored GeneratorExit' in object getNxtFile at 0x7f932f884f50> ignored
>
> def getNxtFile (star
On 2012-10-20 21:03, Charles Hixson wrote:
If I run the following code in the same module, it works correctly, but
if I import it I get the message:
Exception RuntimeError: 'generator ignored GeneratorExit' in ignored
def getNxtFile (startDir, exts = ["txt", "utf8"]):
try:
for