Computing desk | ||
---|---|---|
< April 26 | << Mar | April | May >> | April 28 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
What is MS-Excel? — Preceding unsigned comment added by Aadya mishra ( talk • contribs) 05:14, 27 April 2012 (UTC)
Why cannot i import camcorder films from my iPhone into iMovie please?-- 85.211.154.241 ( talk) 05:56, 27 April 2012 (UTC)
iPhone3 and iMovie 11.--
85.211.154.241 (
talk) 15:12, 27 April 2012 (UTC)
Sorry, forgot to thank you for the links, I think that the first one will be helpful. — Preceding unsigned comment added by 85.211.154.241 ( talk) 15:18, 27 April 2012 (UTC)
I am using Access 2007 and importing data from a .csv file into text fields in a table. Some of the text fields have leading spaces which are needed and I want to keep them but Access strips them all out when the data is imported. How can I stop this happening please? Gurumaister ( talk) 07:39, 27 April 2012 (UTC)
Unfortunately, I can't. The .csv is an export of a name and address file from another (non-Access) database so the data comes out without quotation marks. Surely having leading spaces stripped out should be a matter of choice and therefore optional? I am finding it very frustrating. Gurumaister ( talk) 13:22, 27 April 2012 (UTC)
#!/usr/bin/python
import csv,sys
for r in csv.reader(sys.stdin):
for i in range(0,len(r)):
ri = '"%s"'%ri
print ','.join(r)
Why isn't this exception caught?
try: j = "rgb".index(instring.pop(0)) ... except ValueError,IndexError: ...
Traceback (most recent call last): File "mug1.py", line 36, in <module> j = "rgb".index(instring.pop(0)) IndexError: pop from empty list
I tried unpacking the expression:
ch = instring.pop(0) j = "rgb".index(ch)
but that didn't help. — Tamfang ( talk) 19:37, 27 April 2012 (UTC)
Computing desk | ||
---|---|---|
< April 26 | << Mar | April | May >> | April 28 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
What is MS-Excel? — Preceding unsigned comment added by Aadya mishra ( talk • contribs) 05:14, 27 April 2012 (UTC)
Why cannot i import camcorder films from my iPhone into iMovie please?-- 85.211.154.241 ( talk) 05:56, 27 April 2012 (UTC)
iPhone3 and iMovie 11.--
85.211.154.241 (
talk) 15:12, 27 April 2012 (UTC)
Sorry, forgot to thank you for the links, I think that the first one will be helpful. — Preceding unsigned comment added by 85.211.154.241 ( talk) 15:18, 27 April 2012 (UTC)
I am using Access 2007 and importing data from a .csv file into text fields in a table. Some of the text fields have leading spaces which are needed and I want to keep them but Access strips them all out when the data is imported. How can I stop this happening please? Gurumaister ( talk) 07:39, 27 April 2012 (UTC)
Unfortunately, I can't. The .csv is an export of a name and address file from another (non-Access) database so the data comes out without quotation marks. Surely having leading spaces stripped out should be a matter of choice and therefore optional? I am finding it very frustrating. Gurumaister ( talk) 13:22, 27 April 2012 (UTC)
#!/usr/bin/python
import csv,sys
for r in csv.reader(sys.stdin):
for i in range(0,len(r)):
ri = '"%s"'%ri
print ','.join(r)
Why isn't this exception caught?
try: j = "rgb".index(instring.pop(0)) ... except ValueError,IndexError: ...
Traceback (most recent call last): File "mug1.py", line 36, in <module> j = "rgb".index(instring.pop(0)) IndexError: pop from empty list
I tried unpacking the expression:
ch = instring.pop(0) j = "rgb".index(ch)
but that didn't help. — Tamfang ( talk) 19:37, 27 April 2012 (UTC)