Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for atsuko

Hi there, I am new to python. Can somebody tell me how can I count a given word from a file. I found lots of solution for counting all the words in a file, but not for some particular ones. Thanks in advance

Member Avatar for TrustyTony
0
704
Member Avatar for Dunganb

Hey everyone, This is a problem I have been having with my keyboard. Whenever I attempt to press up arrow + left arrow + button, the third button does not work. The keyboard I am using is the standard HID keyboard that comes with a Dell computer and all of …

Member Avatar for Dunganb
0
41
Member Avatar for SoulMazer

I started programming in Python as a hobby a few weeks ago, and I have run into a little problem. I am currently making a script to give me a sort of Vocabulary Test. It is kind of hard to explain so I will just show you the code. [code=python] …

Member Avatar for Dunganb
0
2K
Member Avatar for asciiman

Hi all, [code] class: FileCheck(object): def checkFiles(install_vers=None, uninstall_vers=None): if uninstall_vers != None or install_vers != None: if uninstall_vers != None: for ver in uninstall_vers: print "checking %s" % ver if install_vers != None: for ver in install_vers: pass print "done" if __name__ == "__main__": check = FileCheck() check.checkFiles(uninstall_vers=["1.0","1.3"]) [/code] I'm …

Member Avatar for asciiman
0
2K
Member Avatar for inkcoder

Hello Everyone! I am new to Python, this is my second project. I am trying to make a program that will take a users input and then output the words into the format where A = 1, B = 2, C =3 ... and so on. I want to start …

Member Avatar for a1eio
0
136
Member Avatar for bikehike90

I am relatively new to python. I am calling a a function from another script (imported) from the python shell. However, when I call a variable created in that function (after calling it) the variable hasn't been defined. I thought it was a global issue so I made the variable …

Member Avatar for bikehike90
0
89
Member Avatar for kittensaretasty

I'm a complete beginner. I know how to get things to print to the screen, with the print command. But I want to be able to input a string of text and have that text returned in all caps. Do I do this with an argument to the print command …

Member Avatar for Fuse
0
91
Member Avatar for pukebag

Hi there, I have a mixed list containing strings, integers, strings with numbers both prefix and suffix and mixed case strings as follow: mixedlist = ["cake", 12, "cakecar", "cAKe", "orange", "apple", "1cake", "cake1"] I'm trying to filter the list for any element containing "cake" so I get a new list …

Member Avatar for vegaseat
0
144