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


Groups > linux.debian.maint.python > #13488 > unrolled thread

How should learning to program in Python be approached, if learning objectives are sought to be customised?

Started by"Susmita/Rajib" <bkpsusmitaa@gmail.com>
First post2021-08-27 07:10 +0200
Last post2021-08-31 10:00 +0200
Articles 12 — 8 participants

Back to article view | Back to linux.debian.maint.python


Contents

  How should learning to program in Python be approached, if learning  objectives are sought to be customised? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2021-08-27 07:10 +0200
    Re: How should learning to program in Python be approached, if learning objectives are sought to be customised? "{Pokoradi, Balazs}" <pokoradi.1899@gmail.com> - 2021-08-27 10:40 +0200
      Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2021-08-30 17:30 +0200
        Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? Emmanuel Arias <eamanu@yaerobi.com> - 2021-08-30 17:40 +0200
          Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2021-08-30 18:30 +0200
            Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? Gregor Riepl <onitake@gmail.com> - 2021-09-01 10:30 +0200
            Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2021-09-05 13:30 +0200
              Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? Sandro Tosi <morph@debian.org> - 2021-09-05 14:40 +0200
              Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2021-09-05 14:40 +0200
        Re: How should learning to program in Python be approached, if  learning objectives are sought to be customised? Pokoradi Balazs <pokoradi.1899@gmail.com> - 2021-09-01 08:30 +0200
      books for learning python (was: Re: How should learning to program  in Python be approached [...]) Joost van Baal-Ilić <joostvb@debian.org> - 2021-08-31 08:50 +0200
        Re: books for learning python (was: Re: How should learning to  program in Python be approached [...]) Cindy Sue Causey <butterflybytes@gmail.com> - 2021-08-31 10:00 +0200

#13488 — How should learning to program in Python be approached, if learning objectives are sought to be customised?

From"Susmita/Rajib" <bkpsusmitaa@gmail.com>
Date2021-08-27 07:10 +0200
SubjectHow should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CQChP-1by-3@gated-at.bofh.it>
My dear Illustrious List Maintainers, Programmers and Senior members,

I have been on and off my idea to self-learn Python programming.

I learnt a little bit of Java programming, aided by the Eclipse IDE
and Oracle Java repository, which has exhaustive example codes and
object library resources, references, explanations, et al.

To me Python appeared to lack these resources.

Of late, I have been browsing the website, askpython.com, which said
that the same facility is available in Python too. The page,
https://www.askpython.com/python-programming,  in particular says
about an IDE: "...  PyCharm from JetBrains is the most popular Python
IDE. It has a Community Edition, which is free and open source ..."

I recently modified a "word frequency counting for a text file" script
to have the output redirected on to another text file rather than
printing the result on the console, and I must say that the
programming is very simple and elegant.

So now that I am enthused, could I please be given a little more
guidance on the following aspects please?:
(1)   exhaustive example codes
(2)   object library resources, references, explanations, et al
(3)   PyCharm from JetBrains
and any information that is thought relevant.

My regards and best wishes.
Rajib Bandopadhyay
An Open Source enthusiast

[toc] | [next] | [standalone]


#13489 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

From"{Pokoradi, Balazs}" <pokoradi.1899@gmail.com>
Date2021-08-27 10:40 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CQFz3-31X-1@gated-at.bofh.it>
In reply to#13488
Hi Rajib,

I’d recommend “Python crash course” by Eric Mathes, if you like learning using books. Gives good explanation of the basics, lists a few sample projects, all code is available on GitHub.
I find the best beginner friendly tutorials on particular tasks/packages are the ones by Corey Schafer on YouTube.

Eclipse actually has a very good extension for Python called Pydev, so you might try that once you’re familiar with the interface, however PyCharm is a great choice too.

One personal recommendation is that before starting pip installing Python packages on your machine directly, go through virtual environments and start using them, it will save you from a lot of issues should you need to use different versions of a package or even Python (eg 2.7 vs 3.8).

I hope you find this helpful and the best of luck with your Python journey!

Balazs

Отправлено с iPhone

