Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79193

Re: Import Doesn't Import

Path csiph.com!usenet.pasdenom.info!news.franciliens.net!fdn.fr!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <drsalists@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'url:pypi': 0.03; 'ide': 0.09; 'run,': 0.09; 'sure,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'mostly': 0.14; 'blocking': 0.16; 'brilliant': 0.16; 'cc:name:python list': 0.16; 'macro.': 0.16; 'personally,': 0.16; 'url:submit': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'wed,': 0.18; 'python?': 0.22; 'cc:addr:python.org': 0.22; '2.x': 0.24; 'decide': 0.24; 'cc:2**0': 0.24; '15,': 0.26; 'header:In-Reply- To:1': 0.27; "doesn't": 0.30; 'matching': 0.30; 'url:%3a': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'piece': 0.31; 'run': 0.32; 'linux': 0.33; 'url:python': 0.33; 'maybe': 0.34; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'doing': 0.36; 'url:org': 0.36; 'should': 0.36; 'pm,': 0.38; 'anything': 0.39; 'heard': 0.39; 'url:action': 0.39; 'visual': 0.39; 'either': 0.39; 'access,': 0.60; 'most': 0.60; 'tell': 0.60; 'to:addr:gmail.com': 0.65; 'biggest': 0.67; 'believe': 0.68; 'carefully': 0.74; 'labor': 0.74; 'url:search': 0.81
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rj8B1TBBeuV90gi2XTMy2usZaNikNYqd7Z7Xq6JgH8Y=; b=g4Vk/dUgLKZrP26k1lQfa/Hb4wisiCDXqU1OixG8LiYdvVY9iY5TcxTbDQ0ZM4Cd4N dfPJt0ifk/IwuXwF67tZa0CLKWp0v79JMDC60HRr1hmIG/VoTWftdkG1afC0tifube8c Xtq1fJJozU9TrWBgN0bTAXWPHIbN2zYYliG+cM6dQArlg7hukbiv8L/rlF5owK93FSQJ Ndhl0fSgHg0V3snsrXtH+t1wms6UdoGUXzfytTrnVpwUttItI27m6sRnJZO0EmPCrNGB SJuxcZ2xxf+W2u5p6henFCAtqHnJbLTPLWTZEXSRTQfO9PpMBIvdKVnanqglVx3sUC0w 1F3A==
MIME-Version 1.0
X-Received by 10.152.21.135 with SMTP id v7mr16321721lae.65.1413422377544; Wed, 15 Oct 2014 18:19:37 -0700 (PDT)
In-Reply-To <20f25f12-d376-4b78-9fb4-e877e2fcde15@googlegroups.com>
References <1a3844da-b467-43ba-b34f-3aaa6442d799@googlegroups.com> <20f25f12-d376-4b78-9fb4-e877e2fcde15@googlegroups.com>
Date Wed, 15 Oct 2014 18:19:37 -0700
Subject Re: Import Doesn't Import
From Dan Stromberg <drsalists@gmail.com>
To ryguy7272 <ryanshuell@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc Python List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14906.1413422379.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1413422379 news.xs4all.nl 2964 [2001:888:2000:d::a6]:59222
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79193

Show key headers only | View raw


On Wed, Oct 15, 2014 at 5:44 PM, ryguy7272 <ryanshuell@gmail.com> wrote:

> Either this is the most brilliant thing ever invented, or it's the biggest piece of shit ever invented.  I just can't tell.  All I know for sure, is that it doesn't do ANYTHING that I tell it to do.

Maybe you should decide whether you want to run your 2.x code on 2.7,
or adapt it to 3.x.  Doing both won't work well, unless you go with a
version of the code carefully constructed to work on both.

I believe I heard there's a way of doing Python in Visual Studio, but
personally, I use Python on Linux without an IDE - mostly via a vim
macro.

BTW, I got your code to run, but it got stuck in a socket.recv(); I
suspect Wikipedia is blocking some forms of access, so this labor may
be irrelevant.

Perhaps check out
https://pypi.python.org/pypi?%3Aaction=search&term=stock&submit=search
, and use the most relevant-looking one with a matching version of
Python?

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Import Doesn't Import ryguy7272 <ryanshuell@gmail.com> - 2014-10-15 17:40 -0700
  Re: Import Doesn't Import ryguy7272 <ryanshuell@gmail.com> - 2014-10-15 17:44 -0700
    Re: Import Doesn't Import Dan Stromberg <drsalists@gmail.com> - 2014-10-15 18:19 -0700
    Re: Import Doesn't Import Terry Reedy <tjreedy@udel.edu> - 2014-10-15 22:43 -0400
    Re: Import Doesn't Import Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-16 09:01 +0100
  Re: Import Doesn't Import Chris Angelico <rosuav@gmail.com> - 2014-10-16 11:54 +1100
  Re: Import Doesn't Import Dan Stromberg <drsalists@gmail.com> - 2014-10-15 18:12 -0700
  Re: Import Doesn't Import MRAB <python@mrabarnett.plus.com> - 2014-10-16 02:13 +0100
  Python 3 is the active language, recommended for newcomers (was: Import Doesn't Import) Ben Finney <ben+python@benfinney.id.au> - 2014-10-16 12:35 +1100
  Re: Import Doesn't Import Chris Rebert <clp2@rebertia.com> - 2014-10-15 18:21 -0700
  Re: Import Doesn't Import Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-15 22:11 -0400
  Re: Import Doesn't Import Emile van Sebille <emile@fenx.com> - 2014-10-16 14:29 -0700
  Re: Import Doesn't Import Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-16 18:28 -0400
  Re: Import Doesn't Import Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-16 23:56 +0100

csiph-web