#x27; the slowest and 'e' flying as fast as its
> spokes can engage, and every click of every wheel produces a viable but
> possibly wrong response. However, each response is unique and in the nth
> iteration where password is found, all previous iterations are unique so
> there is ce
s that true and is it
> a viable change.
>
> I realize my code looks like modified C++ structured code. I am trying to
> become more Python concise but I think that is a matter of writing more and
> more python code.
>
> All suggestions, ideas, critiques are most welcome.
>
> Thank you,
>
> Robert
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
shell (if that's what you're looking
for) by using ipython: http://ipython.scipy.org/
A large percentage of python developers use IPython (the I stands for
interactive, I think).
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
>and images.
>Has anyone done this with openoffice UNO?
>Thanks for your comments,
>Mark
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tut
:
> every weakness, every vice, has found its defenders, its rhetoric, its
> ennoblement and exaltation, but stupidity hasn't. - Primo Levi
> _______
> Tutor maillist - Tutor@python.org
>
ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 4
acc>> ignored
>
> So once all objects have been destroyed, an exception is triggered on class
> variable 'population'.
>
> Any more logical explanation and work around? I just need to understand what
> python is doing here
>
> Thx
>
> Blaise
>
>
>
>
> _
ain__":
> data = main()
> print data.getDataPacket(10)
> --
> View this message in context:
> http://www.nabble.com/pyUSB-linux-%2B-unknown-device-tp17198596p17198596.html
> Sent from the Python - tutor mailing list archive at Nabble.com.
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
n), your program runs
> faster if it avoids creating cyclic garbage in the first place
>
>
Yes is it reliable if you are intending to have non-cyclic data in the first
place (which has no chance of no being gc-ed). This sounds like his use
case.
ind in xrange(0,len(filenames):
> results.append(function1(filenames[ind]))
>
>
>
>
> --
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i6
r i.e. dependencies.
>
> TIA,
>
> Scott
>
> PS. There is a good best-practice link here too:
><http://www.fantascienza.net/leonardo/ar/python_best_practices.html>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
, I guess. By the way, there was a recent XKCD that I liked:
> http://xkcd.com/409/
>
>
> --
> www.fsrtechnologies.com
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
-
ly appreciated.
>
> Thanks and Best Regards,
> --Govind Goyal
>
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.Row
On Mon, Apr 7, 2008 at 2:29 PM, Alan Gauld <[EMAIL PROTECTED]>
wrote:
>
> "Michael Langford" <[EMAIL PROTECTED]> wrote
>
> > While on the topic of glade, does anyone know of a working gui
> > builder for
> > glade on windows?
Well there you go. Just needed to look elsewhere:
http://sourceforge.net/project/showfiles.php?group_id=98754
On Mon, Apr 7, 2008 at 1:59 PM, Michael Langford <
[EMAIL PROTECTED]> wrote:
> While on the topic of glade, does anyone know of a working gui builder for
> glade on windo
; http://www.learningpython.com/2006/05/30/building-an-application-with-pygtk-and-glade/
>
>
> th
>
>
>
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-3
When you have you use Visual Studio, I suggest using the beautiful and
wonder ViEmu. Best $90 I ever spent:
http://www.viemu.com/
On Thu, Apr 3, 2008 at 2:40 PM, W W <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 3, 2008 at 12:15 PM, Michael Langford
> <[EMAIL PROTECTED]> wrote:
&
n time environment is IDLE.
>
> Any thoughts or preferences would be appreciated.
> thanks!
>
> Jeffrey Dates
> www.kungfukoi.com
>
>
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
&g
t; >
> > Can you please tell me something about Python ORM?
> >
> > Regards,
> > Kumar
> > ___
> > Tutor maillist - Tutor@python.org
> > http://mail.python.org/mailman/listinfo/tutor
>
> _______
#x27;, vl_field)[0]
> value = data[start+8:(start+8+length)]
> start = start+8+length
> element = (group_num+element_num)
> return element, start, value
> else:
> return elemen
. That could be a big problem if the goal is to get to the
> truth." -Dr. Steven Hyman, Harvard
>
>
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
tion == "LEFT":
turnLeft()
else:
turnRight()
def robotSetup():
"""sets all the event handlers and defines the operational program"""
#these will happen as things generate events
registerEventHandler(SONAR_EVENT,handleSonarData)
regis
ebrew in the native .elf format.
>
> Thanks
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
__
ttp://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ar 19, 2008 at 7:26 PM, Michael Langford
<[EMAIL PROTECTED]> wrote:
> I've never heard of the type of cable you're using. Can you send a
> link to one to the list?
>
> You're missing most of the USB ideas more than the python ideas.
>
> USB is very very
; RB = chr(0x6B) # k
> LT = chr(0x68) # h
> RT = chr(0x6A) # j
>
> S = chr(0x32)
> s = chr(0x73)
>
> self.close()
> self.open()
>
> msg = [A,B,A,B,A,B,A,B]
> #help(self.handle.bulkWrite)
> help(self.hand
et aside a few days to figure out how to do it.
>
> Compile Mozilla according to the instructions found here using Mozilla 1.9.
>
> BuildingXULRunner has Miro specific instructions
>
> Recompiling Boost ¶
> You shouldn't have to do this unless you're debugging Boost specific is
the sql would be: UPDATE table1 SET address = '123 Easy Street'
> WHERE rec_id = 1
>
> Thanks again,
>
>
> Bill
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailm
;
> > values = urllib.urlencode({'user_name': 'MyUsername',
> 'user_pass':
> > 'MyPass^^', 'login' : 'Login'})
> > req = urllib2.Request('http://www.site.org/index.php', values)
> >
e, you shouldn't hard-code values like 0.8 and 1.2 - but I wanted to
> keep it simple.
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/ma
ber. For example, to subtract 80 - 120 % of damage_to_enemy from
> temp_e_hp?
>
> Sorry for all the questions, but I'm totally stumped at the moment.
> Thanks for your time
>
> -Jake
>
>
> She said what? About who? Shameful celebrity quotes on Search Star!
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
he area that
really matters in).
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
> >
> >
> >
> >
> > --
> > Rui
> > http://ruivaldo.wordpress.com
> >
> > "Rubi? Aquela novela do SBT?"
> > ~ Carla Perez sobre Ruby
> >
> > "Em Python, tudo é o
By writing the unit tests in
cPython/Jython compatible code, you'll be able to run the same tests
on both sets of functions and verify you've completed your port.
==Michael
PS: Sorry about the missing %, it was there when I ran the code. Don
er your code with this loop and
go through the output for lines that are wrong.
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
gt; and that thread hangs, can the thread be terminated?
> How does one handle this situation?
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 40
m struct import pack; print pack('5b', (41*len('99')),
> pow(8,2)+20, 4900**0.5, range(78)[-1], 10)"
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael L
; anyone know of good way to do this, or can someone just point me in the
> right direction?
>
> -Scott
>
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
to OO design. For me considerations of
> cohesion, encapsulation, DRY, testability, and any required reuse or
> flexibility are far more important to design than correspondence with
> tangible objects.
>
> Kent
>
>
> __
.com/pub/a/python/2005/09/01/debugger.html
It will allow you to poke around at the innards of your program right
as it dies.
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
to work with
> both paths? kindly give Solution for this problem..
>
>
>
> regards
> Narayana Moorthy.V
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
ur Hotmail(R)-get
> >> your "fix".
> >> http://www.msnmobilefix.com/Default.aspx
> >> ___
> >> Tutor maillist - Tutor@python.org
> >> http://mail.python.org/mailman/listinfo/tutor
> >>
> >
> > ___
> > Tutor maillist - Tutor@python.org
> > http://mail.python.org/mailman/listinfo/tutor
>
> _
> Shed those extra pounds with MSN and The Biggest Loser!
> http://biggestloser.msn.com/
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
t; for what you need to do, but if you could do it this way, it would probably
> be faster.
>
> Cheers
> Chris Fuller
>
>
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langfor
C1(C2, C3):
> def setname(self, who)
> self.name = who
>
> class C1(C2, C3):
> def __init__(self, who)
> self.name = who
>
> Thanks for any pointers!
>
> Regards,
> Patrick
>
> ___
> Tutor maillist - Tutor@python.org
> ht
See http://www.gnu.org/philosophy/no-word-attachments.html
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
from the first file as the reference.)
>
> How would I go about doing this.
>
> Thanks in advance.
>
> Regards,
> Sorghum Crow
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
at doesn't depend on the
presence of python, then this tutorial will help you:
http://wiki.python.org/moin/Freeze
--Michael
On Jan 30, 2008 9:11 AM, brindly sujith <[EMAIL PROTECTED]> wrote:
> i am using linux...
>
> plz tell me how to do it
>
>
>
-
> make it executable
>
> please guide me
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
_
need to do this in python? Second question. If
> > you could do that, how would you use it in any other python context?
> >
> > ___
> > Tutor maillist - Tutor@python.org
> > http://mail.python.org/mailman/listinfo/tutor
> >
> ____
wsgi.org/wsgi/Frameworks
Pick according to your comfort level/motivation level when choosing
between Configuration and Magic
Probably use Paste(http://pythonpaste.org/), but maybe use a more
involved framework too.
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting:
please tell me so. => (I got this
> message in plain text this time!)
> _
> Shed those extra pounds with MSN and The Biggest Loser!
> http://biggestloser.msn.com/
> ___
> Tutor maillist - Tutor@python.org
> http://mail.pyt
] Comparing more than 2 lists - [EMAIL PROTECTED]
>
> I need to be able to get along the lines of output:
> Element 'one' contained in list1 and list2
> Element 'two' contained in list1 and list2 and list3
> ...
> Element 'five' contained in list2 and list4
&g
cation. There is no change system wide, just for the
application that is running. This is *much* safer than using the
system package manager. Its like running a standalone exe like putty
on windows, versus installing a microsoft product.
--Michael
> Michael Langford schrieb:
> > I
____
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
_________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
| BOX |
> +-+
>knihT
>
> Fnord.
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
yone else have any ideas for some types of programs that might actually
> prove useful to people for beginners to work on?
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/list
it seems the current advice for Sugar emulation on
> the Mac is "come back next year, or the year after"... I did get PyGTK
> working, tho.
>
>
> On Jan 16, 2008, at 10:13 PM, Michael Langford wrote:
>
> > No, but this is quite useful for getting it up and going on your
ttle
> more Python experience and actually do something useful. I found lots
> of noble exhortations to help, but very little in the way of
> specifics. Does anyone know of any ongoing projects that could use
> volunteers? Of the middling-capable range?
>
> Eric
>
> On Jan 16
ogram that did this.. " type of thing to give me some direction. Or does
> anyone else have any ideas for some types of programs that might actually
> prove useful to people for beginners to work on?
>
> ___
> Tutor maillist - Tutor@pyth
ou would do in software like maple, this approach can
greatly simplify the notation over the list/dict approach.
If you're not using python as a huge substitute for a math solver,
then avoid what I said like the plague and use a dict.
--Michael
On 1/15/08, Michael Langford <[EMAIL PRO
("file.csv")):
s = line.split(",")[1]
try:
f = float(s)
locals()["x%i" % subscript]=f
except:
locals()["x%i" % subscript]=s
print x1
print x0
On Jan 15, 2008 3:47 PM, Michael Langford <[EMAIL PROTECTED
gt;
>
>
>
>
>
>
>
>
> Never miss a thing. Make Yahoo your homepage.
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
no matter what you do. So if
nothing else, a determined attacker can just call your code again
without understanding it.
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
On 1/14/08, Ferruh KAYHAN <[EMAIL PROTECTED]> wrote:
> Dear Sir;
> Thank you for yo
ta
>
> sending out email
> we are using sendmail so we ll continue using that for now
> thanks
>
>
>
> On 1/13/08, Michael Langford <[EMAIL PROTECTED]> wrote:
> > It depends.
> >
> > If you're trying to write a MTA, think about looking at and st
> Messenger on the move. Text MSN to 63463 now!
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
sages via say
> [EMAIL PROTECTED]
>
> how to make python recieve emails and process it
> after that it is straight forward processing in python inserting in db etc
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mail
uot;Ture" is. In
> this case, I suspect you have misspelt "True". Programming languages
> are quite picky about correct spelling!
>
> --
> John.
> _______
> Tutor maillist - Tutor@python.org
>
twork programming.
>
> Thank you
>
> Put your friends on the big screen with Windows Vista(R) + Windows Live™.
> Start now!
> _______
> Tutor maillist - Tutor@pyth
, 2008 12:51 PM, johnf <[EMAIL PROTECTED]> wrote:
>
> On Wednesday 02 January 2008 06:56:54 am Michael Langford wrote:
> > While some people are Adobe haters("They hate the web...etc"), I think
> > a slick alternative available now is Flex2 calling python via XMLRPC.
&g
ecent release just a month or so
> ago), but if anyone has any suggestions, that'd be great.
>
> Thanks in advance,
> Roy Chen
>
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
m your python backend).
If you're really trying to avoid writing your own HTML out, the table
example from GWT(
http://gwt.google.com/samples/KitchenSink/KitchenSink.html#Panels) will do
what you're looking for. Pyjamas(http://code.google.com/p/pyjamas/) will
generate GWT code from pyt
= [record]
> >
> > Once you get ~ 80,000 records it starts slowing down pretty badly (I
> > would too ...).
> >
> > Here's hoping there is a really fast, pythonic way of doing this!
> >
>
>
> ___
> Tutor
eturn to
> that point of program execution?
>
> Any help from the PythonCard gurus would be appreciated. Happy holidays!
>
> _______
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
gt; 200~02023546~05090
> 200~02025427~05090
>
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
asses and arrays until the
> entire file has been read, then remove the file from memory. I first tried
> to use the basic Python XML libraries, and then my friend recommended SAX -
> but so far as I can tell, either method requires numerous lines of code to
> support one new tag. Is
File "C:/Python25/attributecrit.py", line 15, in
> crit1 = Critter("Poochie")
> TypeError: default __new__ takes no parameters
>
>
>
> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
>
>
> ___
academic project to boot.
If you are going to go with a processor on which you can embed Linux,
there is a python in the buildroot tree, however buildroot can be
quite the crap shoot, depending on processor and mix of applications
(It didn't work on the last board I was using
gt; x=0
> >>> for n in range(5):
> x = n+x
> <--Extra line
> here!
> >>> print x
> 10
> >>>
>
> Is that the kind of thing you are seeing?
>
>
>
>
>
> Never miss a thing. Make Yahoo your homepage.
>
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
be done with python. Or you can just parse the ifconfig output.
--Michael
On 12/12/07, Robert Recchia <[EMAIL PROTECTED]> wrote:
>
>
> On Dec 12, 2007 11:01 PM, Michael Langford <[EMAIL PROTECTED]>
> wrote:
> > Most easily: If your card supports ethtool, you
k card on a Linux os.
>
> --
> Robert Recchia
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
k card on a Linux os.
>
> --
> Robert Recchia
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
te www.earlylightpublishing.com
>
>
> Never miss a thing. Make Yahoo your homepage.
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
P
n what's happening.
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
but should work)
while not os.path.isfile("/var/jobs"):
datafile = file("/var/jobs")
map(myFileProcessingFunc,datafile.readlines())
datafile.close()
os.remove("/var/jobs")
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
__
your problem.
If you're on a unix-like OS, use netcat:
http://netcat.sourceforge.net/
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
t;
>
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.RowdyLabs.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
r example
> 'Second Worksheet' also, but I was just trying to get the 'first_files'
> working first. Instead of opening them each time, should I construct some
> type of data that stores the file, it's worksheets, and its modification
> times for each file fo
room for
> mischief in between.
>
> Another problem is that the task may fail and need redoing, but I think I
> can solve that given a solution to the above.
>
> Do let me know if my question isn't clear.
> Thanks in advance!
> Tom
>
> _
func_once_cleanup(print_and_return_big_list)
print_and_return_big_list(
On 11/2/07, Michael Langford <[EMAIL PROTECTED]> wrote:
>
> Decorate level2 with a decorator that caches:
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/425445
>
> --Michael
>
>
epeat
> it. Is there any way to do this or am I stuck with the (IMO ugly) loop
> form?
>
> Kent
>
> who actually does have a question occasionally :-)
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailm
, Jul 3 2007, 22:58:17) [GCC 4.1.1 20070105 (Red Hat
> 4.1.1-51)],
> PIL 1.1.6
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.TierOneDesign.com/
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
That's not really a working solution. My available development platform is a
Vista machine. I don't have an available XP platform. XP built exes run fine
on Vista, just not vice versa.
--Michael
On 10/31/07, O.R.Senthil Kumaran <[EMAIL PROTECTED]> wrote:
>
&
mpile down to an exeis it a valid
alternative? Should my CPython utility be compatible with ipy? I only use
the random,time,sys, and serial modules. I really know nothing about ipy.
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.TierOneDesign.com/
__
or
>
> Check\eDoseCheck.py", line 44, in
> d, fs1, fs2, fs3, fs4, fs5, fs6, fs7, fs8, fs9, fs10,
> NameError: name 'd' is not defined
>
> ___
> Tutor maillist - Tutor@python.org
> http://mail.pytho
rid of the error
> (or hide it) so that it's not visible to the person running the
> script (it's not the prettiest thing to see scroll by your screen :)).
>
> Thoughts / ideas?
>
> Thanks!
> .james
> ___
> Tutor maillist - Tutor@python.org
> http://ma
_
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.TierOneDesign.com/
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.TierOneDesign.com/
into the
python area of my brain. Python does not support that operation for +
--Michael
--
Michael Langford
Phone: 404-386-0495
Consulting: http://www.TierOneDesign.com/
On 10/15/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
>
> <[EMAIL PROTECTED]> wro
comma operator.
b+="," + r
Was not doing exactly what I said. What it's doing is creating a new string
from the one named by b, the string literal "," , and the one named by r.
After creating the string it assigns the name b to the new string.
--michael
--
Michae
1 - 100 of 141 matches
Mail list logo