bumsfeld 413 Nearly a Posting Virtuoso

Adds a little spice to ones life!

bumsfeld 413 Nearly a Posting Virtuoso

Like the Christmas song!

bumsfeld 413 Nearly a Posting Virtuoso

SVU incontrovertibly.

bumsfeld 413 Nearly a Posting Virtuoso

Yeah MidiMgic, great talent there! I am still working on your questions.

bumsfeld 413 Nearly a Posting Virtuoso

Plain old goofy!

bumsfeld 413 Nearly a Posting Virtuoso

China is flexing its muscles, they just snuffed the Krauts pretty well for inviting the Tibetan holy guy.

bumsfeld 413 Nearly a Posting Virtuoso

Bastille Day anyone?

bumsfeld 413 Nearly a Posting Virtuoso

Just another example of political correctness gone wrong. Last year one couldn't "Christmas", and had to use "Holidays" instead, at least in the corporate world!

A merry "he-he-he" to you.

bumsfeld 413 Nearly a Posting Virtuoso

I though that MidiMagic would like that!

bumsfeld 413 Nearly a Posting Virtuoso

I just got 32+4.

bumsfeld 413 Nearly a Posting Virtuoso

Wonder what they put on the window? Very cute though!

bumsfeld 413 Nearly a Posting Virtuoso

GrimJack, liked your thread!

bumsfeld 413 Nearly a Posting Virtuoso

Great site!

bumsfeld 413 Nearly a Posting Virtuoso

A nice thing to visit, I was impressed!

bumsfeld 413 Nearly a Posting Virtuoso

Ah, just the tool for our Geeks' Lounge Sensor!

bumsfeld 413 Nearly a Posting Virtuoso

Still working on it!

bumsfeld 413 Nearly a Posting Virtuoso

Is this very important?

bumsfeld 413 Nearly a Posting Virtuoso

Soft pink is my favorite rose!

bumsfeld 413 Nearly a Posting Virtuoso

What brand of computer do you operate?

bumsfeld 413 Nearly a Posting Virtuoso

Sticks with me! Good thread Dude!

bumsfeld 413 Nearly a Posting Virtuoso

>Yes? Don't you? Some people do not have the money to give... but that doesn't mean they should not receive anything.

They always receive less.

That is the way the cookie crumbles.

bumsfeld 413 Nearly a Posting Virtuoso

was gonna post a link to a scarface clip but removed it due to gore ;) PM me if you want it

I like your present avatar a lot better, looks artistic and not mob like.

bumsfeld 413 Nearly a Posting Virtuoso

I gave a intro and now I'm just wandering the board. To bad there's no beer.

This is a nice forum, enjoy it!

bumsfeld 413 Nearly a Posting Virtuoso

Government label on a chair:
"This is not a ladder."

bumsfeld 413 Nearly a Posting Virtuoso

Frozen grapes again.

bumsfeld 413 Nearly a Posting Virtuoso

You can also have your post deleted!

bumsfeld 413 Nearly a Posting Virtuoso

Flaming that thing off avoids the bad odour.

bumsfeld 413 Nearly a Posting Virtuoso

I am amazed about this feat of high technology!

bumsfeld 413 Nearly a Posting Virtuoso

Another smart find by The Dude!

bumsfeld 413 Nearly a Posting Virtuoso

For those of you who feel like giving thanks, this is the day to do it! Merry Harvest Feast!

bumsfeld 413 Nearly a Posting Virtuoso

Lol, very nice! Keep going with your interesting finds!!!

bumsfeld 413 Nearly a Posting Virtuoso

You don't have to bait the hook, if the fish is already in the boat.

bumsfeld 413 Nearly a Posting Virtuoso

Y'all know that a claymore is a shaped-charge anti-personell mine that can be set off either remotely or by incursion,right?

Sure we all know! Can't live without those sweet things.

bumsfeld 413 Nearly a Posting Virtuoso

Eating and shelter are the major consumers of wealth.

So, if we all stop eating and sit outside, this nation will the wealthiest in the world!

bumsfeld 413 Nearly a Posting Virtuoso

Back to the topic:
Can anyone suggest to me what avatar to use? I am thinking Donald Duck right now.

In the words of our great leader: "Bring it on!"

Waylon Smithers from the Simpsons would be a good match for you.

bumsfeld 413 Nearly a Posting Virtuoso

I wish some body would teach common sense.

bumsfeld 413 Nearly a Posting Virtuoso

Interesting! If the air is properly poluted, it may contain some food value. Remember, this thread is about making money! To make money, it would be better to starve people and then sell them much needed food.

bumsfeld 413 Nearly a Posting Virtuoso

Frozen green grapes.

bumsfeld 413 Nearly a Posting Virtuoso

I hate stuffy, mouldy, humid living, give me hot and dry any time!

bumsfeld 413 Nearly a Posting Virtuoso

If you can explain how the "four in the row game" works, we will help you.

bumsfeld 413 Nearly a Posting Virtuoso

