🌐
Reddit
reddit.com › r/python › how long would it take to learn python for an experienced programmer?
r/Python on Reddit: How long would it take to learn Python for an experienced programmer?
December 25, 2019 -

I've been doing full stack Javascript for a while, I also know C# and C++. I know Python basics from having looked at code etc, after all its very readable but haven't done much coding.

I'll be honest, my current work doesn't really have Python projects, and I really want to learn because 1) its a good thing and I'm sure I will find uses for it, but mainly 2) I want to use it for technical coding interviews.

I really don't want to use C++, C# or god forbid Java (the opposite of terse). In the past I've used ES6 also and its generally fine but some companies have the impression that its not a 'real' language (which is nonsense). Anyway Python is even more terse/readable (well except for lambdas) and has more data structs (like queues, heaps) that are often used in interviews.

Just to make it clear, I'm not trying to 'cheat' or memorize. I want to learn the language but with a focus on solving questions like you see in leetcode vs e.g doing ML or data science. Things like list comprehensions etc seem very useful. JS ES6 and Python seem very similar in many ways so I think this will come down to really understanding the 'Pythonic' way of doing things after learning the syntax etc.

🌐
Reddit
reddit.com › r/learnjavascript › how long it takes to learn javascript if i come from a python background?
r/learnjavascript on Reddit: How long it takes to learn Javascript if I come from a Python background?
September 24, 2021 -

At my job right now I work with Python (intermediate to advanced knowledge) and SQL (advanced knowledge) and some R but I'd like to switch career and learn Javascript.
I wonder how long it takes to learn Javascript (enough to pass jobs interviews) if I study it 3 hours per day and I'd like to know what frameworks should I focus on for better career prospects.

Thanks you!

Top answer
1 of 4
7
Modern JavaScript and Python have a lot in common - for example the iteration protocol, generators, module import syntax, and async/await syntax should feel pretty similar. JS does not have comprehension syntax (e.g. the list, dictionary, set, and generator comprehensions available in Python). It is much more common to use functional programming patterns. Arrow functions in JS are analogous to lambdas in python. JS functions do not have keyword arguments. Instead, it is fairly common for functions to accept an "options" object as their final positional parameter, containing key-value pairs. JS does not differentiate between "items" and "attributes". They are all just properties on an object, accessed with either square brackets obj['propertyName'] or dot notation obj.propertyName. A JS object literal is kind of similar to a dictionary in python, but JS also now has Map and Set classes. JS has a contextual this keyword, instead of a conventionally-named self parameter for object methods. Methods are not auto-bound to objects like they are in python. The this keyword is provided to a method at call-time - for example if you call someObj.someMethod() or someObj['someMethod']() the dot notation and square bracket notation implicitly provides someObj as the value of this inside someMethod. However in the following code: let method = someObj.someMethod; method(); The this keyword will not be someObj - it will either be the global object or undefined depending on if you are using strict mode. Function objects also have call, apply, and bind methods which can be used to explicitly set the value of this. JS does not have magic methods like python has - so you can't override the behavior of builtin operators like you can in python. For example the === operator always compares values by strict equality (same type and value for primitives, referential equality for objects). JS classes do not support multiple inheritance, though multiple inheritance is possible via object prototypes. JS has a for...in loop as well as a for...of loop. The for...of loop is the one that works like for...in in python, which is easy to mix up. JS has both a null primitive and an undefined primitive, as opposed to Python's singular None. Obviously there are syntax differences - python uses a much more minimalist, significant-whitespace syntax, while JS has a more C-like syntax with more brackets, parens, semicolons, etc. And of course there are various other differences, but these are the ones that I think are most likely to trip you up when learning JS coming from a Python background.
2 of 4
4
I mean... it's different for different people, but if you know Python you should be able to pick up js relatively quickly. Maybe a couple months then start applying to jobs? React is probably still the biggest framework and best for job prospects.
🌐
Reddit
reddit.com › r/learnprogramming › after learning python, html and css to a basic level how long will take to learn js, react etc to become a front end dev?
r/learnprogramming on Reddit: After learning python, html and css to a basic level how long will take to learn js, react etc to become a front end dev?
January 9, 2023 -

