No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
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 | |
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 … | |
Re:
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] … | |
Re:
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 … | |
Re:
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 … | |
Re:
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 … | |
Re:
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 … | |
Re:
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 … |