Imports again...
Tim Golden
mail at timgolden.me.uk
Fri Apr 9 10:29:50 EDT 2010
On 09/04/2010 15:19, Gabriel Genellina wrote:
> In addition to what Tim Golden has said (which appears to be based on another
> version of this project
Just downloaded again, and there's definitely an empty package structure
of the kind I described. (Altho' I certainly did have a few other versions
lying around from previous questions by the OP).
> Also, you have some .pyw files with corresponding .pyc file. That's *very*
> strange. .pyw files are *not* modules, and Python won't import them.
Ahem.
<dump>
Python 2.6.4rc2 (r264rc2:75501, Oct 18 2009, 22:41:58) [MSC v.1500 32 bit (I
Type "help", "copyright", "credits" or "license" for more information.
>>> open ("xxx.pyw", "w").write ("print ('hello')")
>>> import xxx
hello
>>>
>>>
</dump>
TJG
More information about the Python-list
mailing list