Join devRant
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "python"
- Someone on the IP 127.0.0.1 has been creating a lot of bugs in my code, please beware of you notice any connections from that address.16
-
- Don't know if it's up here, found it on r/ProgrammerHumor and thought it deserved to be shared :)28
-
- Customer at a first meeting:
- "Didn't realize you're a developer, you're almost good looking!"
Never got a more bittersweet compliment
-
-
-
-
-
-
-
-
-
-
- That weird moment when you don't understand what ++ or -- means in devRant cause you Python developer15
- Learned Python by working 6 year with it. The first tool I made in my spare time was a porn playback helper.7
-
- When you've been getting lots of comments on your pull request and have to keep asking for approval.7
- "It must work in IE6, we still use it in our offices."
While developing a JavaScript web app for a bank with 10 000+ employees. In 2014.8
- So I've started my Python adventure and made an app that lets me know what's my next lesson in school. It shows lesson, subject and time.6
-
-
-
-
- Had to wake four people up at 2 am to fix a crashing service.
10/10 would deploy to production on Friday night again.27
-
-
-
- At introduction of new class teacher asked which _one_ of the following isn't a programming language:
- Swift
- Pseudocode
- Haskell
- HTML
Took my chance on HTML, but apperantly pseudocode is less of a programming language according to him.30
-
-
-
-
-
- Was scrolling through LinkedIn and had forgotten i wasn't on devRant. Just thought:
- "Man, these rants really suck."
-
- After working as a developer for 4-5 years I finally took up school again.
The teacher at our first programming course insisted that we named all our variables in our locale language (swedish) and always started arrays at index 1.15
- Wrote a python script to fetch details of amazon products to monitor price differences.
The script is only 50 lines, which is why I love python!8
- Best and worst customer I've had: A bank.
Great because they had so much money for projects.
Unbearable because everything needed to work in IE6.6
- Biggest dev insecurity?
Probably http://
It’s not secure at all, never feeling very confident when browsing that protocol.6
-
-
-
- Due to the coronavirus we are currently required to develop all our web services with SOAP and sanitise all our input for at least 20 seconds.2
-
- Told the recruiter about 4 times before my lunch interview that I was a working student (I could only take part time jobs).
Just as we sat down and got our food he asked me where I currently worked, and I gently reminded him that I was still, in fact, a student.
He had this weir look on his face as I had tried to trick him into a free lunch, as all the positions he had was for full time jobs.
Still ate the lunch and had awkward small talk the entire time.6
-
-
- Good to see instagram move to python3 without an exception. Literally that was smooth. Cheers to those who think Python is not scalable. 95 million photos on daily basis. 400 daily users.
-
- People always asked me how I got started with Python, I always have to come up with a reason to hide the fact that I started using it because I like the name13
- Took me longer than I'd like to admit before I realized why my function always returned zero.
Too quick with the constructor it seemed.6
-
-....10
-
- During mockup presentation where everything is perfectly vertically aligned:
Dev: "How should the surrounding content behave if the article is longer?"
Designer: "That won't happen..10
-
-
-
-
- Haven't written Python in months. Noe I have to go back through a couple hundred lines and remove all the ;s 😂😂7
-
-
- Favourite code editor?
Hands down, it’s actually Vim.
It’s mostly because I haven’t been able to exit it though. Actually it’s the only reason. I’m stuck. Someone please send help.12
-.
-
-
- pyRant!!!
What is Python?
Me: Python is sweet,robust and Productive
Others: Python is snake
Me: Sickheads😈😈😈9
-
-
- Apparently the firewall at work has blocked access our git repo since there are too many consecutive requests to it.3
-
- I've set up my server to only accept logins with SSH-keys, and permanently banning all IP:s that attempt login with passwords.
Now I can't stop watching the banned IP:s stacking up, it's like drugs to me'm currently reading a course in Project Management and I have yet to find an image in the course literature with a person that doesn't suffers from a headache.1
-
- I find it ironic that some python devs hate on nodejs because of npm modules. But then go ahead and create a virtual environment for every new python project.6
- ARGGHHHH Python!!! why the hell is this a thing... if I specify a default argument, I want it to be a default argument, not get carried over....13
-
-
-
-
-
-
-
- Everyone talks about their hate of js but like python is honestly just as bad.
- shitty package manager,
* need to recreate python environments to keep workflows seperate as oppose to just mapping dependencies like in maven, npm, cargo, go-get
* Can't fix python version number to project I.e specify it in requirements
- dynamic typing that gets fixed with shitty duck typing too many times
- no first class functions
- limited lambda expressions
- def def def
- overly archaic error messages, rarely have I gotten a good error message and didn't have to dive into package code to figure it out
- people still use 2.7 ... Honestly I blame the difficulty of changing versions for this. It's just not trivial to even specify another python version
- inconsistent import system. When in module use . When outside don't.
- SLOW so SLOW
- BLOCKING making things concurrent has only recently got easier, but it still needs lots of work. Like it would be nice to do
runasync some_async_fcn()
Or just running asynchronous functions on the global scope will make it know to go to some default runtime. Or heck. Just let me run it like that...
- private methods aren't really private. They just hide them in intelisense but you can still override them....
I know my username is ironic :P13
-
- from phone import Camera
from animals import Python
camera = Camera()
python = Python()
camera.take(python)
camera.showImage()4
-
- I once added a semicolon at the end of a line when coding in Python.
I’ve brought shame on my family
-
- I fucking love Python
It just works :)
Half an hour for a nice evening side project.
Even faster than Twitter takes for approving an app.
im waiting now 1 week..
- About every project at my last job. Impossible to like any project with a boss that legitimately thinks frames and tables are a better option than learning css.
But why not, attribute styling on html-elements are the future indeed
-
- Reviewing code in a project, found this one:
# Todo: Fix horrible parent member check. People may have been killed for better code
-- horrible code here --
- I absolutely hate python, but it has simple string manipulation because of how it abstracts from arrays, so I have to use it to write my assembler for my CPU project
I wanna take a hot shower and scrub myself of that filth18
- What kind of sick joke is it that the url for camelCase on wikipedia is
-
-
-
-
- The new iPhone is gonna have an odd number of pixels in width. I can already feel the anxiety of trying to achieve pixel perfection6
-
-
-
-
-
- How to explain “What is a Python environment?” to some PhD candidates that don’t have experience in programming?
I will teach Python this semester and I am trying to come up the right explanation.21
-
-.12
-
-
-
-
-
- My last boss insisted on using tables instead of divs and then asked me to make it responsive (every damn time). Also, functions that were over 10k of lines.4
-
-
-
- I love pipes in R. Really wish more mainstream languages would adopt that *looking at you python, nodejs-tc39, rust, cpp*
Just something about doing
data %>% group_by(age) %>% summarize ( count= n() ) %>% print
As oppose to
print(summarize (group_by(data, age), count=n()) )19
-
- Fuck me sideways, it took me so long to figure out what caused a certain bug. Thanks python
>>> list = [[0] * 2] * 2
>>> list
[[0, 0], [0, 0]]
>>> list[0][0] = 1
>>> list
[[1, 0], [1, 0]]9
- Guys, I have recently made a python package which is published on PyPI.
I am a very junior python lover 😍6
- Nothing ruins my day like having to touch up python scripts. I'm predominantly a Java dev and never learned Python properly so every time I do it its THE WORST2
-.8
-
-
-?9
- I became good enough to be hired as a developer by reinventing lots of wheels and making mistakes. A lot of mistakes.2
-.
- Switched from Python 2 to Python3 a while ago. The biggest challenge for me is still remembering to use print as a function.2
-
-
-.8
-
-
-
-
-
-
-):13
- I'm learning python3 right now, advises or exercises to practice? I want to learn machine learning. I'm developng on elixir for now. But I hear good stuff about python.6
- # what's new in Python 3.6...
# and I gotta plug
...
- I was trying to watch an instructional YouTube Python video (on my Android phone) while it was dark in my bedroom, and then I remembered that Youtube for Android doesn't have a damn dark mode... NOOOOOOOO!!! :( :(
Why did you do this to us Google!5
-
-
-
-
-
- I've tried to give it many chances, but I just don't think Python will ever be for me. Even "quick and dirty" scripts are faster for me in a statically-typed language with static syntax checking and sensible code completion.8
-
-
-
- Python drives me nuts. Can we just have 1 environment to run python. Virtual environment or conda environment. Hard to switch from notebooks to ide's because you need to reinstall the packages for that environment3
-
-
- That moment when you know Python, and start in a serious national competition. You expect god knows how hard tasks....and all of a sudden you realise that all of them are in turtle...rip2
- Now, this is some next level shit in python (or I just don't know about it yet).
Anyway, I only discovered this thing lately4
- Booting up my Windows computer at work after 1 year leave. I'm gonna do a Windows Update.
I suspect I'm not going to get anything else done today.6
- If there's something that makes me want to shoot myself even more than having to work with python, it's python's package management.8
- Which version of Python are people working with these days? Is there enough support for Python 3.x to use that or is it better to stick with Python 2.7.x for the time being?6
- Anyone else tired of the good old "Python 3.x will never be useful blahblahblah everyone uses 2.7 yadayadayada" bullshit?3
-
- I now understand why people say python is such a damn hard language to keep big projects. I'm so hell lost in all those code indentations and lack of conventions!!!!
GET ME BACK TO RUBY PLEASE I BEG AAAAAAA4
-
-.6
- After my Python-question was marked as Duplicate on StackOverflow I realized that the problem was wrong indentation....1
- Started out with python, while meaning to learn javascript.
I am now competent in python. Im still not sure how it happened.
Started python because I got tired with doing repetative calculations by hand. I think I had like a phobia of problem solving with nested loops. any time I thought a problem would require nesting, especially more than one nested loop, I would just avoid doing it, or end up doing it by hand.
Wrote so many goddamn loops though in the process of exploring graphs, doing things by hand seems like a nuisance. Thinking in loops has its own zen or something.
Now I just need to get over my fear of json-based CLI-enabled configuration-over-convention.1
-
- After 8 years of development, I gave python a try today. It honestly had me hooked at its usage of lambdas and list comprehension but im finding alot of things I like about it.
Honestly it offers the same things I like about javascript: rapid prototyping and multi paradigm.
But then i get up and running with django. Ya its nice and its not a template first solution like alot of opinionated frameworks out there.
This just feels very wholesome to learn. I feel comfortable and in a good place.8
- I tried to install a simple Python package today for a simple 10 line program and spent over an hour installing dependencies and reading documentation
- Am I the only one that can't get into Python? Any tips would be appreciated. I've been debugging a 2.7 legacy application at work but the language is so finicky and the errors are so vague.2
- When i have to take an hard decision, this python script always helps.
import random
print(random.choice(hardDecisionOfLife))2
- Opinion: Julia will not catch on, because the two language problem is not a big issue for most people in the industry, and most python data scientist will refuse to migrate.
-
-
-
-
-
-
-
-
- !rant
I am teaching some friends python, so i would you comment here challenges to do in it (eg. Python TicTacToe). All difficulties would be appreciated.7
-
-.)7
-
-
-
- Removes an control statement or a loop statement in python code ......
Fucks up entire code below it due to indentation error..
Sit and remove the indentation line by line
PYTHON IS LIFE3
- Any people using Julia here for something real. Like analysis or building applications? Is it worth learning or should I stick to python and cpp ?2
-
-
- I've been stuck with bootstrap in the last projects at work but I wish to break free. Been looking a bit on material design. What other UI frameworks do you guys use?10
- Python Developers, if you are working on a python project or Library developers(python)(3rd party) please move to Python3 there's no need to get stuck on python2. it's fucking horrible when those dependencies).
- Began learning PyQt5 a few months ago and noticed the rather "lack of online resources" as compared to Tkinter (which I had learnt earlier). Infact, multiple tutorials that showed up on the first result were actually for PyQt4.
Anyways, I made my own PyQt5 tutorial over the course of this month. This is the link to the main page for the tutorial....
Still got a few things to add (like layout managers) but the main part is complete. Some feedback would be helpful! You can go head directly to a widget tutorial with this link.
-
-
-
-
- What is Python good for? (I had to use it for the first time today and used it to process some audio input but i don't know what else to do with it)
-
-
-
-
- Just found this glorious rant about a controversy I completely missed in 2016....
-
-
- Am learning python programming; any pointer to exercises, challenges or projects i can use for practice.5
-
-
-
- What is must important to know for python beginner? I'm new new about it just start it Print and calculate, so what i have to know first to start python programming??2
-
- Anyone give some fucking good instruction to learn python, i really want to learn it :(( maybe there is some secret to learn
-
-
- I just finished my first commit of "3D Rendering Engine" <-- Best way I can call it I think.
QUESTION:
If I have a list of nodes with x, y, z values that I am projecting to a 2D plane, how would I rotate the whole list around the top (y) axis?
I am using python
If you are interested, here's the GitHub Repo:
- Exponent of string,
What tf does this mean?.. I'm currently learning python in our university's elab and one of the questions, asks me to do this... Can someone tell me what is it?.. I've never heard something like that😐9
- A TRIBUTE TO CODERS WHO JUST STARTED MAKING DISCORD BOTS USING PYTHON WITH PYTHON 3.9
When you just got the hype of making Discord Bots using Python ...
You update to Python 3.9 ... And then Go to CMD (for windows users) and type ... "pip install discord.py" ... You are very happy ... thinking finally You can add your custom bot to your server and then ... even pip tells you that you are noob at discord.py1
- Learning Python from some days back, and have confused about Python Array and Python Lists, please help me to understand this.
Thank You.5
-
-.
- Does anyone know a good way to retrieve back the indexes of elements in the unsorted list after sorting that list in python?
Let's say for example I want to find the largest element in a list, so I sort it and find the last element(as it will be the largest), now I want to retrieve its original position in the unsorted list.13
- It feels so good actually doing something that saves the company a buttload of money.
Just optimized some ML models. Now it costs a tenth of the money to run them :P
- I want to print the first number in the Fibonacci sequence to contain over 1000 digits. I got fibbonaci to work but I cannot seem to figure out how to implement the "Contain over 1000 digits".
Do I make a list to store the fibbonaci numbers in then do a statement?
My Python 3 Code:
def fibonacci(num):
if num == 2 or num ==1:
return 1
return sum([fibonacci(num - 2), fibonacci(num - 1)])
print(fibonacci(7))7
- Working on image identifier program on python want to add machine learning in the program need help.....suggestion plz1
Top Tags