import nltk
nltk.download('maxent_treebank_pos_tagger¹)
Is now giving the error:
[nltk_data] Error loading maxent_treebank_pos_tagger:
Any suggestions, please.
BIG SMILE...
Always, Dwight
--
https://mail.python.org/mailman/listinfo/python-list
Please help(my apologizesI got a response to this before, but I CANNOT
find it now)
Using this code:
import nltk
nltk.download('maxent_treebank_pos_tagger¹)
I get this error:
[nltk_data] Downloading package maxent_treebank_pos_tagger to
[nltk_data] /Users/dwightgoldwindex/nltk_data...
Please help
Using this code:
import nltk
nltk.download('maxent_treebank_pos_tagger¹)
I get this error:
[nltk_data] Downloading package maxent_treebank_pos_tagger to
[nltk_data]/Users/dwightgoldwindex/nltk_data...
Traceback (most recent call last):
File test short.py, line 18, in module
Inside of Functions.py I define the function:
def subwords ():
global subwordsDL
subwordsDL = {'enjoy':['like', 'appreciate', 'love', 'savor'],
'hurt':['damage', 'suffering']}
print (subwordsDL)
Return
In my test code module, the code is:
global subwordsDL
from Functions import subwords
/15, 1:41 AM, Michael Torrie torr...@gmail.com wrote:
On 08/08/2015 10:08 PM, Dwight GoldWinde wrote:
I am both new to Python and I haven¹t even touched Django yet.
I understand I that I need Django or something like it to develop my
website.
From what I have read, Python and Django somewhat
on YouTube)
www.couragebooks.key.to (all my books on Amazon)
On 08/08/2015 09:08 PM, Dwight GoldWinde wrote:
I am both new to Python and I haven¹t even touched Django yet.
I understand I that I need Django or something like it to develop my website.
From what I
So many new things to look into!
Chris, I now will also investigate i18n.
Thank you.
BIG SMILE...
Always, Dwight
www.3forliving.key.to (video playlist on YouTube)
www.couragebooks.key.to (all my books on Amazon)
On 8/10/15, 9:27 AM, Chris Angelico ros...@gmail.com wrote:
On Mon, Aug
Such a simple change, I wouldn¹t think it would work.
But it did.
You suggested from Functions import humprint²
instead of from Functions.py import humprint².
Thank you, Chris!
Now I can define functions all over the place. LOL
BIG SMILE...
Always, Dwight
www.3forliving.key.to (video
I am trying to import and function.
The function (humprint) is defined in a .py module inside the same folder as
the executing code.
I am put traces in the Functions.py module to show that it works okay there
(Python 3.4).
Here is the code of the Functions.py module:
try:
print
Wowsuch a generous response. Thank you, Laura!
Based upon your feedback, I did some additional investigation and decided
to go with Django. One of the reasons is that it¹s got everything in the
package. For example, I won¹t have to go outside of Django for my database
needs. And, although my
I am both new to Python and I haven¹t even touched Django yet.
I understand I that I need Django or something like it to develop my
website.
From what I have read, Python and Django somewhat go together.
Is that true?
Or is there another development platform better for someone like me than
, Dwight GoldWinde dwi...@goldwinde.com
wrote:
I am both new to Python and I haven¹t even touched Django yet.
I understand I that I need Django or something like it to develop my
website.
From what I have read, Python and Django somewhat go together.
Is that true?
Or is there another development
)
www.couragebooks.key.to (all my books on Amazon)
On 8/4/15, 9:24 AM, Steven D'Aprano st...@pearwood.info wrote:
On Tue, 4 Aug 2015 09:57 am, Dwight GoldWinde wrote:
I am trying to import a function defined in another module.
You can't use spaces in the name of importable Python modules: change
I am trying to import a function defined in another module.
The code is this:
name = 'Jim'
sex = 'm'
coach = 'Dwight'
import importlib
sentence = 'Hi, there, ' + name + '. My name is ' + coach + '. I will be
your coach today.'
importlib.import_module ('humprint', 'Macintosh
On 8/3/15, 4:55 PM, Dwight GoldWinde dwi...@goldwinde.com wrote:
Okay, thank you, Dave, so I got the following info:
type $(which python3)
/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 is
/Library/Frameworks/Python.framework/Versions/3.4/bin/python3
But I can¹t figure out what
, in module
word = input('Enter a word ')
File string, line 1, in module
NameError: name 'serendipity' is not defined
On 8/2/15, 12:30 AM, Emile van Sebille em...@fenx.com wrote:
On 7/30/2015 6:22 PM, Dwight GoldWinde wrote:
I am running Python 3.4 on my Mac mini, OS X 10.10.2, using
Please help.
I am running Python 3.4 on my Mac mini, OS X 10.10.2, using Coderunner 2 as
my editor.
Here¹s the code:
#!/usr/bin/env python3
word = (input('Enter a word ))
When running this inside of Coderunner, I get the follow error, after
entering the word serendipity¹:
Enter a word
17 matches
Mail list logo