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 bee
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
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
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 s
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 occurence
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
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"""
>
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 FP-derive
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, but
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)
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 = enddate - startdate
> >> delta.days
> 711
> >> delta.months
> exceptions.AttributeError
"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
"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,
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
ca
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
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 mai
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 ma
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
_
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 accordin
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 su
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
p
"Gizmo" <[EMAIL PROTECTED]> wrote
import os
process=r"C:\Program Files\WinRAR\Rar.exe"
startDir = r"C:\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
> w
"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
runni
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 th
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
> >>> proces
25 matches
Mail list logo