Tim Rowe wrote:
I have Python 2.5 working just fine on my system.
I've tried downloading and installing the MS Windows Python
extensions, but can't get pythonw.exe (that's the windows executable,
right?) to do anything. I double-click it, nothing happens. I run it
from a command
2008/7/4 Tim Golden <[EMAIL PROTECTED]>:
> Ummm. That's the Python interpreter but without a window so
> (unhelpfully, from your point of view) it's doing exactly the
> right thing.
>
> I assume you were trying to run the PythonWin Python
> interpreter and de
ress, and Outlook Express cannot be controlled by COM (although MAPI
works).
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
with? I mean, what kind of a
program is this?
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
There are couple of HTML examples using Pyparsing here:
http://pyparsing.wikispaces.com/Examples
--Tim
On Sun, 2008-07-06 at 14:40 +0200, robert wrote:
> Often I want to extract some web table contents. Formats are
> mostly static, simple text & numbers in it, other tags to be
Todd wrote:
I ran a python script last night which connects to a matlab automation
server via DCOM (using win32com). I expected to see the results when
I came in this morning. But apparently, not long after I left, python
stopped. I hit enter in the console, and it started again.
Symptomati
t;
> msiexec /i 'ProgramMenuFolder=C:\Documents and Settings\All
> Users\StartMenu\Programs\Programming'
Thanks, that looks like just what I need.
--
Tim Rowe
--
http://mail.python.org/mailman/listinfo/python-list
korean_dave wrote:
How do I use the win32com API to manipulate IE windows ALREADY open?
ie = Dispatch("InternetExplorer.Application") opens a new window.
But I'd like to be able to find, of windows already open, a specific
window (with a specified property, matching url, etc.)
I have this str
There is an "SQLite Manager" add-on for Firefox which is pretty neat.
Have a look at
https://addons.mozilla.org/en-US/firefox/search?q=sqlite&cat=all. Might
be useful to you!
Tim
Steffen Mutter wrote:
Hi Joe!
Am Tue, 01 Jul 2008 17:51:35 -0700 schrieb Joe Goldthwaite:
A.T.Hofkamp wrote:
On 2008-07-09, |e0 <[EMAIL PROTECTED]> wrote:
So, i can't use wmi module on linux?
On Wed, Jul 9, 2008 at 9:14 AM, Lamonte Harris <[EMAIL PROTECTED]> wrote:
I think the win32 module is only for windows.
Welcome to the world outside MS.
Many python modules don't actually
> it says: IOError: [Errno 2] No such file or directory:
> 'Folder/1/myfile.txt'
>
I believe it's because x is the position marker what you want instead is
the contents of folders at x; therefore folders[x]
HTH,
Tim
--
Timothy Cook, MSc
Health Informatics Resea
em 1'
>
>
> The weather is nice
> Item 1
> We will go to the seaside
> ...
>
> Only the lines coming after Item 1 should be read
file=open(filename)
while True:
line=file.readline()
if not line:
break
if
em 1'
>
>
> The weather is nice
> Item 1
> We will go to the seaside
> ...
>
> Only the lines coming after Item 1 should be read
file=open(filename)
while True:
line=file.readline()
if not line:
break
if
|e0 wrote:
I did not mean to use WMI on linux, but query win machines *from* linux.
Thank you for your clarifications
In principle you ought to be able to use some kind of DCOM bridge
(since WMI access if via COM/DCOM). I've no idea if anyone's attempted
this or even if all the pieces are in pl
Keith Hughitt wrote:
I've been looking around on the web for a way to do this, but so far
have not come across anything for this particular application. I have
found some ways to enable tab completion for program-related commands,
but not for system filepaths. This would be nice to have when
prom
es that description. :-)
In addition to the two links in the signature below where you can get a
description and source code; there is an entry on Ohloh that says it is
well documented code. http://www.ohloh.net/projects/oship
I would appreciate your feedback.
Cheers,
Tim
PS. The Launchpad an
uble convincing myself, let alone him.
If you are involved in this kind of thing please get in touch with me.
Thanks,
Tim
--
http://mail.python.org/mailman/listinfo/python-list
es: IOError: [Errno 2] No such file or directory:
>> "Folder/['1']/myfile.txt"
Just like that.
>As far as the Python question of string substitution, "%s" % var is an
>appropriate way.
Right.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
Keith Hughitt wrote:
On Jul 9, 10:18 am, Tim Golden <[EMAIL PROTECTED]> wrote:
Keith Hughitt wrote:
I've been looking around on the web for a way to do this, but so far
have not come across anything for this particular application. I have
found some ways to enable tab completion
Bill Davy wrote:
I'm not sure OL2003 can read news. I think perhaps some later OL can (added
tot he View menu, perhaps?). So I use OL Express to read news. The OL with
which I wish to communicate is:
Application name Outlook
Version 11.0
Build 8217
Product ID 70141-700-0350904-56905
Languag
Salim Fadhley wrote:
Does anybody know of a python module which can do process management
on Windows? The sort of thing that we might usually do with
taskmgr.exe or process explorer?
For example:
* Kill a process by ID
* Find out which process ID is locking an object in the filesystem
* Find ou
Sparky wrote:
I don't know how feasible this is, but is it possible to have users
log in to access a local database file in such a way that allows the
program to know what user name and password they logged in with? This
would involve separate user names and passwords for each user.
Well, this
Sparky wrote:
On Jul 10, 9:58 am, Tim Golden <[EMAIL PROTECTED]> wrote:
Sparky wrote:
I don't know how feasible this is, but is it possible to have users
log in to access a local database file in such a way that allows the
program to know what user name and password they logged in
Thanks for all the replies - they have all been helpful.
On reflection I think our problems are probably design and people related.
Cheers,
Tim
Michele Simionato wrote:
On Jul 10, 6:32 am, Tim Mitchell <[EMAIL PROTECTED]> wrote:
Hi All,
I work on a desktop application that ha
moijes12 wrote:
I need to use a .dll from a python script.I have installed pywin.But
in the program ,which is like:
import dllName
I get :
Import Error : DLL not found
Please suggest a solution!
Well, the short answer is: use the ctypes module.
The longer answer is: read around the subjec
Bill Davy wrote:
and since then have been busy with work, and my other job, and the garden.
Aha! So you're English, are you? Looks like you're in the West Country.
Weather map suggests you're not short of rain over there :)
Now I am back looking at this (and using WInUSB to talk to a Maxim 342
Bill Davy wrote:
Traceback (most recent call last):
File "H:/Personal/OutlookIF1/t2.py", line 18, in
outlook = win32com.client.gencache.EnsureDispatch
("Outlook.Application")
File "C:\Python25\Lib\site-packages\win32com\client\gencache.py", line
536, in EnsureDispatch
mod = EnsureM
reates an instance of the class ItemTree.
I currently use an if ..., elif ... construct.
Is there a better, more efficient, more Pythonic way of doing this?
Thanks,
Tim
--
**
Join the OSHIP project. It is th
Marcus,
You should probably contact the Malaysian Public Sector Open Source
Competency Centre (OSCC) in Cyberjaya. http://www.oscc.org.my
HTH,
Tim
On Mon, 2008-07-14 at 10:57 +0800, Marcus.CM wrote:
> Hi,
>
> I am thinking of promoting Python for the local developers here in
&
and it's one of the things I love about
Python.
>so obv while var means while not empty or why not zero but it isnt
>something youd guess unless youd beeen shown it.
It's clearly stated in the documentation. I don't know how you concluded
that True and False were the only b
codec can't decode byte 0xb7 in position
14: ordinal not in range(128)
[... snip code ...]
You should probably post this to comp.python.windows. Tim Golden
(author of WMI interface) monitors that list religously (thanks Tim).
Actually, I follow this one pretty much, too. I've just
ved
a 'str'
What is the correct way to interpret these symbols that come to me as a
string?
Thanks,
Tim
--
**
Join the OSHIP project. It is the standards based, open source
healthcare application platform
dp_pearce wrote:
Hi all,
I have come across an error while using zipfile and I can't seem to
find somewhere that explains the problem. My script needs to be able
to take text files from one drive and add them to zip files on another
drive. The following seems to work just fine.
import zipfile
Ty hensons wrote:
how can i save my command prompt screen?
(Trying to be helpful here...)
What do mean by "save" and what do you mean
by "command prompt screen"? And, especially,
what platform are you running on?
TJG
--
http://mail.python.org/mailman/listinfo/python-list
patrol wrote:
Situation (2):
result = new_process.terminate()
File "C:\Python25\lib\wmi.py", line 494, in __getattr__
handle_com_error (error_info)
File "C:\Python25\lib\wmi.py", line 190, in handle_com_error
raise x_wmi, "\n".join (exception_string)
UnicodeDecodeError: 'ascii' co
patrol wrote:
Situation (1):
result = new_process.terminate()
TypeError: 'int' object is not callable
I'm not sure exactly what's causing that
particular effect, but I would suggest that
you call the method as .Terminate (note the
initial capital). On my box, calling .terminate
simply raise
dp_pearce wrote:
When I saw "Permission denied", this was my suspicion. And I think you
are very right. I have just gone back and tried writing to a file
outside of C:, in this case C:/output/, and it seems to work again.
Would I be right in guessing there is no way around this?
Well, you coul
Sells, Fred wrote:
I'm running python 2.5 (or 2.4) in an XP environment.
I downloaded and installed the .dll's from
OpenLDAP-2.4.8+OpenSSL-0.9.8g-Win32.zip and copied the .dll's in
c:/windows/system32 as instructed
now I get this error. Is there anyway to avoid building the python_ldap
b
Sparky wrote:
Hello! I am writing some software that will have many users accessing
the same file resource at once for reading purposes only. I am
programming on (Ubuntu) Linux and my question is in Windows, can I
have it so that the same file can be open in read mode by more than
one person or c
patrol wrote:
http://timgolden.me.uk/wmi-project/wmi.py
It cannot work either.
Oh well. It was only a quick fix! I'll try
to get some kind of non-ASCII edition of Windows
to test against. As I understand it, the situation
is that some WMI exception (ie coming from the
underlying WMI/COM subsy
Andreas Tawn wrote:
Terry Reedy wrote:
Wrong.
Thank you.
For loop variables continue after the loop exits. This is
intentional.
I never knew that and I can't find reference to it in the docs.
Interesting starting point. It never occurred to me
that they might not. (So I didn't look for an
Fredrik Lundh wrote:
Ken Hartling wrote:
> Thanks .. but I want to find out if the system is "running on 64bit"
> even when the interpreter is a 32-bit build executable ("what python
> was built on"). platform.architecture() and platform() in general
> seems to only be looking at the build
patrol wrote:
> The errors are in the following:
>
> Traceback (most recent call last):
> File "D:\My Documents\code\python\wmi\test.py", line 5, in
> c = wmi.WMI ("non-existent computer")
> File "C:\Python25\lib\wmi.py", line 1199, in connect
> handle_com_error (error_info)
> File
patrol wrote:
> -2147023174
> 'RPC \xb7\xfe\xce\xf1\xc6\xf7\xb2\xbb\xbf\xc9\xd3\xc3\xa1\xa3'
> None
> None
>
> --
> import pythoncom
> import win32com.client
>
>
> try:
> win32com.client.GetObject ("winmgmts://blahblah")
> exc
Assuming that the error comes back in the sys.stdout encoding, the following
version *should* work ok. I still haven't got a non-English set up to test it
on, but it certainly does return a Unicode error message.
http://timgolden.me.uk/wmi-project/wmi.py
The usual test case, if you wouldn't min
patrol wrote:
import wmi
wmi.WMI('non-existent computer')
> Traceback (most recent call last):
> File "", line 1, in
> File "C:\Python25\lib\wmi.py", line 1199, in connect
> handle_com_error (error_info)
> File "C:\Python25\lib\wmi.py", line 184, in handle_com_error
> excep
patrol wrote:
> On 7月17日, 上午12时16分, Tim Golden <[EMAIL PROTECTED]> wrote:
>> Assuming that the error comes back in the sys.stdout encoding, the following
>> version *should* work ok. I still haven't got a non-English set up to test
>> it on, but it certainly doe
patrol wrote:
I will try to modify the wmi.py ,however I'm a novice.It will take a
long time. You can give it up temporarily. If you don't mind ,can you
tell me where needs modifying and how? Just unicode? Or Other?
OK. Thanks for your patience on this one, Patrol. What I propose
to do is to di
er, you have some overall problem you are
trying to solve, and you have focused in on one POSSIBLE solution. Instead,
tell us about the PROBLEM, and we'll offer good solutions.
>If you can't give a solution, just ignore it!
NO ONE will be able to give you a solution, because you h
n this contexted, it was mapping operator.
What??
Python does not have a "mapping operator". It has a "map" function, but no
equivalent operator.
% is either the string formatting operator (when the left-hand operand is a
string) or the modulo operator (when the left-hand op
Bev in TX wrote:
I am a complete newbie at building Python. I am trying to build it
under MS Windows Vista (64-bit AMD) with MS VS2005. I'm doing that
because I need debug libraries, which I did not see in the standard
distribution.
I'll leave others to comment on whether or not
it's expected
Terry Reedy <[EMAIL PROTECTED]> wrote:
>
>Tim Roberts wrote:
>> Steven Howe <[EMAIL PROTECTED]> wrote:
>>
>>> Terry Reedy wrote:
>>>> korean_dave wrote:
>>>>> What does this operator do? Specifically in this context
>>
dard.
>I'm not dissing Python, here. Just noting that, if it is written in C,
>that throws a curve at me in trying to balance the value of learning
>Python vs. some other major language.
I would say you have a very strange criteria for deciding whether a
language is worth learn
Neuberger, Sheldon N. wrote:
Is there any way to make urllib2 handle NTLM authentication?
Frankly, I'd hate to try. Have a look at this:
http://sourceforge.net/projects/ntlmaps/
in case it helps, either by providing a solution or
at least by illustrating some code.
In addition, look at the s
mk wrote:
Grant Edwards wrote:
Using punch-cards and paper-tape. Real programmers can edit
their programs with a pointy stick and some home-made
sticky-tape.
Wrong! Real programmers can program using only Touring machine
Is that some kind of bicycle?
TJG
--
http://mail.python.org/mailman/
Bev in TX wrote:
Thanks for letting me know about this. I installed Subversion and
tried to make the build work like that, but it fails.
[... snip problems ...]
I'm afraid I'm not using VS 2005, nor Vista, nor 64-bit,
so I hope someone else can help. If you don't get any take-up
here try the
Frank Millman wrote:
In this particular case, when it is executed, it does a whole lot
more. It reads in some parameters, establishes a socket connection,
starts a thread, and starts monitoring the socket using select.select.
It also exposes some functions that disguise the complexity of reading
or), to move Python to the
>further step of outputting the machine code?
I don't know why you think GNU has anything to do with this. There's
nothing that prevents the Python run-time from JIT compiling the code.
IronPython does this. CPython does not. It's an implementati
. gcc generates a text
file and pipes it to gas. The __asm__ directive just adds strings to the
assembler file.
Visual C++ generates machine language. The compiler has to include an
assembler for inline assembly.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://
B wrote:
Now it works, but it runs quite slow (compared to the c++ app). I
changed gwl from strait recursion to use a generator and that helped,
but it still takes 0.5-1.0 seconds to populate the tree. What I'm
wondering is am I doing it in a really inefficient way, or is it just
python?
W
frankrentef wrote:
Can someone help with a PAMIE issue? I'm new to Python / PAMIE and
they seem like great tools but to be honest I'm finding that no
responses to questions can be found (Experts Exchange, etc.) I'm
hoping this will be the place.
I tried to duplicate the authors "ie.writeScript
frankrentef wrote:
Can someone help with a PAMIE issue? I'm new to Python / PAMIE and
they seem like great tools but to be honest I'm finding that no
responses to questions can be found (Experts Exchange, etc.) I'm
hoping this will be the place.
I tried to duplicate the authors "ie.writeScript
Just wondered whether the OP's Subject was a
deliberate play on "flog a dead horse" or
merely an ironic one :)
TJG
--
http://mail.python.org/mailman/listinfo/python-list
frankrentef wrote:
THNX for your response. Based on the authors code it's very simple.
from cPAMIE import PAMIE
ie=PAMIE ()
#ie.navigate ("google.com")
#ie.linkClick
#ie.textBoxSet
#ie.writeScript
ie.navigate ('https://login.yahoo.com/config/mail?.intl=us')
#ie.scriptWrite ()
ie.scriptWrite
Robert Rawlins wrote:
I’m looking to implement an exit/termination process for an application
which can be triggered by A) a keyboard interrupt or B) termination of
the application as a Daemon using a signal.
I have a whole bunch of tasks I want to perform as a cleanup before the
application
o; the user's code is compiled into
machine language. Both of them are "Python".
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
client
excel = win32com.client.Dispatch( 'Excel.Application' )
xlCSV = 6
...
for nm in list_of_file_names:
csv = os.path.splitext( nm )[0] + '.csv'
wb = excel.Workbooks.Open( nm )
wb.SaveAs( csv, xlCSV )
wb.Close()
If you want to watch the progress, add &
card. This is already done to a degree in C. But
>i don't want to dive in to the C code right now.
>
>I prefer Python so may i implement such a feature by Python?
Not easily, at least not without a helper DLL in C. And since the app
won't be that large, you might as well
ith
a different path. Here are some code fragments.
logfile=os.getcwd().rstrip('src/oship/atbldr')+'/oship/log/at_build_errors.log'
this worked when the path was:
/home/tim/ref_impl_python/TRUNK/oship/src/oship/atbldr
the code above returns:
/home/tim/ref_impl_python/
chris <[EMAIL PROTECTED]> wrote:
>On Jun 30, 4:37 am, Tim Roberts <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>
>> >Could anyone help me, I'm a python noob and need some help. im trying
>> >to find some code that will, given ascreenco-
t;executable for Windows 64 bit platforms. Is this true?
It's true for ALL operating systems, not just Windows. The ia64 (Itanium)
and the amd64 are completely separate processors with VERY different
instruction sets.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http:/
file identifiers before launching the
>editor.
If you want to post some code, perhaps we can find something.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
Tim Cook <[EMAIL PROTECTED]> wrote:
>
>I just ran into an issue with the rstrip method when using it on path
>strings.
>
>When executing a function I have a need to strip off a portion of the
>current working directory and add on a path to a log file. Initially
>this wo
On Sun, 2008-07-27 at 04:32 +, Tim Roberts wrote:
> This doesn't do what you think it does. The parameter to rstrip is a set:
> as long as the last character is in the set 'abcdhiloprs/', it will remove
> it and check the next one. All of the characters in "sho
Robert Rawlins wrote:
I’ve been looking at the following recipe for generating a GUID
http://code.activestate.com/recipes/163604/ however I note that its
about 6 years old. Has python since adopted an internal module for GUID
generation? Or is this 3^rd part module still the best option?
Not
Atul. wrote:
Hi Fredrik and Terry,
Well I got this on IDLE I think I have done something wrong.
import codecs
f = open("C:\Documents and Settings\admin\My Documents\corpus\dainaikAikya collected by
sushant.txt","r", "utf_8")
Traceback (most recent call last):
File "", line 1, in
f =
ter would be running on an interpreter, but that
>doesn't get the user's statement 'a= b+ 1' into registers-- it gets
>'push, push, add, pop' into registers.
You have a fundamental misunderstanding of the compilation process.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Thanks for everyone's feedback - excellent detail - all my questions
have been answered.
BTW: Roel was correct that I got confused over the AMD and Intel naming
conventions regarding the 64 bit versions of Python for Windows. (I
missed that nuance that the Intel build re
Victor Subervi wrote:
Hi:
I would like to make my windows python interpreter work like my linux
one. I want to be able to cut and paste multiple lines of code.
You can already do this: what are you trying which isn't working?
Now I can only paste one line at a time.
I do not want it to inde
Victor Subervi wrote:
def a():
chars = ['\\i0', '\\u0', '\\qc', '\\b0', '\\ql', '\\i', '\\u', '\\b',
'\\yz']
rtf_markup = 'viewkind4\uc1\pard\nowidctlpar\qc\i\f0\fs36 Who is like
the Beast? Who can wage war against him?\par'
for char in chars:
c = '(?<=' + char + ')'
test = re.se
d be really nice to have a
unified interface into the __sign_auth function for the two different
use cases.
Tim Henderson
--
http://mail.python.org/mailman/listinfo/python-list
ote servers and every
> thing.
> Do we have such a tool for Python projects?
> Thank you.
You might want to take a look at Paver.
http://www.blueskyonmars.com/projects/paver/
Tim
--
http://mail.python.org/mailman/listinfo/python-list
ded.
Hi,
I believe there are a couple of options but pyscopg, and PyGreSQL seem
to be popular.
Tim
--
http://mail.python.org/mailman/listinfo/python-list
Yes i am aware of that but I want the code to be self documenting, so
the intent is clear. I actually have an implementation using that
style which you suggest. I would like cleaner style, like the one i
suggested in my first post.
Cheers
Tim Henderson
--
http://mail.python.org/mailman/listinfo
if so; why? if not why not?"""
self.c=c
Thanks for answering these very basic questions but I am not certain
about the correct way. I know that in Python, assignment in the
GrandChild class will work but is that correct?
--Tim
--
*
marc wyburn wrote:
Hi I'm using SQlite and the CSV module and trying to create a class
that converts data from CSV file into a SQLite table.
My script curently uses functions for everything and I'm trying to
improve my class programming. The problem I'm having is with variable
expansion.
self.
Gerhard Häring wrote:
My code would probably look very similar. Btw you don't need to use
list() on an iterable to pass to executemany(). pysqlite's executemany()
accepts anything iterable (so generators work fine, too).
Thanks for that. My finger-memory told me to do that, possibly
because so
ned SCons, http://www.scons.org/
I've used it a bit and found it pretty good, out of the box.
--Tim Arnold
--
http://mail.python.org/mailman/listinfo/python-list
CPython implementation -does- -not-.
And again, I never said that it did. CPython is an interpreter. the
user's code is never translated into machine language.
>My point is, CPython takes more than seven steps. My question is,
>does IronPython?
So, if compiler B isn't as good
for wxWidgets/
>wxPython, the last question is what do I gain from going QT over wx?
>I've seen great applications written with both (on my computer I have
>the wxPython Digsby and the pyQT apps "Mnemosyne" and "Anki". All seem
>to be solid.
Yep. Perso
sterling wrote:
I'm curious as to why the difference between IDLE and pythonWin when
using win32com.
opening an excel file, i've attempted to grab the chart information
out of the file.
commands like co = ChartObjects(1) works in pythonWin but doesn't
work in IDLE.
however, on both co = charto
On Thu, 2008-07-31 at 20:46 -0700, Paul McGuire wrote:
> Be careful though, you should not modify a sequence while iterating
> over it.
>
> -- Paul
But if I can't remove each hair from the sequence as it's actually
removed then how will I ever know when
at the compromises that are appropriate choices for one task are
inappropriate for another. Python is a great tool. So is C#. You /can/
do the same job with either, but the smart move is to choose the one
that is best adapted to the task in hand.
--
Tim Rowe
--
http://mail.python.org/mailman/listinfo/python-list
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>On Thu, 31 Jul 2008 06:17:59 GMT, Tim Roberts <[EMAIL PROTECTED]> declaimed
>the following in comp.lang.python:
>
>> And again, I never said that it did. CPython is an interpreter. the
>> user's code is
the same; it's just that there's more processing
going on before jumping to "main".
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
08, 17:16:53)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.maxint
9223372036854775807
>>>
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ter coz
>it has a better documentation.
Holy moly, did you send this from your cell phone?
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ll
week, so that a partial Jan 1 week is actually part of the previous year.
And you get the whole "does the week start on Sunday or Monday" debate as
well.
You need to make sure that the datetime functions match your business
rules.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boek
er 2
>characters more; the space (code 32), and one not-printable char
>(which doesn't create any problem) by last.
This leaves some tricky issues. How will you denote the end of a base 96
sequence? If every printable character can be part of the ciphertext, what
can you use as an end ma
, 5 bytes becomes 6. So, you
would reduce the conversion penalty from 1.33 down to 1.17.
It's not hard to write modules to translate from binary to Base96 and back
again, and doing so would be a great exercise to explore the issues in this
kind of encoding.
--
Tim Roberts, [EMAI
5701 - 5800 of 7700 matches
Mail list logo