Is python similar to javascript will I be able to pick up everything fairly quickly? I have been learning python for a couple of weeks now and I'm slowly gaining an understanding. I plan on sticking to learning html, css and python for a month or two more than try and learn some javascript and react, I actually first started on js but skimmed through html, css quickly and then javascript hit me pretty hard then life got in the way. So I started with python one year later and feel much better, perhaps my original approach was poor. Also eventually I was thinking about full stack so thats why I thought python was quite a good choice for back end.

Thank You.

🌐
Reddit
reddit.com › r/learnpython › learning javascript after python
r/learnpython on Reddit: Learning Javascript after Python
October 22, 2021 -

Two things strike me with Javascript as opposed to Python (obviously, caveats apply...)

  1. Learning Javascript to enable the web is far more practical than learning a Python GUI.

  2. All of the extra steps in Javascript when it comes to functional programming, yuck!

Top answer
1 of 5
42
I’m going the ofher way, learning python from scratch as a snr. js stack dev. Don’t mind python but there’s quirks to every language. I generally don’t find the tooling as satisfying in python yet, but I do like the fluency of the language. I like that I write it once and can expect it to do what I think it’s gonna do. I’m also not yet used to indentation mattering as much, not a huge fan but again; quirk of the language. Tips I’d give python devs learning JS: stay the hell away from frameworks until you’re comfortable with the core language, learn es6/typescript. learn by doing, find a project and work out how to spin it up, then find flaws and see what JS has to offer to improve in those areas. you’ll never learn it all, stick to making stuff that works/solves your problem. learn about javascript’s weird and predicable but not expected scoping rules pick up a typed form of JS (typescript/es6 with types) set up eslint with recommended(s) and prettier so you get the style of pretty-good js. learn the es6 way of doing something before the library-laden way. (Like the pyhonic way but for js) spend time on closures, async/await, lambdas, scoping, destructuring and Promise patterns (all, race, allResolved, etc), oh and coercion. look at what your ts/es6 transpiles down to (unminified) to get an idea of how JS does stuff under the hood. learn about tooling (node, npm, nps, jest, nyc, eslint, prettier, webpack/a bundler) learn about number/decimal handling if you plan on doing any math you need to trust (financial), see decimal.js & similar. Run “0.1 + 0.2” if you’re not sure why. learn about all the crazy places you can deploy JS (browser, node, electron, capcitor, etc). If you’re picking a base framework for front-end dev the answer is probably react. The State of JS survey results can guide you on what frameworks and libraries might be worth picking up. Good luck and welcome to ordered chaos.
2 of 5
37
Looping through an array in Javascript for the first time after doing it in Python for months was just, like, whaaaat.
🌐
Reddit
reddit.com › r/learnpython › how long does it take to learn py to a point at which one can be considered a 'junior developer'?
r/learnpython on Reddit: How long does it take to learn Py to a point at which one can be considered a 'junior developer'?
June 13, 2023 -

This is assuming full time (albeit remote) learning.

I'm asking because there are government funded courses in my country where companies are offering 12 week courses to teach Python.

But they also say They will be able to teach JavaScript as well as other skills like HTML and CSS, and help get you a job, and help build you a profile.

These courses are legitimately government-funded and you get a Microsoft certificate at the end of it.

