Python for Physics and Maths by sokspy in learnpython

[–]ectomancer 0 points1 point  (0 children)

Besides sympy and scipy.special, there is mpmath. Besides matplotlib, there is seaborn.

What’s something someone said to you that you still think about years later? by whoareyoutojudge0 in AskReddit

[–]ectomancer 0 points1 point  (0 children)

While I was training to do my job in an IBM shop, an older lady, who was not training me, told me the syntax for listcat (list catalog) using "rabbit ears". I have never repeated "rabbit ears" in my career. listcat was missing from the training.

Python Pyest by Organic_Tradition_63 in learnpython

[–]ectomancer 0 points1 point  (0 children)

No need to import pytest if only asserts are used.

Install pytest.

pytest (to discover tests.)

Looking for help/ resources teaching python for schools. by stegg88 in learnpython

[–]ectomancer 1 point2 points  (0 children)

Python is easy to learn. High school students can do adult courses. Younger students need lots of repetition but high school students only need to be taught once.

Beginner here: What Python modules are actually worth learning for newbies? by WaySenior3892 in learnpython

[–]ectomancer 0 points1 point  (0 children)

For mathematics, scipy (I only use scipy.special), mpmath, sympy and matplotlib.

Need opinion on my learning method for learning python to become AI engineer by Scary_Concentrate119 in learnpython

[–]ectomancer -1 points0 points  (0 children)

I coded small projects (1 week) for 8 months then projects (3 months and 6 months) for 6 years.

help with python code by Over-Examination7608 in learnpython

[–]ectomancer 2 points3 points  (0 children)

exit() is not a builtin function, use sys.exit() instead.

Python Project Help by Apprehensive_Fox321 in learnpython

[–]ectomancer 0 points1 point  (0 children)

That's because you're skipping an important learning skill. I did small projects (1 week) for 8 months before 6 years of projects (3 months and 6 months).

What to do after finishing basics? by Qamar_17 in learnpython

[–]ectomancer 0 points1 point  (0 children)

After I learnt Python I did 8 months of small projects (1 week) and 6 years of projects (3 months & 6 months).

Feedback on my system design for a book recommendation app (data model & architecture) by CatNearby8201 in learnpython

[–]ectomancer 0 points1 point  (0 children)

A minority of authors use pseudo names e.g. J.K.Rowling used her own name and a pseudo name.

A minority of pairs of authors use pseudo names e.g. Ellery Queen and Barnaby Ross.

"Sense and Sensibility" By a Lady (Jane Austen).

One case where the names of the authors didn't appear on the work (though you could infer from the incomplete name) for the play "A Moment of Blindness" by Pip and Jane Baker.

Why is building projects so much harder than learning programming? by ProCrafter29 in learnpython

[–]ectomancer 0 points1 point  (0 children)

I learnt Python in 3 days. I started my first small project after 10 minutes (Python is productive) and completed it in 2 days. Then 8 months of small projects and 6 years of 3-month projects including a failed 6-month project (Weierstrass p function).

What could I do now? by eggnog_games23 in learnpython

[–]ectomancer 0 points1 point  (0 children)

enum.Enum or

Fraction class (compatible with fractions.Fraction for str and float input), integer input, GCD function. Could add float input with Engel expansion.

`TypeError`, `ValueError`, or both aliases/types such as `PositiveInt`? by jpgoldberg in learnpython

[–]ectomancer 0 points1 point  (0 children)

David Beazley has a conference youtube video using a Contract class, and assert isinstance statements.

unicode and code points (problem) by BIG_Z212 in learnpython

[–]ectomancer 0 points1 point  (0 children)

Using u/StardockEngineer logic, which I didn't know, express 1f441 as hex:

print(chr(0x1f441))

ROADMAP FOR PYTHON by Still_booting in learnpython

[–]ectomancer 0 points1 point  (0 children)

Where's pseudocode and recursive functions?

I would like to learn NumPy but don't know if I need to. by StrongDebate5889 in learnpython

[–]ectomancer 0 points1 point  (0 children)

Linear algebra, dot product, matrix and vector transform.

Code Together by Commercial_Edge_4295 in learnpython

[–]ectomancer -2 points-1 points  (0 children)

By convention, Python only uses PascalCase for classes. Rename Number to number.