Rumor has it that Ertl, John may have mentioned these words:
All,
I hate to ask this but I have just installed 2.4 and I need to get some info
from a subprocess (I think that is correct term).
At the Linux command line if I input dtg I get back a string representing a
date time group. How do I do
Rumor has it that Ertl, John may have mentioned these words:
Roger,
I have been doing it the Pythonic way (that is why I have no idea about how
Popen works) but I need to make sure (the systems guys called me on it) I
use the same dtg as everyone else...it is possible (has not happened yet in
20 y
Rumor has it that Jason Child may have mentioned these words:
## I've got a silly question.
###
P1 = "prefix1"
P2 = "prefix2"
def my_func(list, items):
s = 0
out = ""
for i in range(len(list)):
if s == 0:
p = P1
s = 1
else:
Rumor has it that Ken Stevens may have mentioned these words:
I am a elative new comer to python. I wrote the following test
snippet.
#!/usr/bin/env python
def main ():
play_test()
def play_test ():
print "Hi! -- in play test"
When I do "python test.py" absolutely nothing happens.
Correct.
Rumor has it that Bob Gailer may have mentioned these words:
[snip]
Programmed in more languages than I care to recall. The more
interesting/arcane include
Motorola 8080? Assembler and Machine language
Yup - that sure is arcane -- It's either an Intel 8080 or a Motorola 6800.
;-)
Me:
37, married
Rumor has it that Bill Mill may have mentioned these words:
[snip]
Once you're connected to a word document, you'll have to figure out
what the command to count the words in the document is, but that's
just a matter of recording a macro in word where you count the words,
then repeating it in python
I'm running an application that has a polling loop to check a serial port
for certain signals, and on my laptop I can get about 6700 samples per
second, which (of course) consumes 100% CPU; which may impact battery life.
BTW, I'm running Python 2.2.2 on my laptop... not had a need to upgrade yet
Rumor has it that [EMAIL PROTECTED] may have mentioned these words:
>Quoting Roger Merchberger <[EMAIL PROTECTED]>:
>
> > I really only need between 500 and 1000 samples per second, but as the
> > smallest sleep available normally is time.sleep(.01) -- which brings my
>
Rumor has it that Roger Merchberger may have mentioned these words:
Yea, yea, I'm replying my own message you'll see why later! ;-)
>Rumor has it that [EMAIL PROTECTED] may have mentioned these words:
> >I just did some experimenting ... I am running ActiveState Py
Rumor has it that Alan G may have mentioned these words:
> > I'm running an application that has a polling loop to check a serial
>port
> > for certain signals, and on my laptop I can get about 6700 samples
>per
> > second, which (of course) consumes 100% CPU; which may impact
>battery life.
>
>Co
Rumor has it that Alan G may have mentioned these words:
>Hmm, I dunno ADOpy but assume it somehow miraculously turns your data
>set into a dictionary of some sort?
I dunno ADOpy, but the pg module for PostgreSQL can return a list of
dictionaries from a query.
>>> import pg
>>> pg.set_defuser
Rumor has it that geon may have mentioned these words:
>Øyvind napsal(a):
>
> >Hello.
> >
> >I have created a program that automatically downloads some files I need.
> >It can be .zip, .jpg, .mpg or .txt. However, a lot of the time urlretrieve
> >downloads the file, gives no error, but the download
DirectFB is short for Direct Frame Buffer, and allows access to a graphical
frame buffer system in *nix (and I think maybe MacOSX) from a text prompt
without going through X.
Anyone know of a module to access this through Python? I've googled for it,
but didn't know if anyone here knew about so
Rumor has it that Roger Merchberger may have mentioned these words:
>DirectFB is short for Direct Frame Buffer, and allows access to a graphical
>frame buffer system in *nix (and I think maybe MacOSX) from a text prompt
>without going through X.
>
>Anyone know of a module to acce
Rumor has it that Bernd Prager may have mentioned these words:
[snippety]
> # curses.delwin(s) <-- that doesn't exist :-/
I've *only* done curses in python, so quite often I don't know the C
analogue, but try:
curses.endwin()
I'm not sure if that's exactly what your looking for, but if no
15 matches
Mail list logo