can
do it without Excel, using the COM interfaces for "structured storage",
like IPropertySetStorage and IPropertyStorage.
>Is pywin32 one of the possible lib available?
You will need PyWin32 in order to use COM to launch Excel, or use the
structured storage interfaces.
--
Tim Rob
IS funny. Interesting how a careful choice of arugments will fool us.
One of my favorite math jokes is like that. A teacher asked a student to
reduce the following fraction:
16
64
He says "all I have to do is cancel out the sixes, so the answer is 1/4".
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
MRAB wrote:
>
>I'd just like to point out that it's a convention, not a rigid rule.
Reminds me of the catch-phrase from the first Pirates of the Caribbean
movie: "It's more of a guideline than a rule."
--
Tim Roberts, t...@probo.com
Providenza & Boekelhei
rs, and I am trying to get excited about it, but
it has succumbed to the same special-characters-as-syntax disease that
killed Perl. Much Ruby code is just unreadable.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
application
you are launching is buffering its output, so that it doesn't SEND until
the application ends.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
time = get_fields()
date = datetime.datetime.fromordinal( date.toordinal() )
print str(date+time)
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ements. For example:
data = {}
for n in range(3):
data[n] = read_from( 'filename%d' % n )
It IS possible to create variables on the fly, but except in very special
situations, it is almost never the right way to do things.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
,
[1,1,1,1,1],
[1,1,1,1,1],
[1,1,1,1,1],
[1,1,1,1,1]]
Would you say there were 12 lines there?
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
his use case -- interprocess
communication. The WM_USER range is only if you are inventing a custom
message for some new purpose.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ed
>as the "mbcs" codec.
>
>import sys
>print repr(sys.argv[1])
>print repr(unicode(sys.argv[1], "mbcs"))
>
>C:\bin>python glurp.py abcß
>'abc\xdf\x95'
>u'abc\xdf\u2022'
There's another entry in my "keep this post
;\xb6'
8 doesn't have anything to do with it. What you have there is hexadecimal.
0377 is an example of an octal number.
However, as was pointed out elsewhere, the same thing would be true even if
you used 'z'.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
>cool. so this line
>server = smtplib.SMTP(localhost)
>is when i connect ?
Use the source, Luke. Source code for every standard module is included on
your hard disk. If you look in the __init__ for "class SMTP", your
question will be answered.
--
-
Piet van Oostrum <[EMAIL PROTECTED]> wrote:
>>>>>> Tim Roberts <[EMAIL PROTECTED]> (TR) wrote:
>
>>TR> [EMAIL PROTECTED] wrote:
>>>> cool. so this line
>>>> server = smtplib.SMTP(localhost)
>>>> is when i connect ?
&g
;echo 123 | x.py
The process tried to write to a nonexistent pipe.
C:\Tmp>python x.py < x.py
import sys
C:\Tmp>x.py < x.py
C:\Tmp>
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
rld is a string, and every operation is a regular expression match
upon that string.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
SC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import msvcrt
>>> msvcrt.getch()
'\x1b'
>>>
(I pressed "escape" after the second "enter".)
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
beginning programmers, this would definitely
need to be tacked up to it.
Nice work.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
-optimized that the Schwartzian transform is almost always faster
than passing a custom comparator to the sort function.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
silly to credit Microsoft with the
ubiquity of powerful computers.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
tps://brokerjet.ecetra.com/at/welcome/loginaction.phtml, and you'll need
to encode 'login' and 'pwd' fields in the POST data.
However, that isn't the end of your trouble. That page will almost
certainly send you a cookie, which you will need to send back with every
o Microsoft. Everyone else, including
Microsoft SQL Server, uses "double quotes" to protect special characters in
identifiers.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
m python. I tried the ctypes module.
Are you talking about VB6 or VB.NET? If you had to add a reference, then
it is either a COM interface or a managed code class. DLLs don't get in
through references -- they use the Declare statement.
COM interfaces are pretty easy to call in Python. Callin
you are using wxPython, your EVT_LEFT_UP
handler gets a mouse event as a parameter:
def OnClick( self, evt ):
print evt.GetPositionTuple()
Once you have the tuple, it's up to you to save it somewhere.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://ma
g section of code has been commented out.
#
# call_function( cool )
#
# # This would be neater if I had a real-life example.
# # As it is, it looks silly.
#
# print "New result", cool
print "All done"
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
on and whether they were
successful?
I don't know. I'm not sure I need a job with a company that insists on
playing "Programming Jeopardy" during the interview.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
uilt-in user interface stuff, so whatever you are using to place a
window is something you downloaded, or something that was installed with
your Python. That's what we need to find out.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
.4.1 on linux i'm running 2.4.1
That kind of thing is often caused by DNS problems. Are you running named
on your Linux machine? Have you double-checked that the named
configuration and /etc/resolv.conf is correct?
How long does it take for you to do this:
wget http://site.heavenlytrea
a trivial correction, but I thought it
was quite appropriate to throw yet another completely useless fact into
this completely useless thread, which was started by a completely useless
troll.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
uot;Python and Tkinter Programming" by John
Grayson, ISBN 1884777813. If you will be getting serious with Tkinter, I
strongly recommend it.
Personally, I started with Tkinter, but I couldn't wrap my brain around the
details. I switched to wxPython, and never looked back.
--
- Tim Roberts
;rb").read().count("\x00\x00\x01\x00")
>
>Funny you should say that, because I can't stand unnecessary one-liners.
>
>In any case, you are assuming that Python will automagically close the
>file when you are done.
Nonsense. This behavior is deterministic. At
mp;1&"')
or
launchWithoutConsole("devcon.exe",
r'enable "@USB\VID_0403&PID_6010&MI_00\7&15E4F68&1&"')
However, devcon.exe supports regular expressions, and is forgiving about
syntax. If you have only one such device, you could use:
launchWithoutConsole("devcon.exe",
r'enable "@USB\VID_0403&PID_6010*"')
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
congratulations on a very subtle and somewhat multicultural joke...
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
txt", line: 2
How are you launching the GUI version? Are you double-clicking on an icon
somewhere? Are you sure the application is starting in the correct
directory -- the one that contains zapis.txt?
Perhaps you should try hard-code the full path, or at least doing an
os.chdir().
--
;chown username:groupname filename')
Are you doing this as root? The chown function is usually restricted to
root.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ions,
there is a script in win32comext/axscript/client/pyscript.py that will
register Python as an ActiveScript language.
The you can say
print "<h1>Hello, there.</h1>"
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] (Alex Martelli) wrote:
>Tim Roberts <[EMAIL PROTECTED]> wrote:
> ...
>> Internet Explorer will allow any registered ActiveScript language to be
>> used in a web page. Python qualifies. In the latest Win32 extensions,
>> there is a script
e anything to do with that.
>Do you use python under Citrix Metaframe?
>What problems did you encounter?
I've used Python extensively with Microsoft's Terminal Services.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
applications seem to be the only ones in the
world that use the ROT.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
les. You have probably installed
GhostScript on your 2K/XP box. If you install it on your Win98 box, your
ShellExecute should work.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
file. You'll have to parse and decode it
yourself.
However, as the module documentation also tells you, that has already been
done for you in SimpleHTTPServer.py.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
such a library?
There is an algorithm called Soundex that replaces each word by a
4-character string, such that all words that are pronounced similarly
encode to the same string.
The algorithm is easy to implement; you can probably find one by Googling.
--
- Tim Roberts, [EMAIL PROTECTED]
Provid
ot; in the second parameter. It's
just registry magic. It's not a command line thing.
Most file types have an "open" verb and a "print" verb; some also have
"edit".
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ber of spaces you use is not important. You can use one
space for your indentation, which is the same number of keystrokes as a
tab. Good looking code is not of prime importance when you're typing at
the Python prompt.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, In
GI process ends. Every new request is another run.
So, you can either use one script per operation, or you can use one script
and detect which step it is using, for example a hidden field.
If you need common file processing in both scripts, I'm sure you already
know you can put that code
"amfr" <[EMAIL PROTECTED]> wrote:
>
>import cgi
>form = cgi.FieldStorage()
>print form["test"]
>print "test"
>
>I would only be able to see "test", not "hello world"
>I am sure its not my browser
Did you mea
/null','w')
os.dup2(fw.fileno(),1)
os.dup2(fw.fileno(),2)
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
heir own favorite brand,
and no rational argument will ever convince someone else to abandon their
brand.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
natural language does not need documentation...
Both "The Design of Everyday Things" and "The Psychology of Everyday
Things" are fascinating books that should be mandatory reading for all
engineering students.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ough information. -2147418113 is 0x8000, which is
E_UNEXPECTED. That's a generic error which may mean that you called
something in the wrong order, or provided a parameter that was not
expected.
What OCX were you calling, and what did the code look like?
--
- Tim Roberts, [EM
, as in:
c.execute( "INSERT INTO table1 VALUES ('%s','%s','%s');" % (var1, var2,
var3) ) # THIS IS WRONG
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
def PresentTable():
PrintTheForm()
if i_have_received_data:
PrintTheResultTable()
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
', 'Tim', 'Peters', 'Thomas', 'Liesner']
>
>I think it is theoretically faster (and more pythonic) than using regexes.
But it is slower than this, which produces EXACTLY the same (incorrect)
result:
data = "Guido van Rossum Tim Pet
ward slashes as path separator only works on NTFS volumes I believe.
Wrong. They work on all Microsoft operating systems back to at least
MS-DOS 5, and on every version of Windows.
The command interpreters don't accept them, but all of the APIs do.
--
- Tim Roberts, [EMAIL PROTECTED]
Pr
so. Virtually all of
the vast PHP code samples on the web are crap. Maybe the simplicity of the
language encourages inexperienced programmers who write spaghetti code
without a thought to the structure; I don't know the exact cause, but I
have seen it more often than not.
--
- Tim
. Everything else, including the From:
and To: lines, will be taken as part of the message body. I assume you
meant to use \r\n, but \n will work just as well and is less error prone.
>print "Message length is " + repr(len(msg))
Easier is:
print "Message length is", len(msg)
More efficient is:
print "Message length is %d" % len(msg)
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
elf):
exec(magic())
print hi
hi = "baby"
print hi
def other(self):
exec(magic())
print hi
a = A()
a.meth()
a.other()
That's way too fragile to be useful.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
le that the creation
and destruction of an object might have useful side effects.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ill no compelling reason to break the old
habits and type those 6 extra characters.
Once a person has a case where the new classes make a difference, I suspect
they catch the new habit and never look back. I haven't crossed that
threshhold yet.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza &
Jacek Generowicz <[EMAIL PROTECTED]> wrote:
>
>I have some code, which makes copious use of the @decorator syntax
I'm very curious to know what kind of application you are writing in which
"copious use of the @decorator syntax" actually solved a problem
productively
s, I was thinking about threads... does anyone have other/better
>suggestion(s)? Does anyone see any difficulty/memory problems in using
>threads?
Yes. Threads are used to run multiple parts of your own program. To run
another program, you need to launch a new process.
You can still monitor i
han the
same file would be in, say, INI format.
I wrote a Python script to parse it, but it isn't terribly robust. I was
able to produce a dictionary, but I didn't do anything with the results.
You're welcome to take a look:
http://www.probo.com/timr/parsemsf.py
--
- Ti
27;:1, 'deux':2}
>
>def print_value():
> print vardict['un']
># ok, that works
>
>
>
>#!/bin/python
>varint = 1
>
>def print_value():
> print varint
># ok, that failed
>
>python 2.3.4
son I
>should do both? When reading to the end of a file, won't tell() be just
>as accurate as os.path.getsize()?
On Windows, those two are not equivalent. Besides the newline conversion
done by reading text files, the solution in 2. will stop as soon as it sees
a ctrl-Z.
If you used
on
Windows? The ONLY way to get small-integer microsecond responses in
Windows is to write a kernel driver, and even then there are no guarantees.
Windows is NOT a real-time system. If you have an environment where an
unexpected delay of a millisecond or more is going to cause damage, then
you n
gt; > >>> crsr.nextset()
If you are only issuing one SELECT, like most applications, then nextset()
serves no purpose. If you did something like this:
sql = "select * from wjtmp; select count(*) from wjtmp;"
That's when you need nextset(). Personally, I've never used it.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
I intend to actually have two separate keys invoke this menu
>to have it behave differently in different circumstances.
You can, of course, CHANGE the underlined character to match the
circumstances.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
tually
>do it?
How do you want to do the upload? FTP? That's easy. Check ftplib.py.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
you to enter ANOTHER number, without telling you
whether it was high or low.
Better to eliminate duplicated code:
import random
print "Higher or Lower"
print
number = random.choice(range(100))
while 1:
guess = input("Guess a number: ")
if guess == number:
bre
If the purpose of the GIL is
simply to make things thread-safe, then I would have guessed that the first
one was correct. If someone else holds a reference to "arglist", then the
DECREF is just a nice, atomic decrement. If no one else holds a reference
to "arglist", then it'
d
specifically at the web, so it has no native concept of "uploading".
You can do this by using the LimitRequestBody directive in your Apache
configuration or .htaccess file.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
to backtrack to the shift and convert it to a pair of
>less-thans before you can successfully translate it.
C++ solves this exact problem quite reasonably by having a greedy
tokenizer. Thus, that would always be a left shift operator. To make it
less than and a function, insert a space:
uot; ] date FWS time [CFWS]
>
>day-of-week = ([FWS] day-name) / obs-day-of-week
>
>day-name= "Mon" / "Tue" / "Wed" / "Thu" /
> "Fri" / "Sat" / "Sun"
>
>date
;One of my instruments is returning a string that has one or more
> blanks in
>it, and that is complicating string matching tests in one of my functions.
>>> a = ' abc '
>>> print a.strip()
'abc'
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
he %1 is substituted with the name of the script being run. In this
example, however, the parameters are all discarded. If you set this
instead:
c:\tmp> ftype Python.File=c:\python24\python23.exe "%1" "%*"
The "%*" says "put the rest of the parameters he
_use_
>win32com as a normal user, because normal users can't write there:
Right. To use win32com, the site-packages\win32com\gen_py directory must
be writable. You shouldn't have to change the whole c:\Programme tree; you
should be able to make just that one subdirectory writable b
KEY part of that is the %* at the end of the Python.File defintion.
That tells the system to insert the rest of the command line parameters at
that point. If you have ONLY the "%1", the command will run but no
parameters will be forwarded. If so, you can fix this by typing:
C:\Tmp>f
to this as the body of the message, all the lines
will be concatenated together, which sounds a lot like what you are seeing.
If you are not feeding HTML as the body, change the fist line to
('text','plain').
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
\calibration\FREQUENCY_13.CSV"
Right idea, but wrong implementation. What that does is pass one very long
file name as the script file, with no parameters.
This is right, modulo the line splitting:
python ImportFiles_test.py "C:\Program Files\National Instruments\LabVIEW
7.1\project\calibration\FREQUENCY_13.CSV"
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
it. C#, VB.NET, VBscript, Javascript and Perl have not suffered
from being interpreted.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ill result in a list of tuples: [(row1value1, row1value2,
>row1value3),(row2value1, row2value2, row2value3),..., (rowNvalue1,
>rowNvalue2, rowNvalue3)]
>
>Then, I get what I want with tuple(a).
Why? What is it about the list of tuples that you don't like?
Philosophically, it's m
ut it will never be as thorough and
compatible as a VMware session.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
nd to the idea of using open
>alternatives rather than thinking that commercial software is somehow
>"better".
Regardless of your opinion on their operating systems, only a religious
zealot would try to argue that Microsoft Office is not better than any of
the open source alter
ing to use the 64-bit compiler.
Also note that there is a typo in your command line. You have an equals
sign in lib.linux=i686-2.3 where you should have a dash.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ever __del__ does for
class objects. It then binds the name "Person" to None.
Next, it cleans up the name "Sophie". It calls __del__, which works.
However, when you try to access People, that name is now bound to None,
because it has already been cleaned up.
Kaboom.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
't overlook the simple
(and possibly more secure) answer:
lookup = {
'a': a,
'b': b,
'c': c,
}
if lookup.has_key(myFunction):
return lookup[myFunction]()
else:
print "Couldn't find", myFunction
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
a procmail recipe can feed a message through a
filter, and then pass the results of that filter back in to the e-mail
system for further processing?
It seems to me that you should consider letting procmail do what it is good
at, and use your Python solution for the things that are beyond it.
--
- T
S box.
If you really want .pyc files to run without a DOS box, bring up a command
shell and type
assoc .pyc=Python.NoConFile
(Actually, you should type "assoc .pyw" to make sure that is its file
type.)
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
e on-the-fly. With a package like CherryPy, you
get a web server built-in. You fire up the server in the background, and
bring up Internet Explorer as "your" user interface.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
',
then you do 1D FFTs on all the columns of X'.
So, for a 32x32 2D FFT, you'll end up doing 64 1D FFTs.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
BOOGIEMAN <[EMAIL PROTECTED]> wrote:
>
>os = windows xp
>How do I make "myprogram.py" start fullscreen at windows command prompt ?
>Also I made it as "myprogram.exe" with py2exe,but how to start fullscreen ?
Which GUI toolkit are you using? wxPython? tk?
o expose a command shell via CGI? Can you think of a
better way to allow hackers to wreak havoc on your system?
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
tioned, you probaby shouldn't assume it.
>Can this behaviour of email be considered a bug?
Not in my opinion, no.
>Is there a good case to iterate over something useful in a message?
Well, if you don't have an answer to that question, then why would you
expect it to support it
single file along with
the interpreter. When the .exe is executed, it extracts the interpreter
and the scripts into a temp directory, and fires up the interpreter.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
u don't have to demean
yourself by working in PHP.
Sockets and pipe files are common methods of communicating with a daemon.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
x27;m not seeing how to get at data that's not a named form parameter.
If you are using POST in some non-standard way, just skip using the cgi
module at all and read stdin yourself.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
is lost. However, the variable zzz is still bound to [0,1,2].
If you need to create a new object and return it to the mainline, do that:
def xxx(yyy):
yyy = [ 3, 4, 5 ]
return yyy
zzz = [ 0, 1, 2 ]
zzz = xxx(zzz)
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boe
Patrick Useldinger <[EMAIL PROTECTED]> wrote:
>
>What does the above yield on Windows?
0.
>Are inodes supported on Windows NTFS, FAT, FAT32?
No. Inodes are strictly a Unix filesystem concept.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
htt
"Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>
>Tim Roberts wrote:
>>>Are inodes supported on Windows NTFS, FAT, FAT32?
>>
>> No. Inodes are strictly a Unix filesystem concept.
>
>I disagree. NTFS MFT records are so similar to inodes
>that thei
rom logilab.pylint import lint
>lint.Run(sys.argv[1:])
>
>
>DosExitLabel = """
>:exit
>rem """
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
as short:%d as int:%d sum:%d" % (inShort, inInt, outSum)
> outSum = inShort + inInt
>
># Add code so that when this script is run by
># Python.exe, it self-registers
>if __name__=='__main_ _':
> print "Registering COM server..."
> import win32
101 - 200 of 968 matches
Mail list logo