> 27 авг. 2021 г., в 5:49, Susmita/Rajib <bkpsusmitaa@gmail.com> написал(а):
> 
> My dear Illustrious List Maintainers, Programmers and Senior members,
> 
> I have been on and off my idea to self-learn Python programming.
> 
> I learnt a little bit of Java programming, aided by the Eclipse IDE
> and Oracle Java repository, which has exhaustive example codes and
> object library resources, references, explanations, et al.
> 
> To me Python appeared to lack these resources.
> 
> Of late, I have been browsing the website, askpython.com, which said
> that the same facility is available in Python too. The page,
> https://www.askpython.com/python-programming,  in particular says
> about an IDE: "...  PyCharm from JetBrains is the most popular Python
> IDE. It has a Community Edition, which is free and open source ..."
> 
> I recently modified a "word frequency counting for a text file" script
> to have the output redirected on to another text file rather than
> printing the result on the console, and I must say that the
> programming is very simple and elegant.
> 
> So now that I am enthused, could I please be given a little more
> guidance on the following aspects please?:
> (1)   exhaustive example codes
> (2)   object library resources, references, explanations, et al
> (3)   PyCharm from JetBrains
> and any information that is thought relevant.
> 
> My regards and best wishes.
> Rajib Bandopadhyay
> An Open Source enthusiast
> 

[toc] | [prev] | [next] | [standalone]


#13492 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

From"Susmita/Rajib" <bkpsusmitaa@gmail.com>
Date2021-08-30 17:30 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CRRou-7wR-13@gated-at.bofh.it>
In reply to#13489
Thank you, Mr. Pokoradi, for your informative reply.

I use either Knoppix or Debian. So everything is pre-installed.

I don't know about pydev in Eclipse. So thank you for this bit of
information. I am not sure if PyChem could be installed in my system.
In Debian. So please advise,

I am not a book person. I say they talk a lot and deliver very little.
Tire me. I would rather like tough programs than beginners' programs
that provide insights, while running on the system.

Is there something similar to GDB (or DDD)?

Thank you for your reply.

Best.
Rajib

[toc] | [prev] | [next] | [standalone]


#13493 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

FromEmmanuel Arias <eamanu@yaerobi.com>
Date2021-08-30 17:40 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CRRya-7A1-15@gated-at.bofh.it>
In reply to#13492

[Multipart message — attachments visible in raw view] — view raw

Hi,

On Mon, Aug 30, 2021 at 12:24 PM Susmita/Rajib <bkpsusmitaa@gmail.com>
wrote:

> Thank you, Mr. Pokoradi, for your informative reply.
>
> I use either Knoppix or Debian. So everything is pre-installed.
>
> I don't know about pydev in Eclipse. So thank you for this bit of
> information. I am not sure if PyChem could be installed in my system.
> In Debian. So please advise,
>

I'm currently use Debian and PyCharm, you just need to download and use it.
I don't remember if I needed to install something, but I'm almost sure
that don't

>
> I am not a book person. I say they talk a lot and deliver very little.
> Tire me. I would rather like tough programs than beginners' programs
> that provide insights, while running on the system.
>
> Is there something similar to GDB (or DDD)?
>

pdb?

Cheers,
Emmanuel

>
> Thank you for your reply.
>
> Best.
> Rajib
>
>

[toc] | [prev] | [next] | [standalone]


#13494 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

From"Susmita/Rajib" <bkpsusmitaa@gmail.com>
Date2021-08-30 18:30 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CRSkx-85x-1@gated-at.bofh.it>
In reply to#13493
Thank you, Mr. Arias, for the info shared. That too, so promptly. Much
appreciated.

My apologies for the typo, PyChem, instead of PyCharm. Thank you for
sharing your personal experience with Pycharm.

Yes, also thank you for pydb or python-db. Your clue helped me
pinpoint the debugger. So it appears that i am all set to begin
practising python.

Please also advise: where could I have such repositories like such
huge oracle java object and code repository?

Best.
Rajib

[toc] | [prev] | [next] | [standalone]


#13501 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

FromGregor Riepl <onitake@gmail.com>
Date2021-09-01 10:30 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CStN8-7jB-15@gated-at.bofh.it>
In reply to#13494
> Please also advise: where could I have such repositories like such
> huge oracle java object and code repository?

I think what most people use as a source for Python packages is PyPi:
https://pypi.org/

And there is excellent tooling around it. Personally, I prefer pipenv
for application dependency management, but there are other tools.
PyCharm can work with pipenv and virtualenv natively:
https://www.jetbrains.com/help/pycharm/pipenv.html

