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...
T
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
n
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
subwords
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 p
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" wrote:
>On Mon, Aug 10, 2015 at 3:4
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
/15, 1:41 AM, "Michael Torrie" 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.
>>
>> Fro
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 (callable(humprin
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 webs
long-term project to
create an ³automated life coaching² website.
BIG SMILE...
Always, Dwight
www.3forliving.key.to (video playlist on YouTube)
www.couragebooks.key.to (all my books on Amazon)
On 8/9/15, 12:44 PM, "Chris Angelico" wrote:
>On Sun, Aug 9, 2015 at 2:08 PM, Dwi
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
Dja
ideo playlist on YouTube)
> www.couragebooks.key.to (all my books on Amazon)
> On 8/4/15, 9:24 AM, "Steven D'Aprano" wrote:
>> >On Tue, 4 Aug 2015 09:57 am, Dwight GoldWinde wrote:
>> >
>>> >> I am trying to import a function defined in another
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
HD/Users/dwightgoldwin
On 8/3/15, 4:55 PM, "Dwight GoldWinde" 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
ipity
Traceback (most recent call last):
File "test short.py", line 3, in
word = input('Enter a word ')
File "", line 1, in
NameError: name 'serendipity' is not defined
On 8/2/15, 12:30 AM, "Emile van Sebille" wrote:
>On 7/30/201
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 serendi
17 matches
Mail list logo