Hi all,
I have been trying to install the zope interface as part of the twisted
installation with no luck.
Any suggestions ?
Sent from my iPad
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
Pythonists
I am trying to understand the difference between
a = b
b = a + b
and
a,b = b, a+ b
When used in my Fibonacci code the former generates 0,1,2,4,8,16,32 and the
later
Generates 0,1,1,2,3,5,8,13,21,34,55,89. The second is the sequence I want, but
I would
Like to understand the
Dear Pythonists
Here is the code
def fiba(n):
a = 0
b = 1
while a n :
print(a)
c = a + b
a = a +c
# 0,1,3,7,15,31,63
def fibc(n):
a = 0
Dear Jerry,
Thank you so much, once you see it it seems so clear, but to see it I might as
well be in the Indian Ocean. Got kinda close using temporary variable,but
didn't know enough to use del.
A lesson learn.
Sent from my iPad
___
Tutor maillist
started learning Python to achieve my goals?
Thank you.
Gary L. Gray
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Dear Python Tutor,
Being new to python I was wondering if there is a way to import exel data
into pyrhon matrix/arrays so that I have some data to work with. I know R
uses Rcmdr as an easy interface
for excel data, which helps keep the reader engaged while learning the
language.
Thanks
G
I have what is a noob's confusion about this that will lead to bigger
problems for me later on if I don't clear it up.
In wxPython what a user normally refers to as a window is known as a
frame. And what is known in wxPython as a window is an object such as a
TextCtrl object. At least that is
Hi,
I'm new to any kind of application development, but have done some
python scripting.
What I'm doing is creating an application for a non-profit social
services organization that will allow them to track the services they
give their clients.
My plan so far was to use tabs for the different
are the parentheses for??
Thanks a lot for your time -
Gary
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
ftp.storbinary(stor file_to_transfer, open(file_to_transfer,r))
You need to create the command as a string:
ftp.storbinary(stor + file_to_transfer,
open(file_to_transfer,r))
Kent
That worked perfectly, I was way off.
Thank-you!
Gary
p.s. sorry for the out of thread message, my mail
/bin/python
import sys
from ftplib import FTP
file_to_transfer = sys.argv[1]
ftp = FTP()
ftp.connect(myserver)
ftp.login(myusername, mypasswd)
ftp.storbinary(stor file_to_transfer, open(file_to_transfer,r))
print file_to_transfer
ftp.quit()
--
Thanks,
Gary
[EMAIL PROTECTED
11 matches
Mail list logo