On Sat, Nov 26, 2016 at 5:55 PM, Dennis Lee Bieber
wrote:
> On Sat, 26 Nov 2016 08:12:46 -0800 (PST), junko...@gmail.com declaimed the
> following:
>
>> with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
>> 2016-11-25-11-11.csv','r') as f:
>
> Second... does Python open() accept w
On Sun, Nov 27, 2016 at 1:24 PM, Cameron Simpson wrote:
> I thought //192.168.0.1/foo/... was a network share, getting "foo" from host
> 192.168.0.1. Disclaimer: not a Windows guy. But I've certainly using UNIXy
> systems implementing this syntax, and thought I'd seen an equivalent in
> Windows la
On 26Nov2016 12:55, Dennis Lee Bieber wrote:
On Sat, 26 Nov 2016 08:12:46 -0800 (PST), junko...@gmail.com declaimed the
following:
with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
2016-11-25-11-11.csv','r') as f:
[...]
Second... does Python open() accept web add
On Sun, 27 Nov 2016 03:12 am, junko...@gmail.com wrote:
> import csv
> with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
> 2016-11-25-11-11.csv','r') as f:
\f inserts a FORMFEED character, ASCII code 12. \n inserts a LINEFEED
character, or newline, ASCII code 10. I believe that
On 11/26/2016 12:55 PM, Dennis Lee Bieber wrote:
On Sat, 26 Nov 2016 08:12:46 -0800 (PST), junko...@gmail.com declaimed the
following:
import csv
with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
2016-11-25-11-11.csv','r') as f:
reader=csv.reader(f)
for row in reader:
import csv
with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
2016-11-25-11-11.csv','r') as f:
reader=csv.reader(f)
for row in reader:
print(row)
File "C:/Users/Suresh/PycharmProjects/untitled/test.py", line 2, in
with open('\\192.168.0.1\fe18cb0618cabd41\
Found the error. It was not in the code at all it has to do with
the fact that the String module has a translate method and it was being
used not the one I wrote.
Thanks again.On 8/31/05, Terry Reedy <[EMAIL PROTECTED]> wrote:
"Jeffrey Maitland" <[EMAIL PROTECTED]> wrote in messagenews:[EMAIL PR
"Jeffrey Maitland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello folks,
>I am wondering why I am getting this error. when I try to run a script.
>TypeError: translate() takes at most 3 arguments (10 given)
Because you apparently gave it more than 3 args.
>>> str.translate._
> I am wondering why I am getting this error. when I try to run a script.
> TypeError: translate() takes at most 3 arguments (10 given)
> but the thing is the method translate actually accepts 10 arguements.
without code, how is anyone to know?
--
http://mail.python.org/mailman/listinfo/python
Hello folks,
I am wondering why I am getting this error. when I try to run a script.
TypeError: translate() takes at most 3 arguments (10 given)
but the thing is the method translate actually accepts 10 arguements.
That is what is confusing me.
Jeff
--
http://mail.python.org/mailman/listinf
10 matches
Mail list logo