
Function for Word count of a file in Python(Django)
- or -
Post a project like this2702
$
- Posted:
- Proposals: 1
- Remote
- #1780945
- Awarded
Description
Experience Level: Entry
General information for the website: none
Description of requirements/features: Hello,
What i want is a word count for an external file for my django project. The file is stored on a path so I guess what you have to do is to read that file and then count the words. In my template i have 'Word count: {{word_count}}' so it has to pass word_count from the views.
The problem is that the url is generated in javascript like so:
doc_url = 'http://'+data.fr+'.rackcdn.com/'+data.dn+'.docx'
Description of requirements/features: Hello,
What i want is a word count for an external file for my django project. The file is stored on a path so I guess what you have to do is to read that file and then count the words. In my template i have 'Word count: {{word_count}}' so it has to pass word_count from the views.
The problem is that the url is generated in javascript like so:
doc_url = 'http://'+data.fr+'.rackcdn.com/'+data.dn+'.docx'

Alex C.
100% (11)Projects Completed
12
Freelancers worked with
12
Projects awarded
50%
Last project
23 Aug 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies