Adds a little spice to ones life!
bumsfeld 413 Nearly a Posting Virtuoso
Adds a little spice to ones life!
Like the Christmas song!
Yeah MidiMgic, great talent there! I am still working on your questions.
Plain old goofy!
China is flexing its muscles, they just snuffed the Krauts pretty well for inviting the Tibetan holy guy.
Bastille Day anyone?
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.
I though that MidiMagic would like that!
Wonder what they put on the window? Very cute though!
GrimJack, liked your thread!
A nice thing to visit, I was impressed!
Ah, just the tool for our Geeks' Lounge Sensor!
Soft pink is my favorite rose!
What brand of computer do you operate?
Sticks with me! Good thread Dude!
>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.
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.
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!
Government label on a chair:
"This is not a ladder."
Frozen grapes again.
You can also have your post deleted!
Flaming that thing off avoids the bad odour.
I am amazed about this feat of high technology!
Another smart find by The Dude!
For those of you who feel like giving thanks, this is the day to do it! Merry Harvest Feast!
Lol, very nice! Keep going with your interesting finds!!!
You don't have to bait the hook, if the fish is already in the boat.
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.
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!
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.
I wish some body would teach common sense.
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.
Frozen green grapes.
I hate stuffy, mouldy, humid living, give me hot and dry any time!
If you can explain how the "four in the row game" works, we will help you.
ASCII code numbers above 127 gets you into unicode. You have to specify encoding format.
Is oxo the same as tic-tac-toe?
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)
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()
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!
I am sure he is already duly noted in the book of "Evil People".
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.
Is the Wiccan Feast one of those skyclad events? In the winter time that would be cool.
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,
I don't think that a stupid filter will ever work. The stupid folks are just too smart for that.