904 Posted Topics

Member Avatar for katamole
Member Avatar for katamole
0
406
Member Avatar for daviddoria

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.

Member Avatar for leegeorg07
0
136
Member Avatar for rajasekhar1242

[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 …

Member Avatar for woooee
0
221
Member Avatar for jworld2

I simply include my images as base64 ecoded image strings right in the code.

Member Avatar for jworld2
0
133
Member Avatar for Dave Sinkula
Member Avatar for jephthah
0
666
Member Avatar for tondeuse34

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.

Member Avatar for adam1122
0
67
Member Avatar for Blujacker

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?

Member Avatar for lllllIllIlllI
0
1K
Member Avatar for GrimJack

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.

Member Avatar for GrimJack
0
1K
Member Avatar for nitinloml

It would be nice, if you could give us an actual example, so we don't have to guess too wildly!

Member Avatar for woooee
0
203
Member Avatar for Micko

Super job Micko! Why don't you post it right here, or better even in the Python snippetts.

Member Avatar for hunkaboy2003
0
4K
Member Avatar for sneekula

[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 …

Member Avatar for GrimJack
0
369
Member Avatar for allena
Member Avatar for TimothyKhoo

[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?

Member Avatar for TimothyKhoo
-1
138
Member Avatar for Lardmeister

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.

Member Avatar for jbennet
0
3K
Member Avatar for The Dude

[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 …

Member Avatar for Dave Sinkula
0
973
Member Avatar for The Dude
Member Avatar for The Dude

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.

Member Avatar for hughv
0
277
Member Avatar for The Dude

Your Quiz Results You Scored: 40% No wonder I got this A+ in basic school English.

Member Avatar for Obeledeveloper
0
139
Member Avatar for steven woodman

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.

Member Avatar for sneekula
0
2K
Member Avatar for sneekula

"Military action (in Iraq) will not last more than a week." -- Bill O'Reilly (Fox News), January 23, 2003

Member Avatar for Ene Uran
1
498
Member Avatar for sneekula

Sheila Graham talking about Ronald Reagan: "The youthful sparkle in his eyes is caused by his contact lenses, which he keeps highly polished."

Member Avatar for Ene Uran
0
1K
Member Avatar for sneekula

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, …

Member Avatar for lllllIllIlllI
0
332
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for sneekula
0
151
Member Avatar for The Dude
Member Avatar for The Dude

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?

Member Avatar for GrimJack
0
134
Member Avatar for ZZucker
Member Avatar for The Dude
Member Avatar for platinum8
Member Avatar for itdupuis

They just don't make electricians anymore like they used to! Would be interesting if you could make black holes that easily.

Member Avatar for itdupuis
0
487
Member Avatar for Serunson

[QUOTE=Serunson;711532]How nice of you :P This is now my home :)[/QUOTE]Mine too!

Member Avatar for jbennet
0
203
Member Avatar for kattastic
Member Avatar for ZZucker
0
160
Member Avatar for dinilkarun

This perhaps shows how you can do this: [url]http://www.daniweb.com/forums/showpost.php?p=714874&postcount=100[/url]

Member Avatar for dinilkarun
0
146
Member Avatar for Dave Sinkula
Member Avatar for The Dude

[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?

Member Avatar for R0bb0b
0
93
Member Avatar for kanwal_diku
Member Avatar for robynbrock84

[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!

Member Avatar for Ezzaral
0
69
Member Avatar for The Dude
Member Avatar for platinum8
0
138
Member Avatar for peter1121

Your Python installation usually includes the Tkinter GUI toolkit. Tkinter can do the things you want to do.

Member Avatar for Ene Uran
0
206
Member Avatar for Lardmeister

[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 …

Member Avatar for sneekula
0
366
Member Avatar for sneekula

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!

Member Avatar for Ene Uran
0
249
Member Avatar for bumsfeld

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.

Member Avatar for GrimJack
3
200
Member Avatar for GrimJack

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.

Member Avatar for sneekula
0
254
Member Avatar for Clipper34

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 …

Member Avatar for Stefano Mtangoo
0
103
Member Avatar for iamgame

[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 …

Member Avatar for iamgame
0
762
Member Avatar for christina>you

[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 …

Member Avatar for GrimJack
0
2K
Member Avatar for niks1234
Member Avatar for predator78

Something like this will do: [code=python]for line in wordlistfile: wordlist.append(line.strip()) [/code]

Member Avatar for predator78
0
164
Member Avatar for TheNational22

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 …

Member Avatar for sneekula
0
84

The End.