Forum: Python May 20th, 2008 |
| Replies: 8 Views: 753 it does not I work with arabic charactar files like (حالد جاء الى البيت(
give me garpeg output like
['\xd8\xa3\xd8\xae\xd8\xa8\xd8\xa7\xd8\xb1 \xd8\xb3\xd9\x8a\xd8\xa7\xd8\xb3\xd9\x8a\xd8\xa9... |
Forum: Python May 18th, 2008 |
| Replies: 8 Views: 753 Mr.Shadow14
it just print first two word
when I make loop give same error
print word_list[i], word_list[i+1]
IndexError: list index out of range
by your way How can I get frequancy for... |
Forum: Python May 18th, 2008 |
| Replies: 8 Views: 753 It give me error when I wont to integrate with my code
I modify your code but still give me error
What I wont is
How can I get every Token (word) and PreviousToken(Previous word) From multube... |
Forum: Python May 17th, 2008 |
| Replies: 8 Views: 753 How can I get every Token (word) and PreviousToken(Previous word) From text file
For example if the text file content is
"Every man has a price. Every woman has a price."
First Token(word) is... |
Forum: Python May 17th, 2008 |
| Replies: 3 Views: 781 ok but how can I retrieve every two word in sequence from file
as you mintin?
how can I ma every two words as my index? |
Forum: Python May 16th, 2008 |
| Replies: 3 Views: 781 I write code to get most frequent words in the file
I won't to implement bigram probability by modifying the code to do the following:
How can I get every Token (word) and ... |
Forum: Python Mar 21st, 2008 |
| Replies: 1 Views: 1,159 when I wont to inser (anyting I print) to the textbox it will not inser
it just print then hanging
# a look at the Tkinter Text widget
# use ctrl+c to copy, ctrl+x to cut selected text,
#... |
Forum: Python Mar 21st, 2008 |
| Replies: 1 Views: 1,283 I fix the error now
but
it will not insert to the textbox
it just print then hanging
# a look at the Tkinter Text widget
# use ctrl+c to copy, ctrl+x to cut selected text,
# ctrl+v to... |
Forum: Python Mar 20th, 2008 |
| Replies: 1 Views: 1,283 I integrat program to be GUI using Tkinter I try browser direction
as you can see
# a look at the Tkinter Text widget
# use ctrl+c to copy, ctrl+x to cut selected text,
# ctrl+v to... |
Forum: Python Mar 20th, 2008 |
| Replies: 1 Views: 2,249 How to brows and select a directory of file by using python TKinter
like brows to find attachment in emal
any help |
Forum: Python Mar 18th, 2008 |
| Replies: 1 Views: 890 how to ingrate my code to read text in in parent folder contain sub folders and files for example folder name is cars and sub file is Toyota,Honda and BMW and Toyota contain file name Camry and file... |
Forum: Python Mar 17th, 2008 |
| Replies: 1 Views: 734 Is python provide search in parent folder contain subfolders and files
for example folder name is cars and subfile is Toyota,Honda and BMW and Toyota contain file name camry and file name corola,... |
Forum: Python Mar 16th, 2008 |
| Replies: 5 Views: 1,047 this is modify code
# a look at the Tkinter Text widget
# use ctrl+c to copy, ctrl+x to cut selected text,
# ctrl+v to paste, and ctrl+/ to select all
import Tkinter as tk |
Forum: Python Mar 16th, 2008 |
| Replies: 5 Views: 1,047 your reply was so helpful
but how can I make an integer from the user's input (select)?
Is python provide search in directory file contain subfile and folder
for example file name is cars and... |
Forum: Python Mar 15th, 2008 |
| Replies: 5 Views: 1,047 thank you very much it was very helpfull
but is there way to control number of word to be enter by user
like rather than most 10 frequancy word he can enter 11 , 50 or 44 most frequancy word ..etc... |
Forum: Python Mar 14th, 2008 |
| Replies: 5 Views: 1,047 I wont to find most 10 frequency word of specific file for that I have written this code
import sys
import string
import re
file = open ( "corpora.txt", "r" )
text = file.read ( )... |