Posts
 
Reputation
Joined
Last Seen
Ranked #55
Strength to Increase Rep
+13
Strength to Decrease Rep
-3
66% Quality Score
Upvotes Received
144
Posts with Upvotes
110
Upvoting Members
70
Downvotes Received
93
Posts with Downvotes
64
Downvoting Members
31
136 Commented Posts
~679.43K People Reached
About Me

None

Interests
Writing, Programming (Python, C) Music

939 Posted Topics

Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for Dani
3
11K
Member Avatar for moderate_rock48
Member Avatar for Duki
Member Avatar for mattyd
Member Avatar for Hillzy

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 …

Member Avatar for Faro_1
0
3K
Member Avatar for AutoPython

If you a using a GUI/event-driven framework, then yes, it's possible. If you are using console python, then no.

Member Avatar for Gribouillis
1
49K
Member Avatar for The Dude
Member Avatar for vegaseat

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 …

Member Avatar for vegaseat
20
18K
Member Avatar for christina>you
Member Avatar for vegaseat

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) # …

Member Avatar for vegaseat
9
45K
Member Avatar for kavithakesav

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.

Member Avatar for john58975
0
632
Member Avatar for LogsdonTechnics

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?

Member Avatar for Brouss
-1
1K
Member Avatar for khess

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.

Member Avatar for rubberman
0
703
Member Avatar for Lardmeister

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...

Member Avatar for vegaseat
1
298
Member Avatar for anupam_smart
Member Avatar for debasisdas
Member Avatar for hellohellohello

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).

Member Avatar for akiva.berger
0
5K
Member Avatar for Stefano Mtangoo

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.

Member Avatar for vegaseat
0
985
Member Avatar for Gribouillis
Member Avatar for khess

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

Member Avatar for eldergeek
0
2K
Member Avatar for >shadow<
Member Avatar for ndeniche
Member Avatar for Lardmeister

[quote=Salem;463839] Put this in your local paper, and see what happens... "Wanted - psychic. You know who to call".[/quote] :D :D

Member Avatar for sneekula
2
2K
Member Avatar for paul4831

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.

Member Avatar for erice242
-1
922
Member Avatar for ingeborgdot@yah

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

Member Avatar for alexloubert
0
199
Member Avatar for OurNation

Asumming Darren put in a pre-n router: you get a chemotheraphy coupon I put in a digicam

Member Avatar for vinnitro
1
16K
Member Avatar for bobstein

os.mkdir() [url]http://docs.python.org/library/os.html#files-and-directories[/url]

Member Avatar for TrustyTony
0
15K
Member Avatar for IT_Techno

Just unzip it and double click FirdayCounter.sln. Visual studio will open it. That appear to be a version 8 file (2005)

Member Avatar for Momerath
0
556
Member Avatar for sam63

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

Member Avatar for MuhammadSaad
0
4K
Member Avatar for Scuppery
Member Avatar for SiPexTBC

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

Member Avatar for chaitra9
0
804
Member Avatar for abdulraqeeb33

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

Member Avatar for abhinav24291
0
2K
Member Avatar for scru

Just interested in the different methods everyone uses to plan their projects, set timelines, etc.

Member Avatar for stultuske
0
117
Member Avatar for oiwah

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.

Member Avatar for TrustyTony
0
190
Member Avatar for Lingson

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

Member Avatar for Rocketdlib
0
2K
Member Avatar for Prodian

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 …

Member Avatar for duffmanleesin
0
170
Member Avatar for adkool
Member Avatar for crunchie
2
896
Member Avatar for mahela007

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.

Member Avatar for JoshuaBurleson
0
242
Member Avatar for brasileiro

Well first of all you have a problem: MMORPGs are neither fun nor exciting. I agree on the miniclip though

Member Avatar for Maywyn
0
589
Member Avatar for scru

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 …

Member Avatar for flagstar
-2
2K
Member Avatar for steven woodman

...heh, I always though of Steve as a bit dense (well not always, but as first). Just goes to show about first impressions.

Member Avatar for Ezzaral
1
160
Member Avatar for happygeek

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

Member Avatar for dews
0
926
Member Avatar for hondros
Member Avatar for leegeorg07

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.

Member Avatar for SamarthWiz
0
167
Member Avatar for KonkaNok

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

Member Avatar for NETProgrammer
0
330
Member Avatar for apple123456
Member Avatar for Portgas D. Ace
0
515
Member Avatar for vmanes
Member Avatar for happygeek

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

Member Avatar for Energy Saver
0
510
Member Avatar for poeticinsanity

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 …

Member Avatar for TrinitronX
0
346

The End.