is mean I can add on the loop? that is, to get all 32000?
and is this in JSON format? it has to be, right? eventually I'd like it to
be in csv, but that's because I assume I have to manipulate it was R
later...
D
On Fri, Mar 8, 2019 at 12:54 PM Chris Angelico wrote:
> On Sat, M
o a response object. Do I have to add an "ro" on line 21? or
something else?
Also, I ran the code as is starting on line 7 and got this:
runfile('/Users/susan/.spyder-py3/temp.py', wdir='/Users/susan/.spyder-py3')
This was in the terminal, I think. Since nothing
ons.gov into a csv file so that I can analyze them in R.
And then I think that I only need the name, comment, date, and category in
the JSON dictionary. I can't send a picture through the list, but I have
one of what I'm talking about.
Drake
--
https://mail.python.org/mailman/listinfo/python-list
ht now, I'm just trying to figure out
what I need to insert into my code so that I can get the comment.
Help! I'm trying to learn code on the fly. I'm an experienced researcher
but am new to coding. Any help you could give me would be tremendously
awesome.
Best,
Drake
--
https://mail.python.org/mailman/listinfo/python-list
Hello everyone,
For a research project, I need to scrape a lot of comments from
regulations.gov
https://www.regulations.gov/docketBrowser?rpp=25&so=DESC&sb=commentDueDate&po=0&dct=PS&D=ED-2018-OCR-0064
But partly what's throwing me is the url addresses of the comments. They
aren't consistent. I
x27;s not have a flame war please).
Regards,
Drake
--
http://mail.python.org/mailman/listinfo/python-list
I have a general question of Python style, or perhaps just good
programming practice.
My group is developing a medium-sized library of general-purpose
Python functions, some of which do I/O. Therefore it is possible for
many of the library functions to raise IOError Exceptions. The
question is: sh
ur
2.4.4 on Mac OS X 10.4.x.
-Fred
--
Fred Drake
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 2, 2008, at 7:43 PM, Fred Drake wrote:
> 2.4.5 won't build for me from the svn checkout on Mac OS X 10.5.2:
Neither does 2.3.7 now that I've tried that:
gcc -u __dummy -u _PyMac_Error -framework System -framework
CoreServices -framework Foundation
guments to function
‘setpgrp’
make: *** [Modules/posixmodule.o] Error 1
I can only presume I'm doing something wrong at this point, since I
don't consider myself a Mac OS X developer.
-Fred
--
Fred Drake
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
..snip>
> In the second iteration of your loop, you appear to be opening a port
> that is already open:
>
> for i in range(3):
> port = OpenPort()
>
> thus the error message: "the serial port is unavailable".
>
&
lt;><><><><>
>
> #if no lanes responded, exit from the utility
> if 0 == NumLanes:
> print "I can't find any units connected."
> print "Check your connections and try again"
> sys.exit(1)
>
> # list the lanes we have in our dictionary
> for n in Lanes:
> print "Lane - %s" % n
>
> Now, here is the error message that I get
>
> [EMAIL PROTECTED]:~/py$ ./Thex.py
> Looking for connected units
> True
> Request #1
> True
> Request #2
> Serial port failure. Power cycle units
> [EMAIL PROTECTED]:~/py$ ./Thex.py
> The serial port is unavailable.
> Disconnect your USB to Serial adapter, Then
> reconnect it and try again.
> [EMAIL PROTECTED]:~/py$
>
> Does anyone have any ideas?
>
> Thanks,
>
> rob < [EMAIL PROTECTED] >
In the second iteration of your loop, you appear to be opening a port
that is already open:
for i in range(3):
port = OpenPort()
thus the error message: "the serial port is unavailable".
--Drake Smith
--
http://mail.python.org/mailman/listinfo/python-list
Jurian Sluiman wrote:
> Ok, somebody helped my and found with "help(child.sendline)" that the
> number (7) is the number of characters from my password.
>
> Still there doesn't seem to be that anything strange is happening. With
> the logfile printed out, I found that child.expect places a 0 behin
rtunately, not enough time was available from people with
sufficient Roundup know-how to finish that effort. I still think that would
be really nice.
-Fred
--
Fred L. Drake, Jr.
--
http://mail.python.org/mailman/listinfo/python-list
14 matches
Mail list logo