Gregory Ewing wrote, on January 02, 2017 7:58 PM
>
> Deborah Swanson wrote:
> > Unless you know of, and are suggesting, a way to index a
> sequence with
> > strings instead of integers, so the code could remain
> untouched with
> > string indices when changes to the columns are made.
>
> I'm
On 03Jan2017 00:14, Dennis Lee Bieber wrote:
On Tue, 3 Jan 2017 11:33:15 +1100, Cameron Simpson
declaimed the following:
I'm using cmd.Cmd to write a little FTP-like command line to interface to a
storage system of mine and encountering weird behaviour. When I enter a command
the next prompt a
On Tuesday, January 3, 2017 at 9:55:35 AM UTC+5:30, Ethan Furman wrote:
> On 01/02/2017 09:53 AM, Wildman via Python-list wrote:
>
> [rude ascii art omitted]
>
> That is a completely inappropriate response.
>
> --
> ~Ethan~
Besides
1. Without fix-pitch the ASCII art is undecipherable. [I assume
Guys really thank you for your answers. Basically now I am more emphasizing in
learning in depth a tool and get stick to it so I can get a fast workflow.
Eventually I will learn Vim and its python developing setup, I know people who
have been programming using Vim for almost 20 years and they di
On Monday, January 2, 2017 at 5:57:51 PM UTC-8, Steve D'Aprano wrote:
> On Mon, 2 Jan 2017 10:38 pm, Antonio Caminero Garcia wrote:
>
> > Hello, I am having a hard time deciding what IDE or IDE-like code editor
> > should I use. This can be overwhelming.
>
> Linux is my IDE.
>
> https://sanctum.
On 01/02/2017 09:53 AM, Wildman via Python-list wrote:
[rude ascii art omitted]
That is a completely inappropriate response.
--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list
Deborah Swanson wrote:
Unless you know of, and are suggesting, a way to index a sequence with
strings instead of integers, so the code could remain untouched with
string indices when changes to the columns are made.
I'm talking about this:
https://docs.python.org/3/library/collections.html#col
On behalf of the Python development community and the Python 3.4 and
Python 3.5 release teams, I'm pleased to announce the availability of
Python 3.4.6rc1 and Python 3.5.6rc1.
Python 3.4 is now in "security fixes only" mode. This is the final
stage of support for Python 3.4. Python 3.4 now
On Mon, 2 Jan 2017 10:38 pm, Antonio Caminero Garcia wrote:
> Hello, I am having a hard time deciding what IDE or IDE-like code editor
> should I use. This can be overwhelming.
Linux is my IDE.
https://sanctum.geek.nz/arabesque/series/unix-as-ide/
I dislike the Unix-style Vim/Emacs text editor
* Antonio Caminero Garcia [170102 02:50]:
<>
> Now, I am thinking about giving a try to Visual Studio Code
> Edition (take a look, it sounds good
> https://marketplace.visualstudio.com/items?itemName=donjayamanne.python).
> I need an editor for professional software development. What would
>
I'm using cmd.Cmd to write a little FTP-like command line to interface to a
storage system of mine and encountering weird behaviour. When I enter a command
the next prompt appears _before_ the associated operation runs, or so it
appears.
Look at this:
[~/hg/css-venti(hg:venti)]fleet*> dev
Gregory Ewing wrote, on Monday, January 02, 2017 3:28 PM
>
> Deborah Swanson wrote:
> > flds = len(ls[0])
> > cl, ur, d1, de, lo, st, mi, ki, re, da, br, no, yn, ma, ar =
> > range(0,flds)
>
> You might like to consider converting the row into a
> namedtuple, then you could refer to the fields u
On Monday, January 2, 2017 at 8:24:29 AM UTC-8, Michael Torrie wrote:
> On 01/02/2017 04:38 AM, Antonio Caminero Garcia wrote:
> > The problem with Vim is the learning curve, so I know the very basic
> > stuff, but obviously not enough for coding and I do not have time to
> > learn it, it is a pity
Deborah Swanson wrote:
flds = len(ls[0])
cl, ur, d1, de, lo, st, mi, ki, re, da, br, no, yn, ma, ar =
range(0,flds)
You might like to consider converting the row into a
namedtuple, then you could refer to the fields using
attribute names instead of indexes.
You could even use the header row to
Dennis Lee Bieber wrote on January 02, 2017 8:30 AM
>
> On Sun, 1 Jan 2017 18:30:03 -0800, "Deborah Swanson"
> declaimed the following:
>
> Out of curiosity -- don't those listings have street
> addresses? There must be lots of "2 br" units in the city.
>
> Part of the hassle
On Mon, Jan 2, 2017 at 9:38 AM, Antonio Caminero Garcia <
tonycam...@gmail.com> wrote:
> The thing with the from-the-scratch full featured IDEs (Eclipse,
IntelliJ, Pycharm) is that they look like a space craft dashboard and that
unwarranted resources consumption and the unnecessary icons. I want my
On 02Jan2017 21:30, Matt Wheeler wrote:
On Mon, 2 Jan 2017 at 16:24 Michael Torrie wrote:
Really, the basic stuff is enough to be very productive in vim. In fact
just knowing how to save and quit is half the battle! A little cheat
sheet for vim by your keyboard would be plenty I think. [...]
On Mon, 2 Jan 2017 at 16:24 Michael Torrie wrote:
> Really, the basic stuff is enough to be very productive in vim. In fact
> just knowing how to save and quit is half the battle! A little cheat
> sheet for vim by your keyboard would be plenty I think. If all you knew
> was how to change modes
On Jan 2, 2017 10:57 AM, "Wildman via Python-list"
wrote:
On Sun, 01 Jan 2017 23:02:34 -0800, einstein1410 wrote:
> I really don't care the person like you.
> Leave my posts, if don't like it.
> Why wasting your as well as my time.
> Just get lost man, or shut up.
[Obscene gesture trimmed]
Way
Dennis Lee Bieber wrote, on January 02, 2017 8:30 AM:
>
> On Sun, 1 Jan 2017 18:30:03 -0800, "Deborah Swanson"
> declaimed the following:
>
> >Dennis Lee Bieber wrote, on Sunday, January 01, 2017 6:07 PM
> >>
> >>
> >> l1 2 br, Elk Plains12-26 WA/pi
> >> l2 2 br, Elk Plains
On 2-1-2017 12:38, Antonio Caminero Garcia wrote:
> The thing with the from-the-scratch full featured IDEs (Eclipse, IntelliJ,
> Pycharm)
> is that they look like a space craft dashboard and that unwarranted resources
> consumption and the unnecessary icons. I want my IDE to be minimalistic but
On Sun, 01 Jan 2017 23:02:34 -0800, einstein1410 wrote:
> I really don't care the person like you.
> Leave my posts, if don't like it.
> Why wasting your as well as my time.
> Just get lost man, or shut up.
_ _
|_| |_|
| | /^^^\
On Mon, Jan 2, 2017 at 3:38 AM, Antonio Caminero Garcia <
tonycam...@gmail.com> wrote:
> Hello, I am having a hard time deciding what IDE or IDE-like code editor
> should I use. This can be overwhelming.
>
> So far, I have used Vim, Sublime, Atom, Eclipse with PyDev, Pycharm,
> IntelliJ with Pytho
On Mon, Jan 2, 2017 at 6:14 AM, wrote:
>
> Thanks a lot Justin,
>
> The problem was solved when I employed standard Framework methods for
> creation of new database object:
>
> in JS:
> var trendModel = new App.TrendModel();
> trendModel.set("phrase", search_phrase);
> trendModel.set("fro
On 01/02/2017 04:38 AM, Antonio Caminero Garcia wrote:
> The problem with Vim is the learning curve, so I know the very basic
> stuff, but obviously not enough for coding and I do not have time to
> learn it, it is a pity because there are awesome plugins that turns
> Vim into a lightweight powerfu
I'd recommend you be willing to put in the time and effort to learn the
tools you want to use, if you want to do professional software
development. Pick one, use it for a month (at least 100+ hours of hands on
keyboard coding). Sublime, Vi are great for Python, since Python doesn't
require as muc
On Monday, December 12, 2016 at 6:38:39 PM UTC+1, justin walters wrote:
> On Mon, Dec 12, 2016 at 7:27 AM, roma wrote:
>
> > Thanks Justin,
> >
> > I believe, the whole database story has no influence on the broken pipe
> > error. I've commented out the whole block and leave only return line:
> >
Op 31-12-16 om 01:26 schreef Deborah Swanson:
>> On 31 December 2016 at 10:00, Deborah Swanson
>> wrote:
>>> Oops, indentation was messed up when I copied it into the email.
>> The indentation of your latest message looks completely
>> broken now, you can see it here:
>> https://mail.python.or
Hello, I am having a hard time deciding what IDE or IDE-like code editor should
I use. This can be overwhelming.
So far, I have used Vim, Sublime, Atom, Eclipse with PyDev, Pycharm, IntelliJ
with Python plugin.
The thing with the from-the-scratch full featured IDEs (Eclipse, IntelliJ,
Pycharm
Jussi Piitulainen wrote, on January 02, 2017 1:44 AM
>
> Deborah Swanson writes:
> > Jussi Piitulainen wrote:
>
> [snip]
>
> >> With your particular conditions of non-emptiness, which is
> taken to
> >> be truth, you can achieve variations of this result with
> any of the
> >> following stat
Deborah Swanson writes:
> Jussi Piitulainen wrote:
[snip]
>> With your particular conditions of non-emptiness, which is taken to
>> be truth, you can achieve variations of this result with any of the
>> following statements:
>>
>> w = ( l1[v] if len(l1[v]) > 0 else
>> l2[v] if len(l2[v]) >
Aritra Bhattacharjee wrote, on January 02, 2017 1:05 AM:
> I am new to python programming. I wrote a code to search for
> the product names on a page of snapdeal.com .
>
> Code:
> import urllib.request
> from bs4 import BeautifulSoup as BS
>
> url =
> 'https://www.snapdeal.com/products/electron
Hello Aritra,
Your standard output and standard error are mixed (I don't know why), so error
message is not immediate to read. It is:
> Traceback (most recent call last):
> File "C:/Users/Aritra Bhattacharjee/PycharmProjects/PythonWebModules/Web
> Scraper.py", line 17, in
> print(product_
On Monday, January 2, 2017 at 2:35:22 PM UTC+5:30, Aritra Bhattacharjee wrote:
> I am new to python programming. I wrote a code to search for the product
> names on a page of snapdeal.com .
[RM]: Welcome and have fun.
> for i in range(1,21):
> print(product_name[i])
>
>
> Output:
> Traceba
Le 02/01/17 à 10:04, Aritra Bhattacharjee a écrit :
I am new to python programming. I wrote a code to search for the product names
on a page of snapdeal.com .
Code:
import urllib.request
from bs4 import BeautifulSoup as BS
url = 'https://www.snapdeal.com/products/electronics-headphones?sort=pl
Aritra Bhattacharjee wrote:
> I am new to python programming. I wrote a code to search for the product
> names on a page of snapdeal.com .
>
> Code:
> import urllib.request
> from bs4 import BeautifulSoup as BS
>
> url =
> 'https://www.snapdeal.com/products/electronics-headphones?sort=plrty'
>
I am new to python programming. I wrote a code to search for the product names
on a page of snapdeal.com .
Code:
import urllib.request
from bs4 import BeautifulSoup as BS
url = 'https://www.snapdeal.com/products/electronics-headphones?sort=plrty'
response = urllib.request.urlopen(url).read()
so
37 matches
Mail list logo