User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,507 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,837 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 500
Search took 0.08 seconds.
Posts Made By: vegaseat
Forum: Geeks' Lounge 2 Days Ago
Replies: 142
Views: 5,196
Posted By vegaseat
Re: 2008 US Presidential Poll Part 2

Looks like the election is turning into the usual mud slinging contest with little actual substance.
Forum: Geeks' Lounge 2 Days Ago
Replies: 1,037
Views: 60,658
Posted By vegaseat
Re: Thoughts Of The Day.

Personally, I don't think there's intelligent life on other planets. Why should other planets be any different from this one?
Forum: Geeks' Lounge 2 Days Ago
Replies: 11
Views: 180
Posted By vegaseat
Re: North American Thoughts

Yankee Doodles? Good question, since Americans would be inhabitants of the entire American continent. I demand congressional action to clear this up!!!
Forum: Python 2 Days Ago
Replies: 3
Views: 109
Posted By vegaseat
Re: Help with painter Program

Ene Uran left an example of a screen image grabber in the Python snippets:
http://www.daniweb.com/code/snippet707.html

She simply used a small for loop to create a delay long enough to sort things...
Forum: Python 6 Days Ago
Replies: 5
Views: 175
Posted By vegaseat
Re: Tkinter problems

To colorize words you are asking too much of good old Tkinter. You most likely need to got with the wx.StyledTextCtrl() widget.
This STC control wraps the Scintilla editor component so it will work...
Forum: Python 6 Days Ago
Replies: 4
Views: 165
Posted By vegaseat
Re: help please! first python assignment troubles...

I have to admit, this is a clever problem. With a little thought it shouldn't stomp anybody. Here are some hints ...
# assume you have the following