Minor tip, install pipenv with apt and not with pip:
sudo apt install pipenv

[toc] | [prev] | [next] | [standalone]


#13505 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

From"Susmita/Rajib" <bkpsusmitaa@gmail.com>
Date2021-09-05 13:30 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CTYvv-av-1@gated-at.bofh.it>
In reply to#13494
Thank you, Ms. Causey and Mr. van Baal-Ilić, for your posts.

I am retaining the same subject line to avoid cluttering of my subsequent posts.

It appears that the Python books by Zed A Shaw are diversifying,
spreading out. From Learn Python The Hard Way, Addison-Wesley, 2013
ed., to Learn Python 3 the Hard Way, Addison-Wesley, 2017 to  Learn
More Python 3 the Hard Way, Addison-Wesley, 2017.

So Python 3 and More Python 3 should be appropriate. But I begin to
suspect authors who try to replicate their 'success with one book'
with more number of similar books.

My query regarding a huge repository for Python like the Oracle Java
repository, including example codes, structured information and object
library still remains unattended.

Did any software/IT company like Oracle take up the responsibility to
erect such a meticulous construct bit by bit, or are such construct
yet to materialise?

I have been using Bluefish to edit html files (simple edits), so I am
conversant with Bluefish editor. I also have the information regarding
Pycharm. So all set.

Just waiting for the last mile information, as asked in this post
above and the earlier one with threat ref.
.../debian-python/2021/08/msg00033.html

Best
Rajib

[toc] | [prev] | [next] | [standalone]


#13506 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

FromSandro Tosi <morph@debian.org>
Date2021-09-05 14:40 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CTZBf-OE-7@gated-at.bofh.it>
In reply to#13505
Rajib,
thanks for your enthusiasm in learning python, but please note this
mailing list is dedicated to "Discussion of issues related to Python
on Debian systems with a stress on packaging standards. Therefore
relevant for maintainers of Python related packages.", while it
appears you have general Python questions unrelated to packaging. so
please look for help with them on a Python support channel as reported
at https://www.python.org/about/help/

Regards,
Sandro

On Sun, Sep 5, 2021 at 7:24 AM Susmita/Rajib <bkpsusmitaa@gmail.com> wrote:
>
> Thank you, Ms. Causey and Mr. van Baal-Ilić, for your posts.
>
> I am retaining the same subject line to avoid cluttering of my subsequent posts.
>
> It appears that the Python books by Zed A Shaw are diversifying,
> spreading out. From Learn Python The Hard Way, Addison-Wesley, 2013
> ed., to Learn Python 3 the Hard Way, Addison-Wesley, 2017 to  Learn
> More Python 3 the Hard Way, Addison-Wesley, 2017.
>
> So Python 3 and More Python 3 should be appropriate. But I begin to
> suspect authors who try to replicate their 'success with one book'
> with more number of similar books.
>
> My query regarding a huge repository for Python like the Oracle Java
> repository, including example codes, structured information and object
> library still remains unattended.
>
> Did any software/IT company like Oracle take up the responsibility to
> erect such a meticulous construct bit by bit, or are such construct
> yet to materialise?
>
> I have been using Bluefish to edit html files (simple edits), so I am
> conversant with Bluefish editor. I also have the information regarding
> Pycharm. So all set.
>
> Just waiting for the last mile information, as asked in this post
> above and the earlier one with threat ref.
> .../debian-python/2021/08/msg00033.html
>
> Best
> Rajib
>


-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

[toc] | [prev] | [next] | [standalone]


#13507 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

From"Susmita/Rajib" <bkpsusmitaa@gmail.com>
Date2021-09-05 14:40 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CTZBf-OE-11@gated-at.bofh.it>
In reply to#13505
Apologise, Mr. Pokoradi and Mr. Riepl. Thank you very much for your
inputs on PyCharm and PyPi respectively, which i initially overlooked,
as the change in month caused a change in the Thread Index Page.

Best,
Rajib

[toc] | [prev] | [next] | [standalone]


#13500 — Re: How should learning to program in Python be approached, if learning objectives are sought to be customised?

