- Strength to Increase Rep
- +13
- Strength to Decrease Rep
- -3
- Upvotes Received
- 144
- Posts with Upvotes
- 110
- Upvoting Members
- 70
- Downvotes Received
- 93
- Posts with Downvotes
- 64
- Downvoting Members
- 31
None
- Interests
- Writing, Programming (Python, C) Music
939 Posted Topics
Re: :P South America is the hottest continent in the western hemisphere | |
Re: simple problem (you're gunna kick yourself) in self.reveal, you don't convert guess to an integer (it's still a string, because textbox input are always strings be default). So when you do the incrementation, it concatenates instead, and when it checks if it's greater than it always says yes since it's … | |
Re: If you a using a GUI/event-driven framework, then yes, it's possible. If you are using console python, then no. | |
Re: Am I authorised to post here? This one should be nice-ish. I'm sure you've heard of Sudoku? Well write a computer program that creates a sudoku game for the user. Try to be innovative in the program rules (tweak the sudoku game rules a little so that the program is … | |
Re: Here's an example of a basic window frame in pyQT. You can get pyQT from here: [url]http://www.riverbankcomputing.co.uk/software/pyqt/download[/url] [code=python] # Code Example: Display a window in PyQt4 # Python 2.6 with PyQt 4 import sys from PyQt4 import QtGui class MainFrame(QtGui.QMainWindow): def __init__(self): QtGui.QMainWindow.__init__(self) self.setWindowTitle("Window title") # title self.resize(1024, 768) # … | |
Re: This can be done entirely in server side code, actually, javascript isn't exactly suited for this unless you want some sort of AJAX functionality. Why don't you tell me which server-side language you use so I point you in the right direction. | |
Re: Wait hold on. What does it matter what default program is set to open dll files? Do you attempt to read/edit them directly? Am I missing something here? | |
Re: A commenter mentioned that you can make Linux look pretty by dressing it up. Lipstick on a pig, anyone? I think what Ken wants is more along the lines of jewelry on a bombshell. | |
Re: Actually, I prefer Caribbean cuisine to others I've tried. Particularly from Jamaica and Trinidad. EDIT: Actually, the Trinidadian food I like are actually somewhat imported from India, so... | |
Re: Red Planet | |
Re: Make sure values.xls is in the same folder as your script. If you are using office 2007, make sure you saved the file as values.xls and not values.xlsx (the default). | |
Re: Cython, for writing extension modules works with Python 3. One of the great things about it is that extension modules you write with it work for both Python 2.x and Python 3.x most of the time, without adjustment. | |
Re: If you want your scripts to be portable you do. | |
Re: I've only tried Suse, Fedora, Ubuntu and Debian on that list, and I strongly agree with the order in which they are ranked. I didn't care much for Fedora, less so for Suse, but Debian, mainly because of its package manager managed to stop me from turning sour. Ubuntu, however, … | |
Re: 1126 songs about 8GB. Minuscule compared to you guys. | |
Re: [quote=Salem;463839] Put this in your local paper, and see what happens... "Wanted - psychic. You know who to call".[/quote] :D :D | |
Re: Have a look at: [url]http://support.microsoft.com/kb/314060[/url] I know the page doesn't describe the error you received here, but it worked for me and some other people in the past. | |
![]() | Re: yeh that's pretty good. My Vista partition is 112 GB. I have that CS3 suite installed, Office Home and Student 07, Encarta Student, VS C# Express 2008 and C++ Express 2008, the general "must-have" programs like Winrar and Firefox among others, and some gigs in downloads and documents / files. … |
Re: Asumming Darren put in a pre-n router: you get a chemotheraphy coupon I put in a digicam | |
Re: os.mkdir() [url]http://docs.python.org/library/os.html#files-and-directories[/url] | |
Re: Just unzip it and double click FirdayCounter.sln. Visual studio will open it. That appear to be a version 8 file (2005) | |
Re: Well I can't conclusively say that one is better, because they serve different purposes. Are you familiar with OOP? In OOP, static objects or members of a class that can be accessed directly from the class, while non-static members can only be accessed from the instance it belongs to. C# … | |
Re: No. Do you like Cheese? | |
Re: I *think* I see what you mean. Make the hidde form(from here referred to as formH) a member variable of the form with the open button(from here referred to as formO). That way, only one formH is ever declared and used, and is only destroyed when you telll it to, … | |
Re: Are you sure it is a system dsn and not a user dsn? You must you the system tab in ODBC in the Administrative Tools to set up a system dsn. HTH | |
Just interested in the different methods everyone uses to plan their projects, set timelines, etc. | |
Re: Having wxPython installed on a server is pointless. Why? Because when it displays the GUI, nobody sees it. I think the original poster needs to clarify his/her intentions. | |
Re: [QUOTE=Lingson;955374]ugh.. the solution was so easy? *lol* one more question then: is it safe to say that everytime i want to convert bytearrays to string i just need to use the .decode('utf8')?...some other stuff...[/QUOTE] No, please don't do that. That is okay if the page you are reading is encoded … | |
Re: I have the honor of welcoming you to Daniweb :). That said: Your problem is that C# strong types its boolean values. A True in C# is not equal to 1, as a false is not equal to 0. Might I suggest you modify your code to specfically tell it … | |
Re: [QUOTE=jephthah;887462]wtf? where is [B]Lynx[/B]?[/QUOTE] No thanks. | |
Re: Look, not to be harsh or anything, but given you previous posts I think you would be better off reading a book or a wiki or even just a tutorial on Python OOP and maybe Python in general. Really. | |
Re: Well first of all you have a problem: MMORPGs are neither fun nor exciting. I agree on the miniclip though | |
Hey. I recently tried to play a dvd on my comp and media center told me that the disk wasn't being recognised, so I checked the computer and the drive was missing from there. This is the error in my device manager: This device cannot start. (Code 10) Click 'Check … | |
Re: ...heh, I always though of Steve as a bit dense (well not always, but as first). Just goes to show about first impressions. | |
Re: So there's beaurocracy, lying managers/employees, and an unwillingness to honor their warranty? I've only ever seen such bad press with Britney Spears | |
| |
![]() | Re: Linux is by a good extent a "python OS". Okay that's misleading because the kernel itself isn't written in Python, but most distros would break if you remove it. |
Re: It's important to note that this language doesn't seem to be designed for a Python programmer craving more speed. Rather it seems geared at C++ programmers who feel they could benefit from some specific features which can be found in languages like Python, hence the phrase "a cross between C++ … | |
Re: Oh, I have no favorite. I just came to point and laugh at Naruto fans. | |
Re: imho, if they really need to attack a corporate organisation about this greenhouse thing, then it should be microsoft and vista, rather than google's web. :P | |
Re: You need to convert page to a string before passing it to feed(). This is because python 3 makes a clear separation between data and text, and now you must explicitly convert between them (feed expects text (a string) and page is data (bytes). You do this by calling the … |
The End.