To those who have been using Python for 5 years or more; is it even remotely possible to learn Python well enough in 12 weeks to get a job with it? (assuming you're learning JavaScript and building a web portfolio at the same time)

Find elsewhere
🌐
Reddit
reddit.com › r/learnprogramming › how hard is javascript to learn after wetting my feet in python?
r/learnprogramming on Reddit: How hard is JavaScript to learn after wetting my feet in Python?
July 31, 2020 -

I'm beginning to feel mildly competent with Python, enough that I can debug my code and understand the documentation and some of the core conceptual logic of Py.

For the project I am working on the next step is to get my python code into a web app, I am looking at just using Django because it uses Python language but I feel JavaScript (HTML, CSS doesn't worry me) may be more beneficial in the long run (skills and project-wise).

I see lots of people saying JS is hard to learn and understand, should I invest the time now? Or can Django get me a pretty decent responsive website for the near term? (The sites main functions will be looking at a map of venues around the user's location that are drawn from a database (I have used SQLite3) allow users to login and submit recommendations which are then mapped).

I'd ideally like to turn this project into an IOS and Android App in the medium term too.

EDIT: Thanks for the phenomenal advice everyone! Hopefully this I helpful to others too.

🌐
Reddit
reddit.com › r/learnpython › how long did it actually take you to learn the basics?
r/learnpython on Reddit: How long did it actually take you to learn the basics?
July 12, 2024 -

I have the books

Python crash course Automate the boring stuff with python Fluent python

And also bought the course 100 days of code angela yu

I practice daily for the last 4 months and feel like i’m struggling to remember all the basics and have to constantly go back and reread how to use the basic functions of python.

🌐
Reddit
reddit.com › r/learnpython › realistically how long does it take to learn python ?
r/learnpython on Reddit: realistically how long does it take to learn python ?
March 2, 2024 -

Hi there, noob with no real programming experience here (Just some html and lots of research about it cuz i like dev stuff )

Realistically how long does it take to learn python enough to start making my own stuff, more specifically games ?

Thanks in advance!

Top answer
1 of 18
36
think of it like a foreign language. how long does it take to learn japanese? well, it depends, do you want to learn enough to get around while vacationing or to the point where you can be a journalist, diplomat, or novelist? the range could be from a few months to several years to a lifetime. so it depends on if you want to make a simple text game for personal satisfaction, a more complex game to sell as a solo dev, or if you’re aiming to work at a studio as part of a team.
2 of 18
6
Don't start with games. Start with a text-based game. That's it. Then, build up into other non game related projects. Get to a level where you comfortably understand Python, and if I give you a project, any random project I think of, you can do it. In fact, when you feel like you're at that level, reply under this message, and I'll give you a random project I think of then. Then, spend some time learning c++ or c# depending on some factors. You'll know what these factors are when you learn py and do some research. Don't rush it. And then get into the game development. But you're probably thinking, why is this guy asking me to learn Python if the end goal is another language. And that's because the basics of programming are the same across languages. Of course, C++/C# will introduce new topics, but nothing that can't be solved with a few weeks of study. It's better to learn Python than to dive straight into c++/c#, in my opinion. It'll be well worth it and actually save you a ton of time. But whatever you decide to do, do not rush game development. Don't be like I have to start making gta6. That'd be like me giving you a pickaxe, a mine, some dirt, and some land, and asking you to make me a gaming pc capable of playing gta 6. You wouldn't even know where to start, the pc's case, or mining the metal for the cpu. Try to think about how you'd go about that. When you realize it's impossible, you've gotten a sneak peak into what happens when you decide to skip Python, jump to c++, and open unity to start making the next gta 6.
🌐
Quora
quora.com › How-many-days-does-Python-programming-language-take-to-learn-after-learning-JavaScript
How many days does Python programming language take to learn after learning JavaScript? - Quora
Answer (1 of 2): I think it may be one month because you already learned complexity langugaue like java script python is more flexible less complexicity in the syntax , indentication basing on your skill if you pay attention stick to it you ...
🌐
Sololearn
sololearn.com › en › Discuss › 2910746 › how-long-does-it-take-to-learn-python-if-you-know-javascript
How long does it take to learn Python if you know JavaScript?! | Sololearn: Learn to code for FREE!
October 24, 2021 - It depends on how serious you are. Actually you can be able to understand python and some other programming language when you have knowledge of JavaScript.
🌐
Reddit
reddit.com › r/learnpython › how long did it take until you were "good" at python and how long to "master" it
r/learnpython on Reddit: How long did it take until you were "good" at Python and how long to "master" it
October 6, 2024 -

Im about a month or two in. I can make basic programs and I'm moving into GUIs. I am getting frustrated because all of the things I really want to do are outside my skill set.

I want to use python to control servos, build facial recognition programs, machine learning etc. The big boi stuff. How long did it take you before you could do whatever you wanted?

Like I have this goal and I have a solid idea on how to get there. Or I have an idea for a web app, I know how to do it now I just need to write the code. Another example, I want to build a program that uses facial recognition, apply it to a drone, and have that drone follow my target.

Are my goals years and years away? Or is it months?

I'd like to hear from some of the Python Masters if possible.

🌐
Reddit
reddit.com › r/learnprogramming › learn python or javascript first?
r/learnprogramming on Reddit: Learn Python or JavaScript first?
December 29, 2021 -

Hello!

Im 26 years old and have an associates degree, I’m doing a career change from Finance. I realized that going to bootcamp is not worth it , and pursuing a CS degree would help me get a job. It should take me about 2 years to finish but meanwhile I go through those classes I want to self learn, build my skills, get my portfolio going.

My goal is to become a web developer(front end preferably) or even backend if I end up liking it.

My first 2 classes at the university are python related, so would it make sense for me to go all in on Python by taking self learning courses through udemy or youtube? and worry about learning JavaScript later? I already know html, css and a little bit of JavaScript but I’m not sure if its doable learning python and JavaScript at the same time. Has anyone tried learning python and JavaScript at the same time?

Thanks!!

🌐
Reddit
reddit.com › r/learnpython › how long does it take to learn the basics of python programming?
r/learnpython on Reddit: How long does it take to learn the basics of Python Programming?
August 30, 2021 -

I want to learn Python as soon as possible, in how many hours can I learn about Python Programming basics. I'm new to coding!

🌐
Reddit
reddit.com › r/learnprogramming › how long does it take to learn a new programming languages once you are proficient in one language?
r/learnprogramming on Reddit: How long does it take to learn a new programming languages once you are proficient in one language?
February 5, 2025 -

Hello, new learner here and just being curious. Suppose I pickup Java/C++ etc and spend a good couple of years practicing it, what level of programming proficiency would I have achieved in this time and how would that affect my ability to pick up a new language? Like say Python, Javascript etc.

Edit: Thank you all for your responses. It has all been really helpful, concise and encouraging.

Top answer
1 of 31
67
If you learn programming, i.e. solving problems in an algorithmic, step-by-step manner, instead of only programming languages, learning and switching to new languages is fairly easy. If you only get stuck at the programming languages and only fixate on code, it will stay the same difficulty no matter how many languages you learn. You have to learn to look "behind" the implementation in code. You have to learn to look on the algorithm, the steps. Code, the implementation in a programming language, is only the final product. What is far more important than the code is the design process, the thoughts, the considerations, the decisions, the compromises that lead to an algorithm that then can be implemented in code. Once you have reached that level, learning new languages is only learning the vocabulary, grammar, and peculiarities of new languages.
2 of 31
10
There is lots of transfer between languages of the same or similar paradigms. If you had a few years of programming experience in an OOP language (just for example), learning a second OOP language enough to throw something together would take hours/days. Learning it well would obviously take longer, weeks or months. I can't be more specific because there isn't one answer here. I've written decently complicated small(ish) programs in languages I've learned in the same afternoon (e.g. Ruby, Go, Lisp). I've also struggled to write anything useful for days in languages with a significant paradigm shift (e.g. Haskell).