1
cb219
6y

have to use python and opencv for a uni project about lane detection in autonomous vehicles (just the detection with e.g. canny edge detection)
have begun to look into python in a 40min video seeing the differences between java and python, as i'm more comfortable in java....
well python is quite weird in its syntax but at the same time quite easy(?)
don't know what i should think about it πŸ˜• as i'm used to the strict structure of java
any other good videos i can watch to get a better grasp of it?

Comments
  • 2
    Instead of watching videos I would suggest writing some code. Learn the absolute basics of python (variables, functions, lists and dictionaries) and start building something and playing around.
    That's the best way IMO to get in touch with a language.
  • 0
    @EliaP yup i know practise is best😏 and i already have begun to write very tiny programs for exercise
    ... just in case someone knows about a good source for more material🀷
  • 1
    Google this: learn python the hard way
  • 1
    I am in the other position, i know a lot about python and especially the use in ML. I had to learn java this last month. Only issue i started too high, by trying to understand decompiled code from already made application and i was completly lost in the java environnement due to how most IDE, decompiler, loggers... are unintuitive.
    So i started from scratch and builded my own java application so i started better understand the language and the paradigm.
  • 0
    @hube much better your last approach πŸ˜…
    you don't make yourself a pleisure really by reverse-engineering already existing programs ... it will just become chaos 😯
    in case of IDEs: if you find any that are not eclipse or intellij, tell me about them πŸ˜…
    ... or if you get java to work properly on vs code, as i'm (for whatever reason) not capable of configuring, tell me too 😏
  • 0
    @cb219 well my first IDE i used was IDEA but making so decompile code even remotly works is a nightmare, so i used eclipse but as i was new i simply started some kind of virtual environnment pointed it to a folder and was hoping all the indexing and everything would be done in the background but no way, they dont do that by default if they dont have the correct mapping (which is a shame, a code even if decompile should be standalone and library should be imported by themselves not needed to be specified) but finally i found a way by using tools made by others. In the meantime i tried netbeans which is way more powerful and can almost create the correct linking between all the classes files without any pom or idea/eclipse file tree (or something alike, still dont understand that whole mess, maven is way easier to understand so far). But in the end only creating your own app from scratch and exporting everything between IDE seems the way to go.
    I am still a java beginner but its horrible
  • 0
    @hube oh just do the programs by yourself, that's way easierπŸ˜…
    that sounds like even more horrible chaos than I expected 😐
    actually i once tried out IDEA but it would have cost too much time to set it up for the project i was working on.
Add Comment