Rich Krauter wrote:
> Israel Carr wrote:
>
>>I'm using ftplib to connect to a server, and I want to grab every file
>>from a specific folder. The filenames change frequently. What is the
>>best way to use retrbinary with wildcards(or some better option) to
>>transfer all files?
>>
>>Thanks,
>>Is
Version 0.9 of RUR: a Python Learning Environment has been released.
Information about RUR-PLE can be obtained at
http://rur-ple.sourceforge.net
Note that the project website is slightly out of date.
Among the changes in this new version:
***Spanish translation added.*
Changed image for languag
Israel Carr wrote:
> I'm using ftplib to connect to a server, and I want to grab every file
> from a specific folder. The filenames change frequently. What is the
> best way to use retrbinary with wildcards(or some better option) to
> transfer all files?
>
> Thanks,
> Israel
>
> ___
Rudy,
I have the im.getpixel incrementing at every pixel by i (in a for loop
for each pixel in wire.png), and I know incrementing the xy in the new
one goes like this:
x + 1
y + 1
x - 1
x - 1
y - 1
y - 1
x + 1
x + 1
x + 1 ... etc
First the x and then the y is incremented by 1, then that 1 is made
> The textbook "How to Design Programs" focuses on a design approach
to
> program construction. The book's host language is Scheme, but I
feel a
> lot of the material is language agnostic and valuable to any
programmer:
>
> http://www.htdp.org
>
I second the recommendation, but you do have to
> One approach you could consider is to write pseudocode, turn it into
comments
> and write the real code in between those. That way you get the
benefits of
> pseudocode (being able to spot algorithm errors at a higher level)
as well as
> properly commented code. Difficult portions then automatical
> And I'm doing chapter4. In the book it says it's recommended to plan
a prog.
> with pseudocode.
>
> Can i just ignore it?
No, pseudo code is a very powerful technique. But one of the
guidelines
is that every line of pseudocode should correspond to 5-10 lines of
program code (which means that it
Hello, everyone!
I know you didn't expect to hear from me anymore about these pesky
challenges, since I started the off-tutor list about it, but I'm
afraid I'm stuck and cannot get a hint.
If I want to rearrange a long string of pixels in a different order,
using "putpixel" with a certain size ne
I'm using ftplib to connect to a server, and I want to grab every file
from a specific folder. The filenames change frequently. What is the
best way to use retrbinary with wildcards(or some better option) to
transfer all files?
Thanks,
Israel
___
Tuto
Check os.waitpid()
Hugo
Alberto Troiano wrote:
> Hey all
>
> I want to check if a PID number is running
> I have the pid number from other program and I want to check if it's alive
> Using Python 2.2 over Linux Red Hat 9
>
> I tried to google but find how to know process of the app but not chec
Danny Yoo hkn.eecs.berkeley.edu> writes:
> Some design advocates say that program design should be a part of every
> program. At least, at minimum, we may want to think about:
>
>1. What is the program supposed to do? What's the input, and what's
>the output?
>
>2. What would
Hey Jeff,
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Peery
>
> Hello, does anyone know if there is a list of widows icons
> available? I'm creating an application for windows and I'd
> like to use standard icons for things like a "prin
Hello, does anyone know if there is a list of widows icons available? I'm creating an application for windows and I'd like to use standard icons for things like a "print" button or "save" button etc. thanks.
Jeff
___
Tutor maillist - Tutor@python.org
>I finished the chapter which includes for loop, tuples, indexing and
>slicing. Can anyone suggest me 3 exercises to remind of the chapter?
A great place to find all sorts of programs to write -- from very easy
to complex -- is the programming contest archive on the useless python
page (www.usele
> At the end, i found the way of make it:
>
> dirBase = ['misc','TTF','Type1','CID','100dpi','75dpi','encodings', 'util']
>
> for root, dirs, files in os.walk(dirName):
> print dirs # for checking all directories that i have at beginning
> for name in dirs:
> if name in dirBase:
15 matches
Mail list logo