904 Posted Topics
I want to creat file with each line having date + time + data so I can append more data as need be and know when it was added. What date+time function would be best? | |
Re: I have played around with SDL that can do both sounds files and graphics things. It is used by gamers a lot and is free for DevC++. Much information availabel. | |
I have run the slider demo that come with wxPython docs. It is rather stupid, as it puts slider on a panel using many unexplained numbers, never tells how to get position of slider or what to do next if the slider is moved. I am much lost, does anyone … | |
Re: Nice code, I will have to remember that! | |
Re: Looking at the last three digit only, guess would be number2 is random. Fuzzy Logic? | |
I can not figure out the order of dictionary keys, they seemed not to be sorted. Any insight? | |
Okay I have copy and pasted the code from the tutorial on the jpg image [url]http://daniweb.com/techtalkforums/thread33791.html[/url] onto my IDE editor. This time no problem with indents! Now I need to know how to instal required wxPython. I have Windows XP, also Python 2.4. Where do I best get free wxPython … | |
Re: If you know Windows/DOS batch language you can create and save batch file from within Python program, than run it with os.system("mybatfile.bat") | |
Re: I know VegaSeat has put some wxPython code examples in the snippet part of this forums. Like: [url]http://daniweb.com/code/snippet227.html[/url] | |
I have read the tutorial about Python and JPEG here, but there si no mention about showing the actual picture! | |
Is there a good way to invert dictionary so key:value gets to be value:key? | |
Re: **rambling** man python is great. you can do such nice stuff with next to no code, or programming experience. --- and it is so easy to experiment with the codes! | |
Re: You need to give somewhat more info, like operating system? What have you actually tried? Are your looking for IDLE file that starts the editor? | |
Is there a ways to merge two similar dictionaries, and what happens if the key words clash? | |
| |
Re: I have use the space/tab feature too, but don't always know how many spaces each tab is. | |
Re: I understand that PyGame is simply a wrapper for SDL. That creates a problem, Python has a good memory manager, but SDL written in C++ has the usual memory management is up to you thing. THESE TWO WORLDS LIKE TO CLASH AND CRASH! | |
Re: You may want to use shutil.copy(sourcefile, destinationfile), it gives copy the current date, shutil.copy2(sourcefile, destinationfile) gives the date of the file you copy. | |
Does Python have something like peek(memory) and poke(memory) of other languages that read and write to memory addresses directly? | |
Re: This is pretty complex programming. You are leaving me in awe! Where do you get the idea in first place? | |
Re: I looked at you updated project2.py. Looks like you mixed space and tabs, got that fixed. Random is imported but never used. Don't you need line to start program? What is range of steps, 1000 to 5000? | |
What are the ways to find substring in string in Python? Which way is most effiecient? | |
What is the best way to sort a list of words with the case insensitive? | |
Re: Don't forget to multiply your centimeters by 0.033 to get the height in feets! | |
I hear a lot about PyGame for writing games and that I understand is SDL in a Python coat. Is DirectX used in a similar fashon? Any examples? | |
Is const void* p the same as a null pointer? Why would i use it? | |
I need to write about a half one page instruction string for one of my C++ programs. How do I do this best, so I can read it in the code and easly update it later. I have tried concatinating, but that makes corrections tough on the wrapping edge. | |
Re: Is it wastefull to throw in an extra header file that may not be needed. Does it add much to the size of the final file, or does the compiler catch it? | |
I am just starting to look at writing class in Python. Can a class that I write inherit Python calendar? | |
Does anyone have a meaningfull example of the use of the Profiler included in Python? | |
I know that lambda is some kind of function in Python. What does it do? Why would one use it? | |
I hope the spelling isn't too far off, but what is list comprehension statement and why would one use it? | |
Re: Check this site: [url]http://www.columbia.edu/kermit/ck80.html[/url] and go to C-Kermit site. | |
Is there a way one can interrupt the sleep() function with a key press in Python? | |
Re: I don't think Python is better than C++, but you can do thinks at a higher level with it. | |
Python is relatively new to me. I have mostly programmed in C and C++. I read that Python has a good build-in debugger, but I can not understand the information in the reference manual. Can anybody please give an actual commented example how this works. | |
I have read vegaseat's "Projects for the Beginner" sticky and got really interrested in the eqaution solver for physics or mathematics problem. I just need a little Python hint how to get this started. | |
I know Python has adopted Java's decorator, but I can not make much sense from the reference manual example. It would be nice if soemone could give a good example of the implimentation of a Python function decorator. | |
Re: Vegaseat, Micko gave the correct answer to CutCrusader's question. Your answer with the zero x in front does not. | |
Re: [QUOTE=Ancient Dragon][URL=http://www.google.com/search?hl=en&q=how+to+send+email+with+c%2B%2B&btnG=Google+Search]Here[/URL] is a good one that is generic to any MS-Windows 32-bit compiler.[/QUOTE] How to send email in Visual C++ ? What are you drinking? | |
Re: Wouldn't it be safer to use fgets() rather then scanf()? | |
Re: I thinks IDLE uses Tkinter (TCL) and that is more internationally than PyWin's wxPython based code. If you want portability of your code on the internet, don't use these special characters. I have the same problem with other non-english characters too. | |
Re: Can you display that file on an editor? Are you sure you don't have a binary file? In that case use 'rb' Using the python shell makes things look messy. | |
Re: What is a " supposed to mean? Are you sure you are using PHP? | |
Re: I am still mostly using C. I know this probably a little bit old fashioned. I am following Python conversation closely too, looks like a interesting language to me. Does not have many many { and } and ; | |
Can I wrote an object to files and later on retrieves it with its integrety intact? Is there a ready made function or do I have to write one? I am new to Java, is this what one calls serialization? | |
Re: I am lost. Do you want to use a dictionary or a list? What does PHP have to do with it? | |
Re: There are more threads here then there are Delphi books in my book store. |
The End.