__pycache__

2015-02-03 Thread Luke Lloyd
I am in school and there is a problem with my code: When I try to run my code in the python code in the python shell it waits about 10 seconds then shows an error that says “IDLE’s subprocess didn’t make connection. Either IDLE can’t start a subprocess or personal firewall software is blocking t

Re: A possible change to decimal.Decimal?

2012-03-04 Thread A. Lloyd Flanagan
On Friday, March 2, 2012 6:49:39 PM UTC-5, Ethan Furman wrote: > Jeff Beardsley wrote: > > HISTORY: ... > > What you should be doing is: > >import decimal >from decimal import Decimal > >reload(decimal) >Decimal = decimal.Decimal # (rebind 'Decimal' to the reloaded code) > >

Re: Free Software University - Python Certificate - In reply to Noah Hall

2011-03-29 Thread Lloyd Hardy
stions, thank you - although there has so far been no problem with attracting people - you appear to be misinformed :) I'm sure the community themselves will select a design / change of design of the FSU resources. If you'd like to join the FSU community then your views would certainly be

Re: Free Software University - Python Certificate - In reply to Noah Hall

2011-03-28 Thread Lloyd Hardy
back to the Free Software community and hope that you are also not deterred by nay-sayers! :) Lloyd FSU Founder -- http://mail.python.org/mailman/listinfo/python-list

Free Software University - Python Certificate - In reply to Noah Hall

2011-03-26 Thread Lloyd Hardy
.so, maybe you can help me to understand your post? It seems a strange post, based on these facts... Maybe you'd like to come along and actually get involved? You would be most welcome.. our other 800 members will be happy to see you, I'm sure... come and contribute! :) Lloyd FSU

Python version of perl's "if (-T ..)" and "if (-B ...)"?

2010-02-12 Thread Lloyd Zusman
it's a -B file; otherwise it's a -T ... file. Also, any file containing null in the first block is ... considered a binary file. [ ... ] Thanks in advance for any suggestions. -- Lloyd Zusman l...@asfast.com God bless you. -- http://mail.python.org/mailman/listinfo/python-list

MUD Game Programmming - Python Modules in C++

2009-10-13 Thread Christopher Lloyd
then try to compile in release mode: #ifdef _DEBUG #undef _DEBUG #include #define _DEBUG #else #include #endif I've tried this, and it compiles successfully but when run, the program is the same - It doesn't work. I've correctly set up all my library files and link (at leas

Re: The Jihad Candidate

2008-08-21 Thread Lloyd
On Aug 19, 10:59 pm, [EMAIL PROTECTED] wrote: > DUDE, have you gone mad ? The ZIONIST MEDIA never barked that it was a > jew or a yank bastard when those fake anthrax letters were mailed. 911 > was an > inside job. Thermate cutter charges were used by yank bastards > themselves. > The media never d

Python evening class

2008-07-18 Thread lloyd
I am learning about python but I would like to attend and evening class at college as I find it hard to study at home. Does anyone know of such a class in London UK? -- http://mail.python.org/mailman/listinfo/python-list

Truncated postings

2008-02-13 Thread lloyd
Hello, Over the past 24 hours or so, all of my Python-List e-mails have been truncated to subject list only. No posts. Are others experiencing this problem? Or is it just on my end? Thanks, Lloyd R. Prentice -- http://mail.python.org/mailman/listinfo/python-list

RE: Import and execfile()

2008-01-12 Thread lloyd
y sources discourage the use of exec(), execfile(), etc.? Comment: The Karrigell Python web framework (http://karrigell.sourceforge.net/en/include.htm) has a truly elegant function for loading stuff like some_config.py called Include(). I haven't looked at the source, but it is very handy. I rea

RE: where do my python files go in linux?

2008-01-12 Thread lloyd
reads "my_scripts" -- without the quotes, of course. This one area where Python docs are pretty vague. It took me awhile to piece this together. But it works. Best wishes, Lloyd-- http://mail.python.org/mailman/listinfo/python-list

Python web aps - A matter of security

2008-01-05 Thread lloyd
Questions: who should own these modules, what groups should have access, and how should permissions be set? 3) Is there a better way to organize my Python modules? Are there other security issues I should heed? Many thanks, Lloyd -- http://mail.python.org/mailman/listinfo/python-list

RE: I want to set up a simple web server

2007-12-27 Thread lloyd
> details like processing image file, different file type(like FLV) .. > etc. Any recommendation or tools suggested for me? All the best, Lloyd -- http://mail.python.org/mailman/listinfo/python-list

file upload permissions

2007-12-19 Thread lloyd
27;ve been trying for the life of me to find out where and how permission is being denied on the development server. But it eludes me. Would much appreciate guidance. Best wishes, Lloyd -- http://mail.python.org/mailman/listinfo/python-list

Re: Python implementation of "include"

2007-12-13 Thread lloyd
le.py" works in Karrigell, even though it is not accessible through PYTHONPATH. -- if imported, the print statement myFile.py would only run the first time through unless reload(myFile) is executed in the proper place. Please correct me if I'm mistaken. All the best, Lloyd-- http://mail.py

Python implementation of "include"

2007-12-13 Thread lloyd
th a pure python construct. I've discovered several ways to do it, but they all seem kludgy in one way or another. Is there a simple, elegant way to do this? Many thanks, Lloyd -- http://mail.python.org/mailman/listinfo/python-list

Re: Working with fixed format text db's

2007-06-09 Thread Lloyd Zusman
ord takes up a specific amount of space. >> >> [ ... ] > > We already have '%-12s' to space fill for a length of 12, but it is > not truly fixed-length, as if the value has a length greater than 12 > you need it to be truncated, and this construction will not do tha

Re: subexpressions (OT: math)