FromPokoradi Balazs <pokoradi.1899@gmail.com>
Date2021-09-01 08:30 +0200
SubjectRe: How should learning to program in Python be approached, if learning objectives are sought to be customised?
Message-ID<CSrUZ-694-1@gated-at.bofh.it>
In reply to#13492
Hello Rajib,

that's alright) Yes, PyCharm can be installed on Debian:

https://www.jetbrains.com/pycharm/download/#section=linux

Good luck!

On 30/08/2021 16:06, Susmita/Rajib wrote:
> Thank you, Mr. Pokoradi, for your informative reply.
>
> I use either Knoppix or Debian. So everything is pre-installed.
>
> I don't know about pydev in Eclipse. So thank you for this bit of
> information. I am not sure if PyChem could be installed in my system.
> In Debian. So please advise,
>
> I am not a book person. I say they talk a lot and deliver very little.
> Tire me. I would rather like tough programs than beginners' programs
> that provide insights, while running on the system.
>
> Is there something similar to GDB (or DDD)?
>
> Thank you for your reply.
>
> Best.
> Rajib
>

[toc] | [prev] | [next] | [standalone]


#13495 — books for learning python (was: Re: How should learning to program in Python be approached [...])

FromJoost van Baal-Ilić <joostvb@debian.org>
Date2021-08-31 08:50 +0200
Subjectbooks for learning python (was: Re: How should learning to program in Python be approached [...])
Message-ID<CS5KN-8vA-1@gated-at.bofh.it>
In reply to#13489
Hi,

Op Fri, Aug 27, 2021 at 09:29:51AM +0100 schreef {Pokoradi, Balazs}:
> 
> I’d recommend “Python crash course” by Eric Mathes, if you like learning using books. Gives good explanation of the basics, lists a few sample projects, all code is available on GitHub.
> I find the best beginner friendly tutorials on particular tasks/packages are the ones by Corey Schafer on YouTube.
> 
<snip>

FWIW, I like the way "Learn Python the Hard Way" (
https://learnpythonthehardway.org/ ) by Zed A. Shaw treats the subject.

HTH (for someone), Bye,

Joost

-- 
Joost van Baal-Ilić                         Tilburg, Netherlands
http://mdcc.cx/                               http://ad1810.com/

[toc] | [prev] | [next] | [standalone]


#13496 — Re: books for learning python (was: Re: How should learning to program in Python be approached [...])

FromCindy Sue Causey <butterflybytes@gmail.com>
Date2021-08-31 10:00 +0200
SubjectRe: books for learning python (was: Re: How should learning to program in Python be approached [...])
Message-ID<CS6Qx-MS-3@gated-at.bofh.it>
In reply to#13495
On 8/31/21, Joost van Baal-Ilić <joostvb@debian.org> wrote:
> Hi,
>
> Op Fri, Aug 27, 2021 at 09:29:51AM +0100 schreef {Pokoradi, Balazs}:
>>
>> I’d recommend “Python crash course” by Eric Mathes, if you like learning
>> using books. Gives good explanation of the basics, lists a few sample
>> projects, all code is available on GitHub.
>> I find the best beginner friendly tutorials on particular tasks/packages
>> are the ones by Corey Schafer on YouTube.
>>
> <snip>
>
> FWIW, I like the way "Learn Python the Hard Way" (
> https://learnpythonthehardway.org/ ) by Zed A. Shaw treats the subject.
>
> HTH (for someone), Bye,


My copy of Learn Python the Hard Way is sitting no more than 12 inches
from my mouse right now. I have PTSD-induced cognitive issues, and I
have no problem following along with it. I took a chance on it after
reading some reviews that proved to be fair judges.

There's a CD that goes with, but I never even opened it and am still
able to follow along. In the end, the book's method seemed to work
fine with a totally not fancy, onboard "IDE" (Integrated Development
Environment) via xfce4-terminal.

There are a couple different installable IDEs in the main repository
if one wants to play around to see if any further inspire one's own
creativity. As a quick example, I can remember installing both "eric"
and "idle".

Geany and Bluefish both also mention Python support. I have them
installed, but they're kind of "too busy" (overwhelming) for my brain.
I do like how Geany highlights the contents of lilo(dot)conf so
there's always that perk with that one. :D

Hope this helps somehow, too.

Cindy :)
-- 
* runs with birdseed *

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web