• How should learning to program in Python be approached, if learning obj

    From Susmita/Rajib@21:1/5 to All on Fri Aug 27 07:10:02 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From {Pokoradi, Balazs}@21:1/5 to All on Fri Aug 27 10:40:01 2021
    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


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Susmita/Rajib@21:1/5 to All on Mon Aug 30 17:30:02 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Emmanuel Arias@21:1/5 to All on Mon Aug 30 17:40:02 2021
    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



    <div dir="ltr"><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div>Hi, <div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon,
    Aug 30, 2021 at 12:24 PM Susmita/Rajib &lt;<a href="mailto:bkpsusmitaa@gmail.com">bkpsusmitaa@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank
    you, Mr. Pokoradi, for your informative reply.<br>

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

    I don&#39;t know about pydev in Eclipse. So thank you for this bit of<br> information. I am not sure if PyChem could be installed in my system.<br>
    In Debian. So please advise,<br></blockquote><div> </div><div>I&#39;m currently use Debian and PyCharm, you just need to download and use it.</div><div>I don&#39;t remember if I needed to install something, but I&#39;m almost sure that don&#39;t </div>
    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

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

    Is there something similar to GDB (or DDD)?<br></blockquote><div> </div><div>pdb? </div><div><br></div><div>Cheers,</div><div>Emmanuel</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-
    left:1ex">

    Thank you for your reply.<br>

    Best.<br>
    Rajib<br>

    </blockquote></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Susmita/Rajib@21:1/5 to All on Mon Aug 30 18:30:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joost van =?utf-8?Q?Baal-Ili=C4=87?@21:1/5 to All on Tue Aug 31 08:50:01 2021
    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/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Cindy Sue Causey@21:1/5 to joostvb@debian.org on Tue Aug 31 10:00:01 2021
    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 *

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pokoradi Balazs@21:1/5 to All on Wed Sep 1 08:30:01 2021
    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


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gregor Riepl@21:1/5 to All on Wed Sep 1 10:30:02 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Susmita/Rajib@21:1/5 to All on Sun Sep 5 13:30:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sandro Tosi@21:1/5 to bkpsusmitaa@gmail.com on Sun Sep 5 14:40:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Susmita/Rajib@21:1/5 to All on Sun Sep 5 14:40:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)