34 Discussion / Question Topics
Remove Filter Does anybody have experience with Python on the iPad? Is it easy to get and use Python? | |
This is my first experience with Python's Tkinter GUI. I want to write a program where the result of an interim calculation is displayed on a label. Later in the program I want to use this result in another calculation by simply clicking on the label. This is what I … | |
I kind of like this little poem: [QUOTE][COLOR="DarkGreen"]The Spell Checker Poem ... Eye halve a spelling chequer It came with my pea sea It plainly marques four my revue Miss steaks eye kin knot sea. Eye strike a key and type a word And weight four it two say Weather … | |
| |
I have two similar lists and want to create a new list with just the differences between the two. Is there an existing function or do I have to iterate with a for loop? | |
Just in the news: North Korea's military is behind a series of cyber attacks against South Korean and U.S. websites that slowed or disabled access by saturating them with traffic this week, a South Korean news report said on Saturday. | |
I am looking for a good example of the tarfile module, writing to and reading from an archive. Particularly the highly compressed filename.tar.bz2 format. | |
For the second year running Python has been selected as the Language of the Year by Linux users: [code] Linux Users' Programming Languages of the Year 2008 PHP 115 13.36% Perl 72 8.36% Python 226 26.25% Ruby 46 5.34% C 114 13.24% C++ 129 14.98% Java 106 12.31% Lisp 9 … | |
Since so many folks are going around and wishing you a 'Happy New Year', I wonder what would make you happy. Getting an interesting higher paying job would make me happy. | |
Only for experts: [url]http://www.funnyjunk.com/movies/1498/Kissing+Prank/[/url] | |
Just got a PM on DaniWeb with this sender: From Miss Patricia Dick Abidjan,Cote D'Ivoire The rest is a typical Nigerian financial scam! Did anybody else get this? The user name was blessing12 | |
Just noticed that I passed the ever so sweet 1000 postings mark! Isn't DaniWeb great! | |
What Windows Vista program runs the Compiled HTML Help Files (.chm)? Under properties only a meaningless descriptor shows up. | |
I find those new popup ads from HSBC on DaniWeb very annoying and would in no way become a customer of HSBC. What are these folks thinking? | |
I was told this forum was global, but I will ask the question anyway. This Sunday is Superbowl Sunday, when at least in the USA and countries that have US Military bases millions of sports watchers will be glued to the TV to watch the final glorious football game of … | |
A small thread to honor those with creative or simply nice avatars. I like Sulley's Boo avatar | |
Illustrates the close relationship of the hard-software industry to April first: [CODE=c]#include <nonsense.h> #include <lies.h> #include <spyware.h> /* Microsoft Network Connectivity library */ #include <process.h> /* For the court of law */ #define say(x) lie(x) #define computeruser ALL_WANT_TO_BUY_OUR_BUGWARE #define soon next_year #define the_product_is_ready_to_ship another_beta_version void main() { if (latest_window_version>one_month_old) { … | |
I don't know how it is in your country, but in the good old USA election time is coming up. I will go to the voting place and look at the slate of sh*t, and whomever I vote for will be, you guess what. Any idea how to change things … | |
What is a closure? I keep reading this word in programming, but never got a good explanation. | |
Does anyone have a good example of a wx.FlexGridSizer() application. | |
Is there a way to verify an exit, if you click on the exit symbol on a wxPython frame? | |
Does Python have a module to display when a file has been last modified? Also, how do you get the file length? | |
Is there a way to do math with hexadecimal numbers in Python? | |
I read somewhere that you should avoid using a leading underline in a variable name. It is supposed to have a special meaning in Python. I can't find anything more detailed. Does anybody know? | |
Does Python have a static variable like C has? I like to avoid a global variable for the usual reasons. Note: A static variable in a C function will retain its last value. | |
How do you loop through an entire year showing each day's date? | |
What is the best way to establish a wxPython event handler for a mouse click, button and so on? I have looked at a number of sample codes and the event handlers differ all over the place. | |
I am fairly familiar with C, but new to Python. Does Python have something like the handy C conditional expression? For example: [code]// C conditional expression x = a ? b : c; // if a is true then x = b else x = c // here used to … | |
What is the order of the code snippets, they used to be in alphabetical order by title. Now I can't even figure it out, and it is very hard to find anything. | |
Python uses the directories listed in PYTHONPATH to find a module. How can I assure that the module I am importing is on this list of paths? | |
I keep hearing that the eval() function is unsafe. It is a nice function, because you can use it like print eval("2.5*49.7/(23+3.14)") and it will solve the math. Is there any way to protect against some nasty minded person to enter a "os.system(command)" where the command will erase a file … | |
I have the following code, for example: [CODE]price = 50.00 tax = price * 0.08 print "Tax = $",tax # Tax = $ 4.0[/CODE] As you can see there is a space between $ and 4.0. Is there a way to avoid this? I haven't done much Python coding. | |
Couldn't sleep last night, so I was browsing and found the "Starting Python" thingy. I must say Python looks interesting from the examples. I learned C++ in school, Python sure looks easier to understand. Does any one think it's better than C++? | |
Does anybody know if there is a good C++ code library that can process MIDI music files? |
The End.