A program took much too long to check some texts collected from web pages.
As this could be made parallel easily, I put in fork.
And the result seems to be that the program simply stops in the line with
urlopen. Any suggestions?
Relevant part:
try:
print 'urlopen by', kind_nummer,
Hi,
I'm following webapp2 documentation (release 2.1).
I made a mistake in following the text.
I typed pip install babel and this led to errors in the installation.
As that user is not in sudo list, I changed users, typed sudo pip install
babel and everything seemed right.
Further on, the
Well Joel, umm, I'm not sure if I understand you correctly.
$ python babel
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
can't open file 'babel': [Errno 2] No such file or directory
And
$ python
Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013,
Op vrijdag 21 september 2012 16:15:30 UTC+2 schreef Joel Goldstick het volgende:
On Fri, Sep 21, 2012 at 9:58 AM, BobAalsma wrote:
Op vrijdag 21 september 2012 15:36:11 UTC+2 schreef Jerry Hill het volgende:
On Fri, Sep 21, 2012 at 9:31 AM, BobAalsma wrote:
Thanks, Joel, yes
Op vrijdag 21 september 2012 17:28:02 UTC+2 schreef David Smith het volgende:
On 2012-09-21 08:57, BobAalsma wrote:
This text can be behind a username/password, but for several reasons, I
don't want to know those.
So I would like to set up a situation where the user logs
Op vrijdag 21 september 2012 22:10:04 UTC+2 schreef Dennis Lee Bieber het
volgende:
On Fri, 21 Sep 2012 09:36:08 -0400, Jerry Hill
declaimed the following in gmane.comp.python.general:
On Fri, Sep 21, 2012 at 9:31 AM, BobAalsma wrote:
Thanks, Joel, yes, but as far as I'm aware
I'd like to write a programme that will be offered as a web service (Django),
in which the user will point to a specific URL and the programme will be used
to read the text of that URL.
This text can be behind a username/password, but for several reasons, I don't
want to know those.
So I
Op vrijdag 21 september 2012 15:23:14 UTC+2 schreef Joel Goldstick het volgende:
On Fri, Sep 21, 2012 at 8:57 AM, BobAalsma wrote:
I'd like to write a programme that will be offered as a web service
(Django), in which the user will point to a specific URL and the programme
will be used
Op vrijdag 21 september 2012 15:36:11 UTC+2 schreef Jerry Hill het volgende:
On Fri, Sep 21, 2012 at 9:31 AM, BobAalsma wrote:
Thanks, Joel, yes, but as far as I'm aware these would all require the
Python programme to have the user's username and password (or
credentials), which I
I think I've installed Python 2.7.3 according to the instructions in the
README, and now want to use that version.
However, when typing python in Terminal, I get Python 2.6.4 (r264:75821M,
Oct 27 2009, 19:48:32) .
So:
(1) I can't seem to find where the new software has gone and
(2) can't seem
Op zondag 9 september 2012 16:28:55 UTC+2 schreef BobAalsma het volgende:
I think I've installed Python 2.7.3 according to the instructions in the
README, and now want to use that version.
However, when typing python in Terminal, I get Python 2.6.4 (r264:75821M,
Oct 27 2009, 19:48:32
Op woensdag 5 september 2012 14:57:05 UTC+2 schreef BobAalsma het volgende:
I'm trying to understand the HTMLParser so I've copied some code from
http://docs.python.org/library/htmlparser.html?highlight=html#HTMLParser and
tried that on my LinkedIn page.
No errors, but some of the tags
Op woensdag 5 september 2012 14:57:05 UTC+2 schreef BobAalsma het volgende:
I'm trying to understand the HTMLParser so I've copied some code from
http://docs.python.org/library/htmlparser.html?highlight=html#HTMLParser and
tried that on my LinkedIn page.
No errors, but some of the tags
removeHtmlFromFileContents():
TextOut = ''
parser = MyHTMLParser()
parser.feed(urllib2.urlopen('http://nl.linkedin.com/in/bobaalsma').read())
return TextOut
#
# -
#
if __name__ == '__main__
Op woensdag 5 september 2012 14:57:05 UTC+2 schreef BobAalsma het volgende:
I'm trying to understand the HTMLParser so I've copied some code from
http://docs.python.org/library/htmlparser.html?highlight=html#HTMLParser and
tried that on my LinkedIn page.
No errors, but some of the tags
Op woensdag 5 september 2012 19:23:45 UTC+2 schreef BobAalsma het volgende:
Op woensdag 5 september 2012 14:57:05 UTC+2 schreef BobAalsma het volgende:
I'm trying to understand the HTMLParser so I've copied some code from
http://docs.python.org/library/htmlparser.html?highlight=html
I'm trying to modify a plist file. The modification works properly,
but I'm having difficulties in finding the proper way to restore.
The file contains HTML strings like $#226; and either this gets
replaced by â (which I don't want) but the programme completes or
the program fails when I try to
I'm working on a set of scripts and I can't get a replace to work in
the script - please help.
The scripts show no errors, work properly apart from the replace, all
variables are filled as expected, the scripts works properly when the
commands are copied to the Python shell.
Text Main:
..
from
On Aug 4, 3:22 pm, Anthony Tolle anthony.to...@gmail.com wrote:
On Aug 4, 9:10 am, BobAalsma bob.aal...@aalsmacons.nl wrote:
#
bestandsnaam_nieuw = bestandsnaam
bestandsnaam_nieuw.replace(KLANTNAAM_OUT,KLANTNAAM_IN
On Mar 8, 8:15 pm, BobAalsma bob.aal...@aalsmacons.nl wrote:
I'm on Mac OS X 10.5.8 and downloaded 2.6.4 Mac Installer Disk Image
as/in(?) the sys admin user. For this user Pyhton 2.6.4 is now the
current version.
I want to use Python outside the sys asdmin user. However, all other
users
I'm on Mac OS X 10.5.8 and downloaded 2.6.4 Mac Installer Disk Image
as/in(?) the sys admin user. For this user Pyhton 2.6.4 is now the
current version.
I want to use Python outside the sys asdmin user. However, all other
users still use Python 2.5.1 (Apple delivered).
The sys admin user looks in
21 matches
Mail list logo