text = """\
My name is OUR_HERO, or simply...
Forum: Geeks' Lounge 6 Days Ago
Replies: 142
Views: 5,196
Posted By vegaseat
Re: 2008 US Presidential Poll Part 2

Juicy stuff, makes life exciting!
Forum: Geeks' Lounge 6 Days Ago
Replies: 58
Views: 1,196
Posted By vegaseat
Re: Lets talk energy

Gone with the wind!
Forum: Geeks' Lounge 6 Days Ago
Replies: 1,037
Views: 60,658
Posted By vegaseat
Re: Thoughts Of The Day.

Anything that sounds too good to be true is too good to be true!
Forum: Python 7 Days Ago
Replies: 2
Views: 119
Posted By vegaseat
Re: FITS image dispaly using python

Python and some of the standard GUI toolkits themselves do not have a builtin method to display FITS images (they are simply too specialized), but I am sure one of the external scientific modules...
Forum: Python 7 Days Ago
Replies: 4
Views: 116
Posted By vegaseat
Re: reading in multiple arrays from a single file

In other words you are talking about a matrix.
Forum: Python 7 Days Ago
Replies: 4
Views: 140
Posted By vegaseat
Re: Debugging with Python

Go with winpdb free from:
http://winpdb.org/about/
Forum: Geeks' Lounge 7 Days Ago
Replies: 8
Views: 263
Posted By vegaseat
Re: Google: The new religion

Reality says yes!
Forum: Geeks' Lounge 7 Days Ago
Replies: 20
Views: 484
Posted By vegaseat
Re: Those Nigerian Scams

Could have, should have, would have. Sorry, I was laughing too hard. This thing has sucker written all over it! Maybe stupid people deserve to have their money taken away?
Forum: Geeks' Lounge 7 Days Ago
Replies: 38
Views: 874
Posted By vegaseat
Re: I'm Sick Of Vista

Well, Microsoft could have come up with something less childish, but then they have pretty much a monopoly in the PC OS market. There was not really an incentive to do better.
Forum: Geeks' Lounge 7 Days Ago
Replies: 142
Views: 5,196
Posted By vegaseat
Re: 2008 US Presidential Poll Part 2

Wow, McCain is either very desparate or he has real guts to pick an almost unknown lady running mate. This race is getting to be interesting! There is a good chance that we will be getting another...
Forum: Python 7 Days Ago
Replies: 4
Views: 116
Posted By vegaseat
Re: reading in multiple arrays from a single file

One way to do this ...
def extract(text, sub1, sub2):
"""
extract a substring from text between first
occurances of substrings sub1 and sub2
"""
return text.split(sub1,...
Forum: Python 8 Days Ago
Replies: 3
Views: 166
Posted By vegaseat
Re: Grid operations

Along the line of your problems, I have taken the liberty to code a small example that should help you, see:
http://www.daniweb.com/forums/post680387-73.html
Forum: Python 8 Days Ago
Replies: 72
Views: 6,411
Posted By vegaseat
Re: Starting wxPython (GUI code)

Another example of wxPython's grid widget. This time we are setting up the grid with the help of a table class that inherits from wx.grid.PyGridTableBase. Once the grid is set up and loaded with...
Forum: Geeks' Lounge 10 Days Ago
Replies: 20
Views: 484
Posted By vegaseat
Re: Those Nigerian Scams

In case somebody has never seen one of those scams, here is one I got not too long ago, very funny to read, but I warn you, you can lose your own money fast ...
Forum: Python 10 Days Ago
Replies: 8
Views: 247
Posted By vegaseat
Re: Python - statistical functions + a list

help("modules")
hangs up on bad or modified modules or mixed versions, but lets you know!
Works well on virgin installations.

I have so many modules installed and screw around with them all the...
Forum: Python 10 Days Ago
Replies: 2
Views: 170
Posted By vegaseat
Re: CPython Jython and Ironpython

Which version of the Netbeans IDE did you download for Python coding?

Jython allows Python to use the Jave library and feeds into Java byte code.

Iron Python, I think, does a similar thing with...
Forum: Python 10 Days Ago
Replies: 162
Views: 54,735
Posted By vegaseat
Re: Projects for the Beginner

With more and more folks thinking it their business to snoop around in your e-mail, write a little Python program to encode regular text. It is assumed that you will send this text to a friend, who...
Forum: Geeks' Lounge 11 Days Ago
Replies: 315
Views: 20,977
Posted By vegaseat
Re: We need to laugh...

Nice comic strip, I am still smiling!

Carlos got a letter from the IRS (US tax collectors). Apparently he owed them another $800. So he sent them this letter back, "If you'll remember, I fastened my...
Forum: Geeks' Lounge 11 Days Ago
Replies: 190
Views: 8,073
Posted By vegaseat
Re: Question of the day

I understand in the recent "Cell Phone Throwing" contest in Estonia one angry user threw his cell phone (aka handy) a total of 226 feet.
Forum: Geeks' Lounge 11 Days Ago
Replies: 20
Views: 484
Posted By vegaseat
Re: Those Nigerian Scams

I understand that most of those Nigerian dead friend/relative scams originate from the Netherlands and the perpetrators are mostly Romanian Gypsy gangs.
Forum: Python 11 Days Ago
Replies: 4
Views: 102
Posted By vegaseat
Re: simple question

Using an escape character like jlm699 showed is the best general approach. You can even ecape the escape character like this ...
if c in "!,.?\'\"\\$%"
Forum: Python 11 Days Ago
Replies: 4
Views: 102
Posted By vegaseat
Re: simple question

Try ...
if c in "!,.?'$%"
Forum: Geeks' Lounge 11 Days Ago
Replies: 58
Views: 1,196
Posted By vegaseat
Re: Lets talk energy

GrimJack, finally a good use of the otherwise wasted space above our highways. Looks like the old eggbeater windmills should work well and could even be mass produced by our sluggish car...
Forum: Geeks' Lounge 11 Days Ago
Replies: 22
Views: 591
Posted By vegaseat
Re: Georgia

So it's oil again, worth bombing any country into submission, even Russia?
Forum: Geeks' Lounge 11 Days Ago
Replies: 12
Views: 223
Posted By vegaseat
Re: By Golly, I Made 1000 Posts

Yes Ene, nice show! The best to you!
Forum: Python 16 Days Ago
Replies: 162
Views: 54,735
Posted By vegaseat
Re: Projects for the Beginner

Write a Python program to find the five digit number, that when multiplied by 4 gives a number with the 5 digits in reverse order?
Forum: Geeks' Lounge 16 Days Ago
Replies: 417
Views: 21,299
Posted By vegaseat
Re: There is an elephant on the loo!

A group of ravens is called a murder.
Forum: Python 18 Days Ago
Replies: 2
Views: 153
Posted By vegaseat
Re: [Tkinter] radiobutton.deselect() problem

Something like ...
from Tkinter import *

fenetre = Tk()
portee = IntVar()

def effacer():
rb1.deselect()
rb2.deselect()
Forum: Python 18 Days Ago
Replies: 4
Views: 162
Posted By vegaseat
Re: floor()

Ignore this post ...
Forum: Python 18 Days Ago
Replies: 1
Views: 106
Posted By vegaseat
Re: another python tkinker question

Maybe you are looking for this ...
def del_text():
"""
delete text in enter1 from index first to index last
if index last is omitted delete just one character at index first
...
Forum: Python 18 Days Ago
Replies: 72
Views: 6,411
Posted By vegaseat
Re: Starting wxPython (GUI code)

Information can be presented as a tree branching into more and more details. The wx.TreeCtrl() widget does that, just take a look at this short example ...
# testing wxPython's
# wx.TreeCtrl(parent,...
Forum: Python 18 Days Ago
Replies: 0
Views: 104
Posted By vegaseat
Problems with wx.TreeCtrl

This post by s7plc was moved from the Starting wxPython (GUI code) thread ...
Forum: Python 20 Days Ago
Replies: 8
Views: 299
Posted By vegaseat
Re: How to count files of particular type (like *.txt) in a folder

Be aware that your file extension may not always be .txt, but also could be be .TXT or .tXt or txT or such. To get a full count of all of these mixed case extensions it is best to use module glob...
Forum: Python 21 Days Ago
Replies: 6
Views: 192
Posted By vegaseat
Re: module location

Yes, you got the hang of it!

You can improve the bubble sort quite a bit by using a tuple swap and breaking out if the list is sorted. Here is an example without the check, it blindly goes through...
Showing results 1 to 40 of 500

 
All times are GMT -4. The time now is 5:54 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC