r/learnpython • • Sep 02 '20

To all passionate programmers out there: What is the best process in getting systematically better in learning Python?(up to Level Mastery?) My target is to be a Python Developer in a Startup here in Berlin.

I currently work on Automate the Boring Stuff (Fantastic Book). It has plenty of Practical Projects. Well I solve one by one. Simultaneously I build up a GitHub Pages Website where I document my projects.

Is this the best process of getting a job? Solving more and more projects? Making them more and more complex? Does this process lead to Real-World Results?

Thanks guys. Have an incredible day. All the best from Berlin

476 Upvotes

116 comments sorted by

153

u/deeeebait Sep 02 '20

I'm a Data Engineering manager at a start up, here are the things I'd look for when evaluating someone's Python skills:

- Real world production projects with a business impact. This is the most important thing you can do. There's a lot of OSS and side project folks who can write some Python to do something, but it's a different ballgame to deal with the lifecycle of putting some into production and having to maintain something other people rely on. I like to see the business impact of the work they did, because I look for developers who think beyond the code.

- Barring that, OSS projects/Hackathons/Research, etc... I think every dev should do some of these, but I think having some valuable projects (e.g. beyond "I followed a tutorial to build this thing) that they can speak to is a good mark. I also love being able to see how you would design and code a project if you had full design control over it.

In general, some concepts to know and get familiar with:

- Pandas/Numpy: get good at these, there's a lot of flexibility for analytics and because they are written to interface with C-level code, they are going to be a lot faster when done correctly than something in pure Python.

- Object-oriented approaches: Python has support for robust OOO using classes, you may prefer procedural or functional programming but OOO is still a dominant paradigm and you will need to be at least familiar with the base concepts and how to interact with code written using those approaches.

- Multiprocessing: People say Python doesn't scale. They are morons. Learn how to write multiproccessed code to leverage multiple cores and scale. I can't tell you the number of times I've "fixed" performance/scaling issues in other people's code by just rewriting a big for loop to utilize multiprocessing.

- Error handling: Dear lord, learn how to leverage error handling and use try/except blocks effectively. Even if you are writing procedural code, use try/catch to prevent your code from being flaky.

- Testing: WRITE TESTS. Get comfortable with Pytest or Nose or another framework. I'm not saying you have to go deep into Test-Driven Development or anything, but learn how to write unit tests and get in the habit of doing them. Unit tests not only help to test your code, but they challenge you to be a better developer, because you start to write more atomic functions to make writing your tests easier.

- Requests/APIs: Every developer in 2020 needs to be comfortable with interfacing with APIs. You'd be shocked at the number of folks who I've seen struggle with this.

- Flask/Pyramid/Fast API/etc... One of the best ways to expose Python code is to wrap it in a simple REST API service. Learn how to do this quickly. This is important especially when you work with another development team in house. For example, my team uses Python and we expose most of our stuff as REST APIs with Swagger docs. Another dev team is Java, and we just swap API endpoints to interact with each other's processes.

- Cloud deployment/scaling: You may be lucky enough to someday work in a shop with DevOps folks who are really comfortable with being fully responsible for maintaining scaling a deployment, and all you have to do is give them your code. Especially in small shops, this is likely not the case. Learn how to deploy on AWS/Azure/GCP, beyond just copying a python script to an EC2 instance. Become familiar with Lambda (serverless) Kube/ECS/Fargate (Containers), RDS/Aurora (database) and be comfortable deploying code to those approaches using their patterns to optimize and scale your code.

At the end of the day, Python is a "full-spectrum" language. As someone who wants to become a Python expert and do it professionally, especially since you are self-teaching, you are going to fight the notion that a new/Junior Python dev is just writing flaky procedural scripts. You can write great, hardened, scalable code in Python that rivals any other language, but I feel that due to Python being relatively easy to learn, there's a low barrier to entry, and it means that it's harder to assume a baseline level of CS knowledge that I'd look for in a developer that I would want to hire.

12

u/[deleted] Sep 02 '20

Thanks. This comment alone saved me hours of research.

14

u/Noodles_Crusher Sep 03 '20

that looks like, I don't know, at least 5 years of actual work?

4

u/deeeebait Sep 03 '20

I think you could get baseline familiarity with all of this in about 2 years, and I think you can combine some these concepts into projects, e.g. build a serverless Flask API hosted on API Gateway + AWS Lambda that joins data from a couple of Open APIs on real estate and neighborhood demographic data. Write unit tests for it in Pytest, take some of those tests and use multiprocessing.pool.map to load test the api by hitting in parallel.

2

u/magibeg2 Sep 03 '20

Probably falls under 5 to 8 years

5

u/kessma18 Sep 02 '20

op, this post above is basically /thread. the only thing I personally don't agree with is OOP. it's almost impossible for junior devs to get this right (and then right is kinda debatable depending on who you ask).. OOP concepts are discovered, they are either aha or wtf-moments for you.. the oop in he books and what's used in the wild is 2 different things. don't worry about toy code OOP, it's garbage (https://www.youtube.com/watch?v=o9pEzgHorH0)

2

u/deeeebait Sep 03 '20

Agree;

I started with OOP in my undergrad Java class which was my first real programming course. It made no sense to me and it made me think programming wasn't for me.

I picked up Python and was refreshed by the lack of structure - I could just code and get things done without worrying about all of the OOP stuff.

It wasn't until I got more advanced in Python that I started to naturally encounter some cases where OOP was useful and I had the aha moment you mention.

TBH, it wasn't until I took a formal software architecture and design course in my Master's program that I felt like I really "got" OOP.

1

u/shutchomouf Sep 03 '20

this and the crazy formatting constraints are enough to at least consider a more mature language... that said, there are few languages that are as easy to get up and running. but for anyone that is determined, the root comment is like a syllabus for “your life as a py programmer”. good on him for encouraging others and lighting the path so eloquently. clearly a master.

4

u/[deleted] Sep 03 '20

The bit about the flakey procedural scripts hit me hard -

3

u/deeeebait Sep 03 '20

😂 We've all been there! Sometimes flakey is okay - quick and dirty scripts to get things done can be helpful, it's just a different story to write production services/applications and I hate how Python seems to get a bad rap from other programming communities as just being a bunch of Data Scientists and Skiddies.

3

u/appsplaah Sep 03 '20

Awesome. Thanks I didnt ask the question but me and op are in the similar boat though from India. I am confident over pyhon, currently learning OOPS after which i might go with flask /django... I havent done a IT degree and planned to make foot in the door of tech just via projects. But currently i am in a huge dilemma whether to learn flask/django to get a backend job in python as the other python paths like Ds algo or Data Science will take more than 3-4 months to land a job. What should i learn django/flask for getting job?? And what projects do you think are a must haves for a python/backend dev ?

The path you have suggested is awesome. on the side i am also dipping my toes in np, pd and scipy to get into Data sciece in the long run.....

2

u/Colivart Sep 02 '20

Saved this comment. Good advice!

2

u/juleswp Sep 03 '20

Thank you for this well thought out response.

1

u/[deleted] Sep 03 '20

Requests/APIs

any recommendation on how to learn this?

1

u/FilthyElitist Sep 06 '20

I like to see the business impact of the work they did

This is very encouraging to see; while I'm not a Fancy Genius I seem to have a knack for delivering business results.

However, I find it difficult to communicate the business impact succinctly to an outsider. Do you have any suggestions for how to paint the picture without extremely detailed (and boring) descriptions of my company's previous workflows etc?

2

u/deeeebait Sep 07 '20

Sure - for an example, "Architected and drove the implementation of a streaming data ingestion platform based on Kafka and Spark. This improved data quality which reduced manual data cleansing by 20% and reduced IT costs by shifting from performing heavy computation at the database level."

Here, you give enough for the technical folks to know you've done production work with the technology (and then they can ask you more about the technical workflow, how you handled X common edge case of the tech, etc...) but you also give the HR/Product Manager/CTO who may also screen resumes and/or interview enough business context to ask more questions about what you did.

The (unfortunate? I guess in some cases) reality is that there's often a filter layer in most companies' hiring processes that lack technical knowledge. Unless the company has high quality tech recruiters (even most "tech recruiters" I've encountered are entitled that because they know enough tech buzzwords to read a resume, but not enough to contextualize that experience to their actual organizations's needs) they aren't going to understand or care about most of the tech, or they are just going to try to match buzzwords. This approach gives the business folks a compelling hook in your resume.

TBH, this is the missing piece in a lot of technical folks' job seeking/interviewing skills, and I see it missing from a lot of the advice that I read about how to get dev jobs. Algorithms, Github projects, etc... are great, sure, but I find this can be the difference for edge folks who maybe don't have all the requirements of the job description, and it can help you get past these gatekeepers.

17

u/uberdavis Sep 02 '20

The way I see it, you have to pick a technical area of expertise. Python is just a language. Learning syntax, data structures and algorithms is pointless if you can’t apply it to real world problems. You need to become strong in a particular branch of technology.

  • data science

  • machine learning

  • computer graphics

  • fintech

  • security

  • full stack

  • networks

  • linguistics

  • artificial intelligence

If you are targeting a job at a start up, find out all the skills they are asking for and knock it out of the park.

4

u/[deleted] Sep 02 '20

I want to go into Data Science / Machine Learning so I tailor my Python Skills towards Numpy, Pandas, Scikit Learn etc. People always recommend do some Flask/ Django Websites. In my opinion it is pointless if you already know what you are after. Doing DS/ML require a complete different skillset than building websites in Flask/Django

12

u/Stewthulhu Sep 02 '20

They teach different skills and knowledge, and you shouldn't neglect one for the other. Learning how to use python as an analytical tool is important if you want to be a data scientist, but it is much less effective at teaching you other important programming concepts that will absolutely make your core DS work better.

It's like saying you want to play football but only spending all day kicking balls at the goal without ever learning how to dribble to make plays.

6

u/r0ze Sep 02 '20

This is great advice.

I too started out on Automate the Boring Stuff back in March with plans to focus on DS/ML down the line, and am now reaching the late beginner/early intermediate stages of my learning. This is where things like version control, testing, the command line, data structures ect. have started to pop up everywhere, and where I’ve turned my focus. And this is all within the realm of data analysis/data science mind you.

OP, you’ll probably realize the same thing as you advance your knowledge, but to answer your question, Automate the Boring Stuff was a great way to start the journey. I would add that while you work on the projects in the book, definitely branch out and try some projects of your own. You are guaranteed to get super stuck at some point, and you may realize that your ideas are too ambitious for the time being, but it will give you some awareness on where your learning will take you in the near future.

1

u/[deleted] Sep 03 '20

100%!! I work on the practical projects in Part 2. I use the projects as a foundation to make them different so I can put them on my GitHub Pages Website without blindly copying it from the book and "call it my own".

However, there are so many options that we can build with Python. I personally choose to build my own Chatbots in Python so I can dive deeper into Deep Learning, Machine Learning etc. Thats what my passion is all about and why I started my journey in the first place.

1

u/GuteNachtJohanna Sep 03 '20

Just curious, what was your routine during these past 7 months? As someone who just started 2 weeks ago I'm struggling to find an exact structure for this new area of my life!

2

u/r0ze Sep 03 '20

I wish I could say I followed a strict regimen or routine, but I’ve basically been coding at least an hour a day since around March. I had to miss a few stretches, but I also had several long Saturdays I was able to dedicate. I think incremental learning is extremely important when it comes to learning how to code (or anything brand new for that matter, be it an instrument, a new language), so I’d say 1/2 hr+ per day >>> 4 hours every Sunday or something.

As far as a learning structure goes, I too need to follow some guidance, so I started with ATBS as mentioned above and am now working through Dataquest which is great so far. Their interface is a little quirky and doesn’t feel quite as refined as Datacamp (which I get free through work) but it’s all text based learning and their practice projects are quite challenging. The bottom line is choose one of the many free/affordable resources out there and stick to it. There are so many out there these days that it can be both a blessing and a curse, but they’re all teaching the same key concepts at the end of the day. The urge to start another tutorial or free resource will be strong, but it’s best to stick to one and see it through, then move onto the next one.

2

u/GuteNachtJohanna Sep 03 '20

You are not kidding about the urge to start another free resource lol I have been struggling not to sign up for more courses when the ones I'm taking are pretty effectively using up my time.

I'm doing Python for Everybody on Coursera and plan to start the ATBS course the author made (he was giving out coupons). That plus I've been doing a computer science course to get some broader exposure. That all should keep me busy for quite awhile!

I appreciate you sharing your process. I agree about incremental learning. I've actually been doing between 1.5-3 hours a days and some days I finish feeling like I'm banging my head against the wall on a problem, then within 5 minutes the next day think oh yeah, I missed this stupid mistake. The brain definitely needs rest!

2

u/r0ze Sep 03 '20

Very nice! Sounds like you're on a good track. Yeah one of the few silver linings of a global pandemic is plenty of free time to be learning something new, and plenty of time for causing problems then solving them days later.

1

u/GuteNachtJohanna Sep 04 '20

Haha so very true. Who would have thought society would have come to a screeching halt giving some of us time to catch up and learn some stuff? An absolutely bad situation the world is in, but I'll take that silver lining!

1

u/CEBS13 Sep 02 '20

I was in op shoes and data Science and ml is a really broad area already. You can go really really deep! If OP is really determined to go the ML/ Data science route he should stick to doing kaggle challenges and maybe trying some quantopian datasets.

But if op need a little break of the ml and data science scene he can build a small website using django or flask to showcase his projects.

1

u/BaguetteTourEiffel Sep 03 '20

It is never pointless, if you don't have a dedicated devOps how will you deploy your models? Learning how to make a basic route with flask is useful and it's really quick to learn. I have to interact with flask very often for my work.

1

u/All_Is_Not_Self Sep 02 '20

linguistics

Can you please elaborate on what you mean by that?

I have a master's degree in linguistics and I'm not sure how it could be useful in computer science. (My degree was general linguistics. I learned some psycholinguistic, neurolinguistic and sociolinguistic stuff, language acquisition, cognitive linguistics, interactional linguistic - a little bit of everything basically - and then a bit more about multilingualism and language contact because that's what I was most interested in.)(I am by the way trying to name all these things in English, but I studied in German with mostly German resources, so I apologize if some terms are a bit awkward/wrong.)

So I did not learn a lot about things that I would consider to be useful for going into the area of Natural Language Processing. I learned next to nothing about grammar theories, formal linguistics (syntax, semantics) and also very little about corpus linguistics (hope that's what it is called in English).

Now I'm doing a Bachelor's programme in general computer science and I feel like I am not exactly following an aim. Just a very loose one of maybe finding a job that is interesting for a linguist and also one that's not in research (because I am not looking to stay at uni).

So when I saw that you wrote "linguistics" instead of Natural Language Processing, I immediately got curious as to whether you have some rather linguistics-related jobs in mind.

(Even if not, thanks in advance for your reply!)

1

u/uberdavis Sep 02 '20

Sure! It’s not my field, but my wife has a PHD in linguistics. Computational linguistics is one of the hot areas of computer science development. Tech companies that rely heavily on voice and search technologies (Google, Tesla, Apple, Amazon etc) are picking up computational linguistics academics with urgency. My wife is more into cognitive linguistics while the Chomskyan theories lend themselves more to computational models so my wife tells me.

1

u/All_Is_Not_Self Sep 02 '20

Thanks! I'm also more into cognitive linguistics, but then I will probably read more of Chomsky's work (and probably also some stuff that computational linguistics students have to read).

11

u/king_of_farts42 Sep 02 '20

Get yourself comfortable with the flask framework and think up some demo project you could build with it. For example create a database and connect it with the flask application and show the entries on a website. Very useful skill easy to learn.

2

u/king_of_farts42 Sep 02 '20

Then continue to learn more libraries like for example scikit learn oder tensorflow for machine or deep learning. Maybe some basic math and data libs like numpy and pandas.

3

u/[deleted] Sep 02 '20

Thats the golden question buddy. IMO it depends on what people want. Either you want to go more the software dev road and focus on Django, Flask maybe some Javascript later etc. or you go directly the Data Science Path. Trying to learn everything is a tough and long journey. There is a lot to learn. Being specific on the outcome and making daily improvements in your own Python Ecosystem is a quite good strategy I guess

2

u/themateo713 Sep 02 '20

I would have said basic math and then ML libraries, not the other way round. Just my opinion.

2

u/RajjSinghh Sep 02 '20

You're right, since if you're gonna use a library like Tensorflow, you already need to be comfortable with numpy

1

u/king_of_farts42 Sep 03 '20

Yes of course. This wasn't meant to have a specific order. But I think it can be useful to know for what those math libs are necessary when it comes to ML. So it makes sense to learn them together somehow imo.

3

u/ryanmcstylin Sep 02 '20

Sounds like you know the syntax, the next step is knowing when to use it. As you may see in my other comment, I recommend personal projects, here are some I remember doing and what they taught me.

Play with data. Take data you care about and summarize it, I used financial data. Started with lists, eventually needed dictionaries, finally figured out data frames were easier.

Create a program that texts you jokes every morning at 8am. this involves figuring out how to send emails with python, that was challenging.

monitor your computer, email yourself important information about your computer every day, like available storage, or whatever else you can figure out.

Build a program that logs into your banks website and downloads the last 30 days worth of transactions. Combine that download with any others you have to keep a local excel file of your transactions. this taught me web scraping using selenium and was terrible, I wish I knew how to use API's when i opted to take this path.

Read an excel sheet of bank transactions and create a meaningful graph.

my two most recent projects.

  • find files on your computer and create a copy of them in a single folder (be careful with this one).

  • Unzip, rename, rezip all files in a folder. I am currently having trouble with this because some files are massive.

1

u/[deleted] Sep 02 '20

Awesome stuff Ryan! Getting a job in the dev scene after 2 years is amazing. That is what I strive for as well! I already use Python in Personal Projects. However, I am in the early stages of Personal Projects. You listed some interesting ones here, I'll go and take a look at them

2

u/egehurturk Sep 03 '20

Read the book Fluent Python, it may be rigorous though. But it is the book that will carry you to the mastery.

1

u/[deleted] Sep 03 '20

Dguerrero99

Thank God you remind me of Fluent Python. Excellent book. O'Reilly brings out a 2nd Edition July 21 though :/. This one is definitely the book I will choose to elevate my Skills..Thats for sure.

143

u/ryanmcstylin Sep 02 '20

I have a personal project I use to learn just about anything. It started as a budget in excel, but I moved it to python just to learn the language. It took me about 2 years before I got a development job. I have yet to use python on the job for anything official, but it has helped me automate some of the boring stuff.

241

u/MrSwoope Sep 02 '20

automate some of the boring stuff.

He said the thing guys

15

u/themateo713 Sep 02 '20

Sometimes you're just so lazy you'd rather write 2 lines of python to change it for you than type 50 characters to make the change yourself. I know I do.

Oh I would like to explain something to this guy, for this I need to show him the alphabet in a fancy way. Am I going to trust my alphabet and type a | b | c... No, let's make a program to generate the alphabet and display it that way.

I'm refactoring my code, now this is in a class, so it needs self... Let's make a program to put self in front of every list name instead of adding 6 or 8 times self myself...

It may not be faster, but it's much more interesting. Start small, go big.

2

u/tdn Sep 02 '20

Would you mind showing how you'd write that code? It would be great to see that in the context of your description.

7

u/themateo713 Sep 02 '20

Also, if you're interested, here's my github with what I'm currently working on: a comparator between different definite integral approximation methods.

https://github.com/mateo713/visualizing-mathematics

If you're not interested in the math side, maybe you'll learn something as I'm kind of going for little tricky/smarty moves (not glitchy, but just thoughtful, utilizes lots of features) with well thought out code here. A friend says it's brilliant and creative (both the code and what it does). I'm currently fixing issues and implementing Romberg integration. If you got any question, don't hesitate to PM me.

1

u/tdn Sep 02 '20

I think this is beyond my level for now but I'll be sure to revisit soon. Thanks for your well thought out responses, a great asset for noobs like me.

2

u/themateo713 Sep 02 '20

+ the more you wait, the more I'll develop it so it should be even better code: more compact, more pythonic, better factored, more easily expandable, better use of scientific libraries, maybe new tips/tricks, etc.

A guy who loves \ to unformat his text, as I nearly do this once per comment

3

u/themateo713 Sep 02 '20 edited Sep 02 '20

On my phone so excuse the absence of formatting. When I say 2 lines it really is: Alphabet generator:

for letter in map(lambda i : chr(i + ord('a')), range(26)):

print(letter, end=" | ")

You could probably use list on the map object and unpack it with *, then use sep instead of end. Back when I did this (just copied the design off memory), I didn't know about it so I didn't use it. You can use whichever you want I guess.

Edit: this worked, but isn't particularly clean (I recently discovered lambda functions so I thought why not), the solution proposed by RajjSinghh is much better. You could do it in one line with print(*map(chr, range(ord('a'), ord('a') + 26)), sep=' | ')

self inserter, from earlier today: uses the fact that list is present at the start of the right variable names and nearly nowhere else:

text = """

A bunch of code

Note the triple quotes to conserve indentation and other structural elements

"""

print(text.replace("list", "self.list"))

#the second time I also wanted self.interval:

print (text.replace("list", "self.list").replace("interval", "self.interval")

Note the chainability of these as each replace returns a string, which is a valid instance for the next replace, and the final replace returns it to print.

1

u/RajjSinghh Sep 02 '20

For his alphabet generator in capitals:

for i in range(65, 91):
    print(chr(i))

To get lower case use range(97, 123). This uses chr() which takes an integer and returns the ascii value of that number. In our case, capital A is 65, capital Z is 90, lower case a is 97 and lower case z is 122.

5

u/Dogeek Expert - 3.9.1 Sep 02 '20

from string import ascii_lowercase

1

u/tdn Sep 02 '20

Thank you. I really like seeing multiple solutions like this.

1

u/themateo713 Sep 02 '20

Now you got 3.

7

u/tritiumpie Sep 03 '20 edited Sep 03 '20

If he says it five times at his screen /u/AlSweigart will materialize right behind him. Spooky at first, but great for code reviews!

7

u/AlSweigart Author of "Automate the Boring Stuff" Sep 03 '20

Nah, it doesn't matter how many times you say AlSweigart, it'll probably get lost in the pile of unread messages.

1

u/tritiumpie Sep 03 '20

I meant out loud. 🙂

It was a Candyman reference.

https://en.m.wikipedia.org/wiki/Candyman_(1992_film)

1

u/AlSweigart Author of "Automate the Boring Stuff" Sep 03 '20

I thought it was a reference to candleja-

1

u/juleswp Sep 03 '20

What language(s) do you use instead of python? Also, because I'm still trying to research and learn, what type of development are you doing now?

1

u/ryanmcstylin Sep 03 '20

Batch, bash, powershell are limited alternatives to python. Batch if I need it to be runnable on any windows machine, bash if I need the same for Unix, and powershell if it is too complicated for my limited knowledge in the either of the other two.

I started in marketing analytics where I learned sql, tableau, and got to play around with Hadoop. This is when I learned python on the side.

Recently I have worked on the back end of a BI platform mainly SQL, but powershell and batch for code deployments. Now I am more involved with the data, as the customer of a different BI platform.

1

u/juleswp Sep 03 '20

I'm in a data analyst/scientist ( depending on how you define it) but am trying to transition to data engineering because the market is becoming saturated with poorly trained data scientists. Its becoming really competitive and I'm just trying to figure out how to navigate getting those new skills. Thanks for sharing.

0

u/[deleted] Sep 03 '20

[deleted]

3

u/ryanmcstylin Sep 03 '20

Ever since moving it off of excel it went from a budget to data aggregation. Right now it uses plaid api to get account values and transactions. For a while I was trying to use a code repository and automated deployments, but I want to work more with statistics, so I have pivoted towards data viz. Ultimately I want to be able to predict spending. A program that looks at my data and estimates how much money I will spend in any given period in the future. An easy example is noticing I pay rent monthly, and get paid every other week. A harder example would be spending on groceries or flights. Spending on groceries might be higher on weekends because that's when I usually shop, or over the summer when we are grilling out more.

10

u/Bottl3 Sep 02 '20

Without a degree passion and curiosity play a huge role imo. Try to go for some real projects where your mind is devoted to, do something clever, something new and Creative. Othetwise they pick just another graduate, Full of knowledge but barely able to solve unique and new Problems on new and unique ways. Also have in mind that this will always play a role when it comes down to the money, a position I got offered in Berlin dealt me at 20000€ p/a.

3

u/fake823 Sep 02 '20

I'm just hoping that there is a 0 (or any other number) missing in 20.000€ p.a.

Is it 120.000€ ?

4

u/Bottl3 Sep 02 '20

Nope, you read it right. I declined that one btw and went another path. I was a bit shocked at That moment, especially when you thinking about living in a city with that amount of Money.

1

u/fake823 Sep 02 '20

That's crazy! You probably get the same salary (or even more!) working at McDonalds ...

Greetings from Munich

4

u/[deleted] Sep 02 '20

Welcome to Germany! Salaries for being a Machine Learning Engineer in Germany: 30K and in the US: 130K !

2

u/BackgroundChar Sep 02 '20

Depends where... really, just negotiate. My buddy (also in Germany) worked out like 50k, and he'd basically taught himself JavaScript in a year and used it at work. In fairness he combined it with some other softwares, but still. 30k is laughable. Hell, I earned close to that and I'm no where near that qualified lol

2

u/fake823 Sep 02 '20

Glad that I'm (almost) a civil engineer and just doing Python as a hobby. :D Here in Munich I can at least expect some 50K as a civil engineer.

0

u/kessma18 Sep 02 '20

I have no clue how you exist on 50k in munich

4

u/JohnDecisive Sep 02 '20

Wait 20000€ is not good as a salary?

3

u/toastedstapler import itertools Sep 02 '20

i work in manchester, uk and the market price for a grad software engineer is about 28k, up to 32 if you have some form of prior experience (year placement etc). this is based off what the recruitment guy for my office said, ofc there may be some variation

i have a friend on the outskirts of manchester who's doing data science, he's on 40k out of uni

ofc i cannot speak for the german scene, but i highly doubt they pay only 2/3 of what you can get here in manchester

0

u/[deleted] Sep 02 '20

[deleted]

1

u/toastedstapler import itertools Sep 02 '20

yeah definitely, my point is that if 30k is doable as a grad here then 20k in germany is definitely too low

1

u/kinerys Sep 02 '20

I'mm an aerospace engineer in the UK and grad salaries are about £27k-£30k straight out the gate but I know some German grads that are heading back home to €50k+ jobs - and that's a common salary! it might be a little different for software but I don't think by that much

21

u/lolslim 🐍Telegram🤖 Sep 02 '20 edited Sep 02 '20

PEP guidelines. Identifying logic errors (code works how you think it should, but your results are not what you expect) Wanna be dry not wet. Math is very useful, especially knowing the formulas to use.

IMO I wouldn't rely on stack overflow to be your go to for answers, without understanding the code

Edit; if you downvote please explain why.

1

u/[deleted] Sep 02 '20

Answering in german so I have it more easy to explain: Abhängig von deinem Stand würde ich schauen, was die im genannten Startup unternehmen entwickeln. Einfache einzeiler, If-Verzweigungen und Schleifen sollten dir gängig sein. Python OOP anschauen List comprehension in Python haben mich im Studium gut gequält.

Mein Problem mit Python ist, dass die Sprache sehr simpel zu schreiben ist. Aber andererseits ist sie auch mega mächtig. -Du kannst ja mal Statistiken auswerten -Coin-Flip-Porotokoll entwickeln zwischen server und client -Kryptografische funktionen(Ein Wort und einen Zähler hochinkrementieren, hashen und abfragen wann der hash im dual-system 2 führende Nullen hat) anwenden und abfragen, wie viele attempts es braucht wenige (2/3 führende Nullen zu bekommen) --> wobei ich die Aufgabe mal nochmal raussuchen muss. Ab ner bestimmten anzahl von führenden nullen ist man verloren. -rekursiv flächen mit plot-Funktionen darstellen -Falls man mit GUIs arbeiten kann, ein Kassensystem entwickeln -Sortier-Algorithmen umsetzen -iterative funktionen wenn möglich rekursiv umsetzen

Wenn du besser werden willst, empfehle ich aus meiner eigenen Erfahrung dich mit Problemem zu befassen, die dir neu sind.

1

u/[deleted] Sep 02 '20

Das klingt aber sehr stark nach Aufgaben aus nem Informatik Bachelor/Master. Die Aufgaben sind klasse, kennst du eine gute Quelle, wo man mehr Informationen zu diesen Aufgaben bekommen kann

1

u/[deleted] Sep 02 '20

Ich schau die Tage mal, ob ich welche im Wortlaut finde. Tatsächlich sind es Aufgaben im Bachelor teils Programmierung teils Kryptographie. Falls dich die Sachen interessieren, schau einfach mal bei den Unis nach den Modulhandbüchern. Dort werden meistens auch Fachbücher empfohlen, die zu einem Modul beitragen sollen. Meistens haben die Bücher auch praktische übungsaufgaben oder Probleme beschrieben.

Wünsche dir viel Erfolg beim lernen und beim Einstieg in das Unternehmen.

1

u/chmod--777 Sep 02 '20

Start your own projects as a beginner. Just pushing yourself to code is the start. Make it a habit.

Then professional experience. Mastery in programming doesn't just mean mastery of a programming language - it doesn't matter too much how much python knowledge you have if you can't work with certain modern technologies. You'll want to learn some set of tech (not necessarily all but some) like SQL, elasticsearch, celery and scaling python, Django/flask, how http works in general, AWS/cloud stuff, the fundamentals of the industry you'll work in like bioinformatics or security, security fundamentals regardless like how to avoid XSS if you do webdev, Linux... You'll also absolutely have to learn how to collaborate with other programmers, meaning git or some dvcs, Jira or some bug/feature tracker, agile development maybe, CICD pipelines, etc.

Mastery of programming means mastery of tech and domain knowledge in the industry you'll work in, experience working with others, which means actually working on a team and using tech available to you. Start with personal projects, experiment, keep coding as a habit, get a job, learn the tools and learn the domain knowledge.

You can start doing Linux and SQL stuff easily on your own, and that'll provide skills which look great on a resume. Python alone only goes so far, but they'll really appreciate that you've worked with tech they use.

1

u/[deleted] Sep 02 '20

My intuition said that SQL offers me the lowest barrier to entry so I started it 2 months ago. In Berlin and in Germany general there are a lot of job openings in Data Analysis where SQL is the major skill they look for. SQL and Tableau is a pretty decent skillset that could help me to change my working industry.

1

u/AnOphanim Sep 02 '20

1

u/[deleted] Sep 03 '20

adbesmarter

what makes jetbrains so special in comparison to other platforms like codeacademy?

3

u/Defiant_Sprinkles917 Sep 02 '20

I think it is best to build your own projects. When you manage to frame- and solve problems on your own, that is when you learn the most.

That is also the toughest part in programming and I argue that it is what programming essentially is about.

3

u/canbooo Sep 02 '20

Google-Fu all day everyday. You need projects/things to do to keep you motivated to keep Googling. Try to work on a variety of projects in different domains at least once in a while. Also, after you learn the basic stuff, look in to data structures, algorithms and maybe some software design principles like SOLID or KISS. If you are interested in how to implement them, look at software patterns. This repo helped me at the beginning. But these are long term plans and may just confuse you at this moment. Just know that they are there.

I don't have a CS background and I started programming mainly during my PhD (although I did things with matlab and python scripts ealier.) It's been 6 years and nowadays, I develop proprietary local and web apps in a start up, for applying machine learning methods to engineering problems. My general process of development is

while True:1- Come up with initial idea to solve a problem (most difficult task.)

2- Google if it is already done. If yes, break.

3- Google if it is already done to solve a similar problem. If yes, break.

4- Think of the things that needs to be done (let's call em sub tasks). Google if those are done. If yes, glue them together and break.

5- For each sub task, write an abstract code (write objects/functions/methods without implementation. google if you can find existing solutions for seemingly complex sub-subtasks. If not implement them yourself. If you get stuck, google better.

Except for research tasks, I rarely get to 4 or 5. But each time I get there, I learn a lot from all searching and iterations, success and failures. Because in the end, coding is only as important as using the right tools. Don't paint with a hammer. Don't kill a horse to make a brush If you have a shop nearby. Cheers from Düsseldorf.

Edit: You can also use DuckDuckGo or anything you like. Not affiliated to Google. Just a frequent user.

2

u/kessma18 Sep 02 '20

SOLID... if you work for a software firm.. please do me a favor. go on slack tmr and ask everyone in engineering to explain solid to you and post here for fun.

bonus question: after they explained it, pick a random class in see if it holds. then ask the developer why < 10% of your the codebase follows solid. thanks

3

u/jijijijim Sep 02 '20 edited Sep 03 '20
So you want to be a software star?
Then listen now to what you're told 
Get yourself a computer machine
Then take some time and learn how to code.

And when your code's alright
And your python's tight, it's gonna be alright.
Then it's time to go downtown
Where recruiter man, he won't let you down.

Sell your soul to the company
Who are waiting there to sell software
And in a week or two if you make the sprint
The girls might give you a hint

The price you paid for your riches and fame
Was it all a strange game? You're a little insane.
No money, no fame, maybe management acclaim
Don't forget who you are, you're a software star.

Sorry to Hillman and McGuinn

2

u/shutchomouf Sep 03 '20

this. very accurate.

3

u/Coderless Sep 02 '20

Short answer: always keep actively learning by building new projects.

1

u/Zelnz Sep 02 '20

If you're interested in data science, you can create a web app with django/flask, and utilize some api to perform data analysis on. I personally made stat websites for the games i play. For example, i created a website tracking league of legends data.

2

u/[deleted] Sep 02 '20

nice!! that is a great idea for a project in a portfolio

2

u/i_like_trains_a_lot1 writes Python for food and shelter Sep 02 '20

I learned a lot about working with the language itself and how to do API design and architecture by doing frameworks. Even if they are something nobody would use, it really is an interesting learning experience to think about how others would use your mini framework/library.

Some things that I did:

- a framework for yaml/json based declarative web crawlers (one attempt with workers in a threadpool and another attempt with asyncio)

- a framework for building micro services with json-rpc on top of tornado, with different micro service specific features that were as plug'n'play as possible (eg. service discovery via Redis or HTTP, RPC over HTTP, event dispatching and listening over redis or amqp, dynamic configuration via files, env vars, http apis)

- A django mini-framework for json-rpc

- A "gnu-make" with plugins and yaml based configuration

- An automatic database mock data creator which worked with Django and sqlalchemy

- A mocked data generator library (similar to faker or mimesis

- many others.

Doing this, you force yourself to get smaller things done, and you face interesting challenges such as data flow, designing a good API.

1

u/david_lp Nov 05 '20

hey, do you have it in github? would you share the link to any of this projects? i am very interested

2

u/baetylbailey Sep 02 '20

Skim the code of libraries you use. An IDE can go to the definition of functions and classes that you call.

Learn the IDE and other tools at a high level, especially debugging.

Startups don't require total mastery. Find out what startups in Berlin are asking for. Keep updating the resume and putting it out there.

2

u/[deleted] Sep 03 '20

Learn and use only C for 12 months and then go back to Python.

2

u/iamnihal_ Sep 02 '20

Build the shit. Period

1

u/explodinghat Sep 02 '20

Can you share your github? I'm in the same boat as you (a bit further behind, I'm working through 'Python Crash Course' at the moment and I'm going to go through Automate.. afterwards)

1

u/Maltei Sep 02 '20

Hey, im also living in Berlin. I had the same thought. Programming since 10+ years but never professional. Started studying it at Fernuniversität Hagen now.

1

u/lscrivy Sep 02 '20

I'm only a begginer but one thing I'm starting to learn is to pace myself. It's all good spending 4 hours a day grinding a project you are really into but at some point you will burn out and not want to do anything. I've gone through periods of learning python and then just giving up for months because I just lost the motivation. Recently I've been trying to just do a little bit everyday. Even on the days im not feeling like it I'll look at some documentation or read through some old code etc. And I feel like I've got a better chance of keeping it up and making more long term progress this time.

1

u/kielerrr Sep 02 '20

Everything from this channel:

https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g

The tutorials are straight to the point covering intermediate to advanced Python concepts. It's leveled me up.

1

u/NeedCoffee99 Sep 02 '20 edited Sep 02 '20

The thing that has helped me the most is getting the code reviewed and ripped to shreds! Also make sure to design the code layout, use flow diagrams etc and try thing of consequences of different actions

1

u/CatolicQuotes Sep 02 '20

For Machine learning go on Kaggle. There you will have tutorials, free GPU and data to play with. They have competitions and stuff. I think for ML you will need to learn mathematics and stuff more than python. Correct me if I am wrong

1

u/kessma18 Sep 02 '20

hi, the best way to get better is to surround yourself by people who want the same thing you want equally as bad or even more. that's it.

if you don't have that, the answer depends on what you want to do and where you come from. If you have no previous coding experience and are looking for a job at a startup (where the hiring manager will look at your github), I urge you to *NOT* put anything on github which would cement/document you current noob status. Because even if you are a fast learner and accelerate very quickly, if you apply in 6 months but your github is 6 months ago is terrible, the hiring manager will pass.. hiring someone in germany is a HUGE risk (unless Du bist ein Werkstudent).

getting a job is about passing the coding interview more than showing what projects you did. the projects come up in the interview in verbal form. Like I would aks you about a project and would expect you to tell me all enthusiastically about all the challenges you faced and how you overcame them, all the shitty code you refactored for some greater outcome or financial gain, all the tech you used and it's limitations you ran into etc..

ergo, to pass the coding interview, you have to practice how to solve actual problems with code which will lead you to sites like leetcode, hackerrank etc.

I prefer codewars.com because you are encouraged to start with writing tests first. If I had 2 equally strong candidates and one would start with writing a test or demonstrates some familarity with TDD, I'd hire them in a heartbeat over the other person, even if our company is not using it because you show a mindset that sets you apart.

hoffe, das hilft, wenn du mehr infos willst, DM me.

1

u/PM_me_ur_data_ Sep 02 '20

Honestly, just use it. Figure out what you want to do and program it. If you don't know what to do, find an open source project you like and check the 'Issues' tab for things you can help with. Personally, I learn way faster if I start with an idea and start Googling how to implement each step than I do by working through a book or online course.

1

u/zoredache Sep 03 '20

I always like the advice from Teach yourself programming in 10 years [https://norvig.com/21-days.html].

But a lot of it just boils down into putting in the time and intentionally studying and practicing a way that always expands your skills and knowledge. There isn't really any silver bullets, or magic, you have to put in the time.

1

u/spacesleep Sep 03 '20 edited Sep 03 '20

Well, since I'm definitely not a master, I can't tell you what the steps to mastery are. But I am doing dev work and getting paid for it. ATBS is an awesome book. It's very practical, and a very good intro for anyone who wants to learn python. But it doesn't include stuff on the theoretical side of things. And that's all right. It targets a clear audience, and people who want to become proffesional devs isn't one.

I'd suggest doing projects you're interested in, solving problems you have. Start specializing in some field you want to work in, if applicable to your situation. Do projects related to it, get familiar with the libraries used in your problem domain.

Besides that, get a book on data structures and algorithms. It'll help you out, trust me. You don't need it in the sense that you can make great projects just fine without it, but it helps for the following reasons:

  1. You'll know how to pick appropriate data structures for the task you're doing.

  2. A lot of tasks can be kinda abstracted away to known problems with existing algorithms.

  3. You will probably get some questions about data structures or algorithms in an interview. Then read a book on design patterns.

Get familiar with common tooling used. linters, ci, testing llibraries/tools, stuff like that. Learn how to deploy and distribute your projects. Money might be needed for some of these, but you can get free aws credit and other free stuff if you're a student(talking about aws, heroku, azure, stuff like that). Learn how to debug, how to profile your code. Document your code.

Learn another language. While it's perfectly possible to get a job with just learning python alone, another language gives you a bigger toolbox to work with, and makes you a more appealing candidate.
TLDR: Keep on learning about new topics, and keep on coding.

1

u/m915 Sep 03 '20

Try the certs

1

u/Dguerrero99 Sep 03 '20

That's an excellent question.
I aim to automate stuff. I think the technology is going towards this direction anyway, so learning Python and automating regular tasks is an advantage in 2020.

1

u/[deleted] Sep 03 '20

I like a book "Automate the Boring Stuff". I think do more complex projects is good. I am personally learn besides python all area of Computer Science and I like it. Can you give me a link on your GitHub?

1

u/skellious Sep 03 '20

If you want to be a developer, develop projects. find problems to solve and then solve them with python.

1

u/honk-thesou Sep 03 '20

Think of something abd build it. It makes you fluent in building real world stuff. I’m automating my job and I’m learning the most with it

1

u/[deleted] Nov 11 '21

Out of curiosity, did you manage to become a python developer in the meantime?

0

u/[deleted] Sep 02 '20

[deleted]

7

u/longgamma Sep 02 '20

This here. Gotta keep adding log to the fire in you.

0

u/[deleted] Sep 02 '20

[deleted]

1

u/[deleted] Sep 02 '20

I have a Bachelor in Economics. I am 27 right now. However, as I could see many Data Analysis jobs in Berlin require SQL, Tableau and some basic skills in Python. The degree is not the problem. I can go and get a Masters degree.

7

u/[deleted] Sep 02 '20

[removed] — view removed comment

1

u/[deleted] Sep 02 '20

Funny that you mention that. Currently I do a lot of smaller practical projects and this is definitely beneficial and this moves me forward. However, I felt like something was missing. I wanted to focus on a big project that I can break down into smaller pieces. Therefore I wanted to build chatbots as well.

https://www.amazon.de/gp/product/1484240952/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

I ordered this book on Amazon. I watched an Intro Course on DataCamp and it was fascinating even though it stretches my skillset enormously. I gotta dive deeper into Machine Learning, NLP etc. its gonna be fun.