05 Şub 2007 Pts 04:58 tarihinde, Gizmo şunları yazmıştı:
Hello
I have a whole directory tree of RAR files that I wish to extract as a
batch job. In my real script I've used os.walk() and os.spawn*() but for
demonstration purposes have a look at the code below
import os
05 Şub 2007 Pts 04:56 tarihinde, Wong Vincent şunları yazmıştı:
Dear tutors,
Hi. Does python provide any API to pause, stop or reset the virtual
machine? Am currently building an application which will run a script file
using os.popen(). In order to allow user to run, stop and pause the
Wong Vincent [EMAIL PROTECTED] wrote
Hi. Does python provide any API to pause,
stop or reset the virtual machine?
Can you explain a little bit more about what you mean?
Are those 3 separate things? If so whjat is the difference
between stop and pause? Does reset mean restart the
running
Gizmo [EMAIL PROTECTED] wrote
import os
process=rC:\Program Files\WinRAR\Rar.exe
startDir = rC:\to burn
os.system(process+ x +C:\\to burn\\somemovie\\mymovie.rar+
+startDir)
This doesnt work for me.. I get the error 'C:\Program' is not
recognized
whenever you have whitespaces in
On Sun, 4 Feb 2007 18:58:25 -0800, Gizmo [EMAIL PROTECTED] wrote:
Hello
I have a whole directory tree of RAR files that I wish to extract as a batch
job. In my real script I've used os.walk() and os.spawn*() but for
demonstration purposes have a look at the code below
import os
On 2/2/07, Danny Yoo [EMAIL PROTECTED] wrote:
I'm trying to read a binary file using struct. This code works
interactively in the IPython shell, but not as a function invoked from a
command line (Windows). Can someone point out my error? Thanks!
Hi Marcus,
There is something very
On 2/2/07, Danny Yoo [EMAIL PROTECTED] wrote:
There is something very suspicious in the code. You don't happen to have
any global variables in your program, do you?
I think I found the problem: the last chunk read is incomplete, so there is
size(chunk) is not sufficient to unpack according
Hello,
I am a beginner in python.I am working as S/W tester relating to WI-FI
testing where we've to manually configure Access points(AP).
I want to write a Automated Scripts to configure my AP through HTTP.
Can any body suggest basic coding for this?
Thanks.
Best Regards,
Govind Goyal
govind goyal schrieb:
I want to write a Automated Scripts to configure my AP through HTTP.
Can any body suggest basic coding for this?
Search the cheeseshop [1] for mechanoid and mechanize.
Chris
[1] http://cheeseshop.python.org/pypi/
___
Tutor
On Mon, 5 Feb 2007, Marcus Goldfish wrote:
I think I found the problem: the last chunk read is incomplete, so there
is size(chunk) is not sufficient to unpack according to the format
string.
Good! I'm glad you found the problem.
___
Tutor
govind goyal wrote:
Hello,
I am a beginner in python.I am working as S/W tester relating to WI-FI
testing where we've to manually configure Access points(AP).
I want to write a Automated Scripts to configure my AP through HTTP.
Can any body suggest basic coding for this?
You can use
so what is the easiest way to to get to a list of months in a given
timeinterval, e.g.
startdate = datetime.date(2005,2,13)
enddate = datetime.date(2007,1,25)
delta = enddate - startdate
delta.days
711
delta.months
exceptions.AttributeErrorTraceback (most recent
Marcus Goldfish [EMAIL PROTECTED] wrote
I just want to troubleshoot the problem. The error is reproduced as
a
comment below the source. As far as I know, there are no globals; I
am
invoking this from a command line prompt: python demux.py foo.bin 1
1
def demux(fname, ch=1, nchan=1):
govind goyal [EMAIL PROTECTED] wrote
I am a beginner in python.I am working as S/W tester relating to
WI-FI
Welcome.
testing where we've to manually configure Access points(AP).
I want to write a Automated Scripts to configure my AP through HTTP.
Can any body suggest basic coding for
thanks kent for your fast and comprehensive answer!
On 2/5/07, Kent Johnson [EMAIL PROTECTED] wrote:
frank h. wrote:
so what is the easiest way to to get to a list of months in a given
timeinterval, e.g.
startdate = datetime.date(2005,2,13)
enddate = datetime.date(2007,1,25)
delta
Hi! what do you guys think that would be the best free book, or tutorial or
something to start learning python?
Something that can also focus on important differences from other languages,
and present why some choices made in the design are better then others. Not
just present the information,
Hello,
I have to give a presentation this week on how the MapReduce (of
Google and Hadoop fame) algorithm works.
I understand how map() works, and how reduce() works, and having read
the google papers, I have an idea of their implementation (which I
must say takes certain liberties with
On 2/5/07, Steve Nelson [EMAIL PROTECTED] wrote:
What I want to do is now group these urls so that repeated urls have
as their partner a lsit of indexes. To take a test example of the
method I have in mind:
def testGrouper(self):
Group occurences of a record together
test_list =
I've asked this on the Turbogears list, but I thought I'd ask here since
there is a larger active user base from what I can tell.
Basically I'm trying to get an idea of how practical streaming data with
something like turbogears would be for going from the client (web site user)
to the server. I
Steve Nelson wrote:
On 2/5/07, Steve Nelson [EMAIL PROTECTED] wrote:
What I want to do is now group these urls so that repeated urls have
as their partner a lsit of indexes. To take a test example of the
method I have in mind:
def testGrouper(self):
Group occurences of a record
I am currently using the __import__ function to do
conditional importing of modules, whose names are determined
at runtime.
It appears the __import__ does not handle byte-compiling,
or at least it is not being done in my current implementation. From reading
the __import__ documentation, I don't
I should add one thing: If the source module is in the same directory,
it *is* byte-compiled.
thanks
tim
On Tuesday 06 February 2007 03:46 pm, Tim Johnson wrote:
I am currently using the __import__ function to do
conditional importing of modules, whose names are determined
at runtime.
It
Andrew Purdea wrote:
Hi! what do you guys think that would be the best free book, or tutorial
or something to start learning python?
Something that can also focus on important differences from other
languages, and present why some choices made in the design are better
then others. Not just
On Sun, 4 Feb 2007, [ISO-8859-1] Magnus Wirstr?m wrote:
I'm workinga on a program that will upload a large file to a server
using ftp. I'm using ftplib to do this. I'm using a gui with wxpython
and i would like to have a progressbar showing in % how much have been
transfered. I have been
24 matches
Mail list logo