2007-06-03 Thread Lloyd Zusman
t; > but they don't. That's because for arbitrary functions f and g, f(g(x)) is not equivalent to g(f(x)) This has nothing to do with whether or not x is a dimensionless number. (replace "f" with "degrees_to_radians" and "g" with "sqrt") -- Lloyd Zusman [EMAIL PROTECTED] God bless you. -- http://mail.python.org/mailman/listinfo/python-list

Re: When will 2.5.1 be released?

2007-03-06 Thread A. Lloyd Flanagan
On Mar 4, 2:49 pm, "Nile" <[EMAIL PROTECTED]> wrote: > This is not a big deal but I would like to use Tix with 2.5. My > understanding is this bug will be fixed in the 2.5.1 release. Does And while we're waiting for 2.5.1, can somebody post a clear (as opposed to the one that comes with Tix ;)) e

Re: print a ... z, A ... Z, "\n"' in Python

2007-03-03 Thread Lloyd Zusman
a string that doesn't correspond to any pre-defined constants, we're hosed. For example, there isn't a constant that would correspond to this Perl-ism: print l ... w, e ... j, L ... W, E ... J, "\n"; -- Lloyd Zusman [EMAIL PROTECTED] God bless you. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to covert ASCII to integer in Python?

2007-02-22 Thread Lloyd Zusman
ed Hat Linux 3.2.2-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> ord('i') 105 >>> chr(105) 'i' >>> IIRC, the first use of the names "ord" and "ch

Re: Joining threads but allowing signals to main thread?

2007-01-11 Thread Lloyd Zusman
Gabriel Genellina <[EMAIL PROTECTED]> writes: > At Thursday 11/1/2007 03:43, Lloyd Zusman wrote: > >> while threading.activeCount() > 1: >> time.sleep(0.001) >> >> sys.exit(0) >> >>Is there any way to allow my program to respond t

Joining threads but allowing signals to main thread?

2007-01-10 Thread Lloyd Zusman
to signals without having to busy-wait in the main thread? Thanks in advance. -- Lloyd Zusman [EMAIL PROTECTED] God bless you. -- http://mail.python.org/mailman/listinfo/python-list

Re: Recommended way to force a thread context switch?

2007-01-06 Thread Lloyd Zusman
my app ... or at least it did so with the original large checkinterval. -- Lloyd Zusman [EMAIL PROTECTED] God bless you. -- http://mail.python.org/mailman/listinfo/python-list

Re: Recommended way to force a thread context switch?

2007-01-06 Thread Lloyd Zusman
Duncan Booth <[EMAIL PROTECTED]> writes: > Lloyd Zusman <[EMAIL PROTECTED]> wrote: > >> I have a python (2.5) program with number of worker threads, and I want >> to make sure that each of these does a context switch at appropriate >> times, to avoid starvation

Recommended way to force a thread context switch?

2007-01-06 Thread Lloyd Zusman
ks in advance. -- Lloyd Zusman [EMAIL PROTECTED] God bless you. -- http://mail.python.org/mailman/listinfo/python-list

Re: why would anyone use python when java is there?

2006-11-30 Thread A. Lloyd Flanagan
On Nov 30, 3:19 am, "gavino" <[EMAIL PROTECTED]> wrote: > I want to learn to program and I can't seem to pick a direction. A > java guy I know makes a lot of $, but a lot of reading I have done > shows lisp smalltalk and haskell to be really nice, as well as of > course python. It seems python is

Re: WeakrefValueDictionary of Callables?

2006-05-21 Thread Lloyd Weehuizen
o extract this information somehow from the bound method and give the external API a more natural feel. Is that possible? Steve Holden wrote: > Lloyd Weehuizen wrote: >> Hey >> >> I'm trying to set up a WeakrefValueDictionary of callables however as >> soon

WeakrefValueDictionary of Callables?

2006-05-20 Thread Lloyd Weehuizen
Hey I'm trying to set up a WeakrefValueDictionary of callables however as soon as my method that adds the callable to the dictionary exits the value is removed? Is there any way around this? Example: import weakref TEST_EVENT = 1 class TestBinder: def __init__( self ):

Forced to Embed?

2005-10-31 Thread Lloyd
Hi After researching on Extending and Embedding it appears Extending is favoured greatly over Embedding. I've tested Boost::Python successfully in a test project but have run into an issue. I have about 10 shared libraries that up until now have only been statically linked into an application

Announce: Python for .NET 1.0 RC2 released

2005-06-05 Thread Brian Lloyd
eases. Enjoy! ;) Brian Lloyd[EMAIL PROTECTED] V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -- http://mail.python.org/mailman/listinfo/python-list

Announce: Python for .NET 1.0 RC1 released

2005-05-10 Thread Brian Lloyd
s and patches for past releases. At this point, the only thing I plan to do before a 1.0 final is fix any new issues and add to the documentation (probably including a few specific examples of embedding Python for .NET in a .NET application). Enjoy! ;) Brian Lloyd[EMAIL PROTECTED

Re: [Tutor] Re: Reading text lines from a socket

2005-03-25 Thread Lloyd Kvam
Well, I've never used it, but sockets do have the makefile method. That would seem to fit what you're trying to do. Sandip Bhattacharya wrote: > [Reposting to the general list too] > > Lloyd Kvam wrote: > >> Sockets deal with packetized data. The network p

Re: [OT] Re: SysLogHandler is drivin me nuts PEBCAC

2004-11-29 Thread Lloyd Zusman
Jan Dries <[EMAIL PROTECTED]> writes: > Slightly OT, but regarding the title, shouldn't it be PEBKAC, since it's > keyboard and not ceyboard? Your computer didn't come with a ceyboard? :) -- Lloyd Zusman [EMAIL PROTECTED] God bless you. -- http://mail.python.