#python - Sun 11 Mar 2007 between 00:00 and 00:31

NY Lost Funds



unix_infidelwell something that's progressive. goes from intro stuff to stuff that makes use of modules and then goes from there.
KirkMcDonaldHere's a slightly simpler one: Sudoku
JafetI once wrote a chess player in Python. Sucked until I ported it to C++.
josepharmbrusterthere is no better way to spend a fri night, than on IRC :-)
actiongrimboy whacks Jafet with a chocolate fish
grimboywhacks Jafet with a chocolate fish
josepharmbruster, What about a Saturday night?
unix_infideljosepharmbruster: friday? its saturday here.
josepharmbrusterunix_infidel: haven't left my computer all day, completely forgot what day it was
gar...
any of you used scons ?
deltabferrum: you nee dto tell it which encoding modules to include
ferrum: oh, sorry
ferrum: try copying the encodings package from python's library
ferrumdeltab: sorry, where is this stored?
deltabdo you have python installed?
ferrumyes
=]
deltabprobably /usr/lib/python2.X
ferrumjust copying the files to the dir does nothing; did I do something wrong?
Crashed:|
daMaestrohmmm.. so in perl i would do: if ($var =~ /something/){ do;} .. how do i do regex matching with python?
Jafetimport re?
actiondaMaestro goes to read about the re module
daMaestrogoes to read about the re module
Jafetre conforms to most (if not all) Perl semantics, so porting should not be a problem.
daMaestrosomething = re.compile('*32*'); if var = something: do ?
var == something*
Crashedanyone familiar with wxpython?
tagI'm familiar with how bad wx* sucks, if that helps
CrashedWell, I'd like to know how to change the font of a richtextctrl.
tagWell since you seem to already be using it, I'm probably not going to be much help.
Tenjou_UtenadaMaestro: You need to use re.match or re.search....
daMaestroyeah.. i just read "if you are a perl loser, use .search"
:-P
Tenjou_UtenaYeah.
triplah_is there a way to overload an object when it gets used in a bool situation?
if myinstance: ?
Tenjou_UtenaI think __bool__ is in a PEP...
daMaestroTenjou_Utena, thank you
triplah_my object inherits from dict, and it empty... but it certainly doesnt lack semantic weight
Tenjou_Utena: ahh ok, i thought i'd heard something

Page: 2 9 16 23 30 37 44 51 58 65 72 79 

IrcArchive

NY Lost Funds