I am trying to use the import command as such:
this is the output, plus an ls to show the file is in the directory.
Code:
upupz@upupz-laptop:~/Documents/Python/Basics$ ls
bbb.txt hello world.py input output.py
upupz@upupz-laptop:~/Documents/Python/Basics$ python3.1
Python 3.1.2 (r312:79147, Sep 27 2010, 09:45:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import hello world
File "<stdin>", line 1
import hello world
^
I am sure this some silly error on my part but for the life of me I can't find it. this is the text in the file.
Code:
"""
coder : upupz
aim : text output
user base : upupz
"""
print("hello world!")
Thanks
Bookmarks