*makes /g/ seethe with rage*
>>78818666/g/ is not pythonic
>>78818666Devilish trips. I'm going to pick up popcorn and wait for the /g/tard butthurt.
>>788196180.02ms are nothing for your fizzbuzz
>>78818666A beautiful versatile language that compliment C very good, ie when you just want something done and do not care about speed
>>78818666I'm lazy so I want to do ++ or += whenever i get the chance to.also I still don't understand classes in python. unlike cwhy do you have to put __self__ in each function or a class?
>>78821646C do not have classes, are you thinking about c++? Regarding __self__ it is the class instance object
>>78818666I admit it's pretty fun to use for hobbies and other types of personal projects
>>78821710i know c doesn't have classes.it's just that they're both somehow interchangeable that it's been fucking my head. i still can't find good documentation on pure C
>>78821744>i still can't find good documentation on pure CRead K&R C
>>78820597how many years would someone hang around here and still get baited by 90% of bot threads?
>>78818666see the what with rage
Use exit() or Ctrl-D (i.e. EOF) to exit
lmao why dont u guys hating on python go to the FAANG research scientists using ML/python to make millions and telling them theyre doing something wrongoh wait its because youd rather circlejerk about languages than meet business needs
>>78819618Then the does youtube-dl, one of the most popular and useful open source projects in the world, use Python? So many other open source and commercial projects do.
>>78818666i am seething uncontrollably
i am sneedingwould python be nicer without indentation
>>78824937this post has to be bait. nobody can be this retarded
>>78821306>Very good sir>show bobs and vagene
>>78818666That does not look like Julia's documentation
How do you prevent trainwrecks in dynamically typed programs, when the user inevitably inputs garbage ?
>>78824937The most useful open project in the world is about Youtube.
I was told PHP is a shitty programming language and I'm better off learning something else, like Perl.I develop shit for my website sometimes so I'm looking into using a Flask web server with Python. I tried to get Python to work on my Windows 10 computer but it won't fucking install and I could install it on Debian to develop shit.Is it easy to go from PHP to Python or should I try another language?
People ought to just use the right tool for the right job. Sometimes python is the right tool, sometimes it isn't.
this has to be bait, right?
>>7881961899% of use cases aren't performance critical. If you're in the 1% then yeah, don't use an interpreted language.
>>78826159this has to be bait, right?
>>78818666For me it's Spyder. The best IDE known to man.
>>78824937> downloading videos from internet is useful
>>78826159>I tried to get Python to work on my Windows 10 computer but it won't fucking installJust use Anaconda
>>78821882what's wrong with Ctrl-D?
>>78821789/g/ is full of NEETs LARPing as professionals. They have to reply to every thread to keep up the facade.
>>78825914Garbage input is not a problem static type systems can solve.You'd know this if you ever programmed.
>>78818666naa, i like it
>>78821882>>> type(exit)<class '_sitebuiltins.Quitter'>>>> repr(exit)'Use exit() or Ctrl-D (i.e. EOF) to exit'
>>> type(exit)<class '_sitebuiltins.Quitter'>>>> repr(exit)'Use exit() or Ctrl-D (i.e. EOF) to exit'
>>78818666>hey guys what if we made c expect we gave a it a shittier syntax, introduced the possible of subtle type errors and made it slowerliteral shit language. procedural programming is retarded and every language based on it sucks including c
>>78818666/g/ knows it is the best language and is the future. They fear the almighty python.
>>78818666>2020>not using chadskelllmaoing @ ur life
>Want to develop new program that does something similar software doesn't>There's a python module that does this functionallity I need with just an import and a function call>`pip install` fails because I need some library installed>check it's only available on linux>find someone made an alternative for windows>doesn't compile on my machine>try and fail to solve the errors>give up and install linux on vm>this library does not work on vm>install linux on new partition>have to apt-get a lot of dependencies>solve all the installation problems>downgrade till version that works, for python 2>get to have this two lines of code working>the rest of my code is not compatible>export to cython for calling from my codeSo ''Pythonic'' means getting asphyxiated by a constrictor
>>78827272kek no, R studio with reticulate is far better for science n' stuff
>>78829503>uses winblows for developmentYou could have stopped this.
>>78819618>What is IO-boundyou're literally (literally) retarded
>>78829522>R studioBLOATMAX. Seriously look at how much it eats up. Spyder used to be BLOATED AF, but they finally fixed that.
>>78829745when will your spidey correctly mark the syntaxis from python3?https://github.com/spyder-ide/spyder/issues/12995
>>78830003>he needs a debuggerWEW, how about you learn the language. DESU I usually just use sublime text.Protip: the sklearn documentation is full of fuckups! If you want a few more green squares for your github activity, that would be a great place to start.
>>78819618doubt any of the anti python shillers here, are even coders
>>78831543Python is not a real programming language. Similar to Java, it is an interpreted language.
>>78822890Scientists make squat. The companies that hire them make the millions.
>>78819618Doesn't need speed in its area of application
>>78826159 If you weren't able to install python on windows you better stock with php
>>78831618Define "real programming language">interpreted languageNo such thing. All langauges can both be compiled and interpreted.
>>78818666It's useless for anything that will be used for more than a week. As soon as you update a dependency something is guaranteed to break and you get to gave fun with tracebacks. Dependency management is so shit the best solution is to just provide "virtual" environments for every single program you have to use and bloat your system with GBs of python interpreters and modules. The reason why it's used in le industry is because it's cheaper to pay a pajeet to mess around with packages than it is to properly build software that will last 10+ years. Just write everything in C and use python for prototypes. Stop abusing package management. I am tired of dealing with broken projects: if it's more than a year old it's a miracle if it works without changing anything. All it takes is one library to have a problem with other library. And the worst part is you won't find out until you run the damn thing, because there are no tests or it's impossible to cover everything.
>>78833182Nobody is forcing you to update your dependencies. Don't blame the language, this shit can happen regardless of language used.
>>78833268Yes, it's not a problem with language itself, but package management. And I am not even updating dependencies, just installing them and because someone left >= in requirements it installs the latest version which, of course, breaks the API, but you don't find out until that part of the code is executed. Pip sucks, things get though when you are dealing with dependencies of a dependency of a dependency. All it takes is for one thing to go wrong and everything breaks (silently until you run it, then you have to go through changelogs because error messages are useless). If I see some tool on the internet and it's written in python I assume it won't work if I download and try to run it. Python needs to fix their shit, switching from 2 to 3 was bad enough, but pip doesn't even have proper dependency management. Tools around your language are possible just as important as the language itself. What does it matter if you can do some cool thing in the language if it can't guarantee you that your thing will still work after 2 months on another computer?
>>78818666I'm in AI and we use python exclusively.
>>78833182This is a problem with linux as a whole.
>>78821646there is hardly any good reason to ever use ++ over +=1 unless you want to be obtuse or you are playing code golfpython has += and it is sometimes way faster since objects can overload the operator.
>>78833534So you're saying you are so incompetent you can't make your programs work so you blame it on dependences? Linux uses that all the time and it's a bloated mess. At least python has balls to force new things.
>>78833626But it's not as bad as with python packages. Libraries written in C have much more stable APIs than your average library written in python where breaking changes are very common.>>78833693>your programsThey aren't my programs, that's the problem. I can't control what other people do. I don't use python besides for quick scripts.
>>78818666it doesn't scale well
>>78833534Package management everywhere is a dumpster fire, often because too many developers are incompetent fuckwads.
>>78831687t. has no idea what hes talking about
>>78834537Your average webshit "developer" makes as much, if not more.
>>78818666nigger shitnice Evil trips
>>78818666Lua is more popular
>>78834763That's mostly in academia. In industry they typically make much more.
>>78835760You're only trying to convince yourself.
>>78818666I like it.
If you refactored Python to just use braces, and not be tab/whitespace sensitive; Would it still be Python?
>>78835841I like Ritsu. Python's okay, I guess.