904 Posted Topics
Re: Wow vidaj, real classy and generic example of Python class! Thank you! | |
Re: Pick your project and use C++ to write your code. There will be the time that is rather obvious when you want to switch to Python. ![]() | |
Re: [QUOTE=rajasekhar1242;848515]Hi everyone, I am trying to get PDF file output from the python program to give a print. is there any solution? please give me a valuable reply...[/QUOTE]If I read this right, you want to create one PDF file for printing your Python program results (text, drawings, images). In this … | |
Re: I simply include my images as base64 ecoded image strings right in the code. | |
Re: Why do Conservatives think that being a Muslim or Arab is so bad? | |
Re: Python version 3.0 has modernized the language and much of the old code examples will not work. You can use a little utility program called 2to3.py to change old syntax to new syntax. | |
Re: I tried it on my Windows XP and it works as Vega says. What operating system you have? The control uses different audio drivers for each OS. Does it play sound at all? | |
Re: Pope Benedict told a gathering of scientists including the British cosmologist Stephen Hawking on Friday that there was no contradiction between believing in God and empirical science. | |
Re: It would be nice, if you could give us an actual example, so we don't have to guess too wildly! | |
Re: Super job Micko! Why don't you post it right here, or better even in the Python snippetts. | |
Re: [QUOTE=sneekula;710991]Blaming a bunch of bad mortgage loans at US institutions Fannie Mae and Freddie Mac for the whole worldwide financial crisis is rather simple-minded. The main cause are loans made between investment banks all over the world, in most cases totally unregulated by any of the governments involved.[/QUOTE]Now that makes … | |
Re: [QUOTE=ZZucker;696044]The US government is sending you 1 Billion Dollars, the check is in the mail. :)[/QUOTE]How do you apply for this? | |
Re: The June 11 NBC News/Wall Street Journal poll: Obama leads McCain among registered voters, 47 to 41 percent. That proves that McCain is not just another Bush, otherwise he should be around 28 percent. | |
Re: [QUOTE=Sturm;388280]Who exactly are you talking about? My dad is a "real" scientist. He believes in global warming. My friends dad works at NOAA as a programmer/scientist and he believes in global warming, So who exactly are these scientists that do not believe in global warming? Regardless, the video advocates the … | |
Re: Most 'toy guns' that children shoot are in their video games. Much more realistic since much blood, brain matter, bones and guts are visually spilled. Even some nations' military are training their soldiers on video games now. | |
Re: Your Quiz Results You Scored: 40% No wonder I got this A+ in basic school English. | |
Re: 1 g of hydrogen fused to helium will give you 174,000 kilowatt-hours of energy. Let's assume average house consumes 30 kilowatt-hours/day. | |
Re: "Military action (in Iraq) will not last more than a week." -- Bill O'Reilly (Fox News), January 23, 2003 | |
Re: Sheila Graham talking about Ronald Reagan: "The youthful sparkle in his eyes is caused by his contact lenses, which he keeps highly polished." | |
Re: One company manages France's 59 nuclear power plants. These plants produce 88% of France's electrical power. The design is optimized for safety and standardized mostly around 3 sizes of pressurized water reactors. We have the lowest electricity cost in Europe. Strangely enough France exports large amounts of electricty to Germany, … | |
Re: Maybe toilet paper and shaving cream have gotten too expensive? | |
Re: The NSA is already keeping close tap on anything going on on the internet. They have to, it is their job and keeps us safe. Why get upset about something that is already happening in secrecy? | |
Re: I really think this sort of gossip does not belong here! | |
Re: They just don't make electricians anymore like they used to! Would be interesting if you could make black holes that easily. | |
Re: [QUOTE=Serunson;711532]How nice of you :P This is now my home :)[/QUOTE]Mine too! | |
Re: This perhaps shows how you can do this: [url]http://www.daniweb.com/forums/showpost.php?p=714874&postcount=100[/url] | |
Re: [QUOTE=Ene Uran;709766]Sounds like a great idea to me! The cabbies here in LA are maniacs, well they have to be![/QUOTE]Do they speak English? | |
Re: [QUOTE=Ezzaral;713366]Still spamming the Tori thing around, eh Robyn? ( [url]http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=%22Robyn+Fontana%22[/url] )[/QUOTE]So it's all spam? Let's boot this character out of here! | |
Re: Your Python installation usually includes the Tkinter GUI toolkit. Tkinter can do the things you want to do. | |
Re: [QUOTE=R0bb0b;695642]I'm rich. I have more than most people. I've got a wonderful family made up of the three cutest kids I've ever seen and a wife that just adores me. My family is very healthy, I have a career and a job to fill that career, health insurance for my … | |
Re: Colorado and Hawaii are the only two states in the United States where all the water flows out of the state. Love that Coors stuff! | |
Out of the corner of my tearful eye I noticed that I made my post #1000! I am elated, exhilarated, jubilant, overjoyed, ecstatic and happy! Time to get that 12 year old wine out of the cellar. | |
Re: Sarah clearly won the ALSO debate. Biden was factual and boring, she was also sparkling fresh, and as also folksy as also Bush used to be. | |
Re: Here is simple example using Tkinter GUI toolkit that is usually included with Python: [code=python]# using geometry manager place() for absolute layouts import Tkinter as tk def connect(): "make your connection" # your connection code here # ... root.title("Connected!") # test # the root window root = tk.Tk() # command … | |
Re: [QUOTE=iamgame;696197]Seems to me like a nice technique. It is steganography, right?[/QUOTE]As far as I understand, steganography would be to change each byte of image file just one small amount, so the picture essentially looks the same. Comparing it with the original picture would reveal the secret message hidden in the … | |
Re: [QUOTE=lasher511;426332]How do they know that they are actually devoid of any matter without acttually going there? I mean sure maybe no visible matter but that doesn't mean that there is no matter.[/QUOTE]I read that it's the lack of gravitational pull. It could however be, that the never before observed phenomenon … | |
Re: No mindreaders here, so let us know what data stream looks like. | |
Re: Something like this will do: [code=python]for line in wordlistfile: wordlist.append(line.strip()) [/code] | |
Re: You are right, there are many ways. [code=python]''' let's assume your data file "7to4.txt" would look like this: 1,10002,0,11:18,11:18,0,1,444,1 4,1.5 5,1.5 6,0,444,444,10002 7,0,1.5 1,10003,0,11:34,11:34,0,1,444,1 4,1.5 5,1.5 6,0,444,444,10003 7,0,1.5 1,10004,0,11:39,11:39,0,1,444,1 4,7.25 5,7.25 6,0,444,444,10004 7,0,7.25 ''' new_string = "" # each line is string so you can use string functions for line … |
The End.