98 Discussion / Question Topics
Remove Filter In the last couple of threads people have used the Python class, but really don't seem to know how to use them properly, or why to use them. Hence my question: "Why would you use a class in Python?" I though only Java forces you to use OOP. | |
I got infected right after a Java and Adobe update on my Windows7 machine. folder \jnihmpibahpjjmcodbopcpdaelkbpjnc is most likely a random generated folder. Note on malware **PriceLess** (pops up as Chrome extension, highlights strings for ads): PriceLess is in folders: C:\Users\HomeGroupUser$\AppData\Local\Chromatic Browser\User Data\Default\Extensions\jnihmpibahpjjmcodbopcpdaelkbpjnc\5.2 C:\Users\HomeGroupUser$\AppData\Local\Comodo\Dragon\User Data\Default\Extensions\jnihmpibahpjjmcodbopcpdaelkbpjnc\5.2 C:\Users\HomeGroupUser$\AppData\Local\Google\Chrome\User Data\Default\Extensions\jnihmpibahpjjmcodbopcpdaelkbpjnc\5.2 C:\Users\HomeGroupUser$\AppData\Local\Google\Chrome SxS\User Data\Default\Extensions\jnihmpibahpjjmcodbopcpdaelkbpjnc\5.2 … | |
I have a Toshiba Satellite notebook with Windows7 OS. How would I go about it to replace Windows7 with Kubuntu? | |
On Windows7 I am trying to read file C:\programdata\microsoft\application virtualization client\SoftGrid Client\sftfs.fsd using a Python program, but I get a PermissionError. How do I get permission? Why does folder programdata not show in the Microsoft file manager/explorer? | |
On my Raspberry Pi computer I did a search for PIL and matplotlib with apt-cache search python but could not find anything close in the list. Is PIL/Pillow and matplotlib available for Linux and what is it called? The Raspberry Pi has Python27 and Python32 installed. | |
I have a tkinter program like the one below (for example) and want to create an executable file using module cx_freeze. I am using Python33 and Windows7. # Tk_circle2.py # draw a circle with given center (x,y) and radius # tkinter normally needs a specified square try: # Python2 import … | |
There used to be a Python module called pyglet that allowed graphics and sound. I can't find it anywhere. | |
I would like to break up a list into sublists of 3 elements each. I have this code, but it will give an index error when the length of the list is not divisible by 3. mylist = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] … | |
I asked that in another thread, but it got lost: [QUOTE]When do you use root.quit() and when do you use root.destroy() to exit a Tkinter program?[/QUOTE] Also, can you intercept an exit when you use the little x in the title bar, just to affirm that you really want to … | |
Just wondered which computer language is best suited for preteen students. Any ideas or experiences? | |
I need a function that returns True or False if an integer n is a prime. Any 'high speed' thoughts? | |
... this is your favorite pickup line: "Hey sweets, does this rag smell like chloroform? " | |
Is there a way to read Adobe PDF files with Python? | |
I need to read in a text file, replace selected words and write the changed text back out to a file. Is there an easy way with Python? | |
It's time again to poll the well educated folks at DaniWeb about the possible cause of the end of humanity on earth. | |
Is there a reliable way to 'pluralize' english words with Python? | |
In the Netherlands many schools have adopted graves of Allied servicemen killed in action during WW2, keeping those graves in excellent condition. | |
I have a text I want to search for all it's upper case letters, then present these letters unique and sorted. I welcome any suggestions. | |
How would you make a simple bar graph from a list of data? [code]data = [20, 15, 10, 7, 5, 4, 3, 2, 1, 1, 0] [/code] | |
Which Computer Language would you like to know more about, or even start to learn? | |
I was trying to create a 3x3 list of lists, and came up with this surprising behaviour: [code]# creating a 2D list with an overloaded * operator mlist3 = [[0]*3]*3 print mlist3 # [[0, 0, 0], [0, 0, 0], [0, 0, 0]] mlist3[0][0] = 1 print mlist3 # [[1, 0, … | |
A mother and son were walking through a cemetery, and passed by a headstone inscribed "Here lies a good lawyer and an honest man." The little boy read the headstone, looked up at his mother, and asked "Mommy, why did they bury two men there?" | |
I am still rather new to the Linux OS and need some detailed advice on the installation of Python3.1 on my Ubuntu machine. Python3.1 is not in the Ubuntu package repository yet. | |
Does anyone know a good internet site where I can 'park' my Python code? Easy download, upload, and search. | |
Ever since I got my Ubuntu notebook computer, I can't fail to notice how fast it starts up (and shuts down) compared to my Windows Vista notebook. Other than the system itself, the virus program seems to take more and more time as it checks for seemingly millions of possible … | |
I have an HP DV9000 notebook with Vista, and created a Knoppix 6.1 live Linux Flashcard. I can boot it up and select Linux, but the 'wirless' switch will not activate, even so physically it is in the on position. It almost looks like there is a software( HP Wireless … | |
I just bought an inexpensive used Dell notebook that has Ubuntu/Linux as an operating system. Compared to Vista this is sweet. It came with Python25 installed, but it was easy to use the Add/Remove application feature to get open source software from the Ubuntu site. I downloaded/installed Stani's Python Editor … | |
Every now and then Vista comes up with a "Program Compatability Assistant" popup window (see image) when you want to run a .exe file. If you make the mistake, like I did, and agree with the Administrator option, then from hence foreward everytime you want to run this particular executable … | |
What do you think about bailing out the top slime at the banks, so they can carry home their million dollar bonuses at taxpayer's expense? | |
In the US unemployment numbers are blatantly underestimated. The governmant just released a sugarcoated number (U-3) of 8.5%, being months behind, leaving out many folks. A more honest number (U-6) at least considers the folks who have been unemployed long enough to drop out of official unemployment support, this number … | |
(牛 Ox 丑 Chou) should start on January 26, 2009 Not completely sure. | |
Since anyone of us main street beings knows more about the real economy than 400 Wall Street kissing economy professors combined, here is a look how to present the state of the economy: [url]http://www.thedailyshow.com/video/index.jhtml?videoId=186052&title=clusterf#@k-to-the-poor-house[/url] | |
Just an accumulation of foolish things said by important folks on the merits of war. I am quoting the Iraq war here, but it can be contributions to any war. [QUOTE]There is a lot of money to pay for the Iraq war that doesn't have to be US taxpayer money, … | |
Everybody tells me that Republicans don't have a sense of humor. If you are a Republican, here is your chance to disprove this offending assumption. I am a Republican, and I can't think of anything related to humor, but I am working on it. | |
Well, we have a thread on North American Thoughts, but DaniWeb is an international community. So I put up this thread to ask for the thoughts, any thoughts, from our international friends. Any thoughts about their country's leadership, politics, economy, education, beauty, worries, weather ..... We are all curious to … | |
These are all innocent clean web sites, but their URLs make you wonder: [url]http://www.whorepresents.com/[/url] [url]http://www.expertsexchange.com/[/url] [url]http://www.penisland.net/[/url] [url]http://www.therapistfinder.com/[/url] [url]http://www.molestationnursery.com/[/url] Know any more, post them here! | |
Take the test at: [url]http://www.blogthings.com/howrepublicanareyouquiz/[/url] | |
This thread includes thoughts from and about our Canadian friends too. US Elections: Too much Pluribus, not enough Unum. | |
Yup, here are the hypocrites! [url]http://www.youtube.com/watch?v=wQK1al91drs[/url] | |
What's the preferred way to pass a string to and from a function? | |
Hallelujah! I made it past the first 1000 posts! This calls for a celebration this evening. | |
What are the most annoying things people around you do? One of my pet peeves: Some "know it all" old timer treats you like a little kid, just because you are young and he/she is not too bright. | |
Transportation uses a lot of energy, so when you talk about alternate energy then alternate transportation becomes an important issue. What forms of transportation would you consider in your situation to minimize energy consumption? Would it be a petrol saving minicar? Just in the news, Tata, an Indian carmaker just … | |
Let the rest of us know what your dreams are about. One of my reoccuring dreams is a trip to somewhere important, but I get stopped by a flooded river. The water is fast flowing but absolutely clear, so I can see the depth of the flood waters. In the … | |
| |
I have a dictionary of chemical symbols and names, to look up the symbol and get the name is easy, but to find the symbol of a given chemical name seems to be more akward. Am I missing something here? [code=python]# small dictionary of chemical symbols symbol_dic = { 'C': … | |
A bromide is a platitude that is especially banal, something like: Let's leave no stone unturned. Be as busy as a bee! This is the only candidate that represents Family Values. I am sure you'll give 110% in your effort! We need to think outside the box. (from post that … | |
In the US most TV programs are supported by advertisements commonly called ads. If you don't want to fork over hard earned money for paid TV, you simply learn to live with those ads. At times they are better then the program anyway. Later in the Chistmas season, after most … | |
I want to make a small Molecular Weight calculator. If the user for instance enters the molecular formula for dichloro-benzoic acid as "C6H3Cl2COOH", I would like to split it into a list like ['C6', 'H3', 'Cl2', 'C', 'O', 'O', 'H'] so I can then combine all the carbons, chlorines, oxygens … | |
Do you consider yourself skinny, normal or fat? Let's be as honest as possible. |
The End.