ASCII code numbers above 127 gets you into unicode. You have to specify encoding format.

bumsfeld 413 Nearly a Posting Virtuoso

Is oxo the same as tic-tac-toe?

bumsfeld 413 Nearly a Posting Virtuoso

The module turtle is part of the Tkinter GUI toolkit. Here is small example:

# module turtle is part of Tkinter

import turtle
import time

def tdraw_x(n):
    """
    draw one turtle x of size n
    turtle starts in the center of canvas (0, 0) by default
    """
    t3 = turtle.Pen()

    for k in (1, 2):
        if k == 1:
            t3.left(60)
        else:
            t3.right(120)

        t3.forward(n)
        t3.left(60)
        t3.forward(n)
        t3.right(120)
        t3.forward(n)
        t3.right(60)
        t3.forward(n/2)
        t3.left(120)
        t3.forward(n/2)
        t3.right(60)
        t3.forward(n)

tdraw_x(50)     # test
time.sleep(10)  # show test for some seconds (just for test)
bumsfeld 413 Nearly a Posting Virtuoso

Let's assume you have Windows on your box. Toggle to plain text, then highlight, copy and paste the code below into your editor, save it as wxtext101.py (or such). If Python and wxPython is properly installed, double-click on the filename to run it:

import wx

class MyPanel(wx.Panel):
    """panel with multiline text control"""
    def __init__(self, parent, id):
        wx.Panel.__init__(self, parent, id)
        self.SetBackgroundColour("green")

        self.edit3 = wx.TextCtrl(self, -1, value="", pos=(10, 10),
                size=(300, 125), style=wx.TE_MULTILINE)

        #print "<a href='"+href+"' target='"+target+"'>"+linkName+"</a>"
        href = 'fi'
        target = 'fo'
        linkName = 'fum'
        str1 = "print "+"<a href='"+href+"' target='"+target+"'>"+linkName+"</a>"
        self.edit3.SetValue(str1)


app = wx.PySimpleApp()
# create window/frame, no parent, -1 is default ID
frame = wx.Frame(None, -1, "wx.TextCtrl", size = (400, 310))
# -1 is default ID
MyPanel(frame,-1)
frame.Show(True)
app.MainLoop()
bumsfeld 413 Nearly a Posting Virtuoso

Knowledge is not what you can remember, but what you cannot forget.

Good one debasisdas!

The illiterate of the 21st century will be those who cannot unlearn!

bumsfeld 413 Nearly a Posting Virtuoso

I am sure he is already duly noted in the book of "Evil People".

bumsfeld 413 Nearly a Posting Virtuoso

Maybe truth is inconvenient when it comes from a politician?

Lardmeister, for your young age you sure are versed in politics! Had to laugh about that connection!

You are right, voters to large extent want to hear what they like to hear, and that is not necessarily the truth. In this sense they are corrupting the politicians to give untruths and halftruths. If you elect liar, you get liar. So, the most dishonest group of people might be the voters, at least dishonest to themselves.

bumsfeld 413 Nearly a Posting Virtuoso

Is the Wiccan Feast one of those skyclad events? In the winter time that would be cool.

bumsfeld 413 Nearly a Posting Virtuoso

Vegaseat left this example of the difflib module somewhere in the code snippets:

# find the difference between two texts
# tested with Python24   vegaseat  6/2/2005

import difflib

text1 = """The World's Shortest Books:
Human Rights Advances in China
"My Plan to Find the Real Killers" by OJ Simpson
"Strom Thurmond:  Intelligent Quotes"
America's Most Popular Lawyers
Career Opportunities for History Majors
Different Ways to Spell "Bob"
Dr. Kevorkian's Collection of Motivational Speeches
Spotted Owl Recipes by the EPA
The Engineer's Guide to Fashion
Ralph Nader's List of Pleasures
"""

text2 = """The World's Shortest Books:
Human Rights Advances in China
"My Plan to Find the Real Killers" by OJ Simpson
"Strom Thurmond:  Intelligent Quotes"
America's Most Popular Lawyers
Career Opportunities for History Majors
Different Ways to Sell "Bob"
Dr. Kevorkian's Collection of Motivational Speeches
Spotted Owl Recipes by the EPA
The Engineer's Guide to Passion
Ralph Nader's List of Pleasures
"""

# create a list of lines in text1
text1Lines = text1.splitlines(1)
print "Lines of text1:"
for line in text1Lines:
  print line,

print

# dito for text2
text2Lines = text2.splitlines(1)
print "Lines of text2:"
for line in text2Lines:
  print line,

print  

diffInstance = difflib.Differ()
diffList = list(diffInstance.compare(text1Lines, text2Lines))

print '-'*50
print "Lines different in text1 from text2:"
for line in diffList:
  if line[0] == '-':
    print line,
bumsfeld 413 Nearly a Posting Virtuoso

I don't think that a stupid filter will ever work. The stupid folks are just too smart for that.