Xah Lee wrote:
[mountains of irrelevant drivel which normal people would boil down to
"I don't understand the doicumentation]. Even then, I'd still be on the
side of the documentation.
The answer to the questions are resounding yeses, you fucking asses.
paypal me a hundred dollars and i'll rewri
Jimmy Retzlaff wrote:
Terry Reedy wrote:
I guess I don't understand some people's determination to not have users
install fully useable Python on their Windows machines. Doing so seems no
different to me than having to install (or upgrade) Shockwave, or Apple's
Quicksomething for Windows (not use
[EMAIL PROTECTED] wrote:
I found the fike _omnipy.pyd is that what you mean?
yep.
Here is my Lib Path:
[...]
As a first step you may consider adding the directory containing '_omnipy.pyd'
to your PYTHONPATH variable. Second, you may read any documentation you can
find at http://omniorb.sourceforge.
"Raffi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All,
>
> I hope I'm posting this question to the correct newsgroups. We have a
> web based database application that's accessed using IE. The
> application opens a popup window to run in. With all the popup blockers
> and com
Is it possible to check if you have permission to access and or change a
directory or file?
--
http://mail.python.org/mailman/listinfo/python-list
Ksenia Marasanova wrote:
Thanks!
I've read "Known issues and caveats" on the website:
"""
EmPy was primarily intended for static processing of documents,
rather than dynamic use, and hence speed of processing was not the
primary consideration in its design.
"""
Have you noticed any speed problem
James> Is it possible to check if you have permission to access and or
James> change a directory or file?
Yes, but it's generally much easier to try, then recover from any errors:
try:
f = open(somefile, "a")
except IOError, msg:
print "can't open", somefile, "for
[David Fraser]
> Others may find this helpful ; it's a pure Python wrapper for cStringIO
> that makes it behave like StringIO in not having initialized objects
> readonly. Would it be an idea to extend cStringIO like this in the
> standard library? It shouldn't lose performance if used like a stand
If I have os.path.walk(name, processDirectory, None) and processDirectory
needs three arguments how can I ass them because walk only takes 3?
--
http://mail.python.org/mailman/listinfo/python-list
[Robin Becker]
> People have mentioned the older v6 build scripts/tools still work. Last time I
> tried they seemed a bit out of date.
I routinely use the current CVS to build Py2.4 and Py2.5 with MSC6.
It is effortless and I've had no problems.
Raymond Hettinger
--
http://mail.python.org/mai
> If I have os.path.walk(name, processDirectory, None) and
> processDirectory needs three arguments how can I ass them
> because walk only takes 3?
Assuming that processDirectory is a function of yours that returns a bool,
then you'd do something like:
os.path.walk(name, processDirectory(a,b,
James Stroud wrote:
Other than using modules, I thought @classmethod took care of this kind of
need:
class SingleThing:
some_values = {"fanciness":0}
def __init__(self):
raise Exception, "not enough preceding stars to be fancy enough"
@classmethod
def why_so_fancy(self):
print "wh
fred.dixon wrote:
i have read the book and searched the group too
--
im not gettin it.
i want to read a global (OPTIONS) from file1 from a class method
(func1) in file2
i want to understand how this works.
--
#f
If I have a module File
which has some fucontions but I need globals filename and path how can I
set them so I can change them because I tryed.
filename="log.txt"
path="/home/Bob/"
def change_filename():
filename=raw_input()
def change_path():
path=raw_input()
they don't change and witho
My codes are below:
***
import win32evtlog
def check_records(records):
for i in range(0,len(records)):
print records[i].SourceName
h = win32evtlog.OpenEventLog(None,"System")
flags =
win32evtlog.EVENTLOG_BACKWARD_READ|win32evtlog.EVENTLOG_SEQUENTIAL_R
Dear All,
I have doubt regarding sorting. I have a list
that list have another list (eg)
list = [[1234,'name1'],[2234,'name2'],[0432,'name3']]
I want to sort only numeric value having array field.
How I need to do for that.
with regards
Prabahar
__
Use 'global':
def change_filename():
global filename
filename=raw_input()
def change_path():
global path
path=raw_input()
Even better, don't use globals at all; in 99% if the time, there are
better ways to achieve the same effect.
George
--
http://mail.python.org/mailman/listinf
Op 2005-04-12, Robert Kern schreef <[EMAIL PROTECTED]>:
> Antoon Pardon wrote:
>
>> What licence can I use? Somewhere they say you can combine python
>> code with GPL code. Does that mean that the resulting code has
>> to have both the GPL license as the PSF license, as both seem
>> to want that de
"praba kar" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
| Dear All,
|
|I have doubt regarding sorting. I have a list
| that list have another list (eg)
|
| list = [[1234,'name1'],[2234,'name2'],[0432,'name3']]
-> Be careful, 0432 is octal notation for 282.
|
| I want to
> "Fernando" == Fernando Perez <[EMAIL PROTECTED]> writes:
Fernando> Bummer. I wonder, if the changes are minor and easy,
Fernando> perhaps you (or someone else) could offer Gary to take
Fernando> over maintenance of readline/win32? It sounds
Someone on the ipython mailing list
Antoon Pardon wrote:
Op 2005-04-12, Robert Kern schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
What licence can I use? Somewhere they say you can combine python
code with GPL code. Does that mean that the resulting code has
to have both the GPL license as the PSF license, as both seem
to want t
201 - 221 of 221 matches
Mail list logo