Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "or python?"
-
Person: I want to learn to code neural networks and cool AI stuff.
Me: Look into Python or Lua.
Person: Those are too hard, I'm going to use HTML instead.
I got out of there as fast as I could. 😅11 -
My professor( 2 yrs ago) : Why r u wasting ur time on Python. Learn Java or .net , u will get a good job.
Now she asked me for python tutorials cause she needs it for her PHd. 😂😂😂12 -
My non-dev boyfriend installed Python via the command line and ran a server to render a map of Pokémon in his neighborhood. I don't know whether to be impressed or scared 😂7
-
That weird moment when you don't understand what ++ or -- means in devRant cause you Python developer15
-
FOR FUCKS SAKE PEOPLE ! JS AND PYTHON ARE NOT THE BEST LANGUAGES NOR THE ONLY THING YOU SHOULD LEARN. THERE'S NO TOOL OUT THERE THAN CAN FIX EVERYTHING.
WTF HAPPENED TO THIS INDUSTRY IT'S AS IF JS AND PYTHON ARE ALL THEY TEACH THESE DAYS ...
ENOUGH ! BE A POLYGLOT OR GTFO (OR YOU CAN SPEAK ONLY 1 LANGUAGE AND STOP FORCING IT WHERE IT DOESN'T BELONG)
now that that's out of my system. bring it on59 -
Overheard this guy talking to his friends about Python.
Guy: "Have you seen Python?? You basically just talk to the computer. There's no variables. You just go 'a = 2' and you can print 'a' and it'll give you 2! And there's no imports or anything!"15 -
"Position: Java developer
Requirements: Knowledge in C, C++, C#, JavaScript, Python, frameworks like jQuery or Angular (preferable)"
Do you need a Java developer or some kind of development deity?10 -
!Rant
my dad message me 7 am, with spec on a raspberry he got and the question if python was similar to C (he programmed C, 20 years or so ago.)
my responde: "I will set up a git for you, and we can learn python together"
dad: "what is a git?"
p.s love my dad :D8 -
I think rather than go clubbing again tonight, I may just stay in and mess around with Linux in an old desktop or play with python a bit...
And have some vodka.18 -
PineScript is absolute garbage.
It's TradingView's scripting language. It works, but it's worse than any language I have ever seen for shoddy parsing. Its naming conventions are pretty terrible, too:
transparency? no, "transp"
sum? no, cum. seriously. cum(array) is its "cumulative sum."
There are other terrible names, but the parser is what really pisses me off.
1) If you break up a long line for readability (e.g. a chained ternary), each fragment needs to be indented by more than its parent... but never by a multiple of 4 spaces because then it isn't a fragment anymore, but its own statement.
2) line fragments also cannot end in comments because comments are considered to be separate lines.
3) Lambdas can only be global. They're just fancy function declarations. Someone really liked the "blah(x,y,z) =>" syntax
4) blocks to `if`s must be on separate lines, meaning `if (x) y:=z` is illegal. And no, there are no curly braces, only whitespace.
There are plenty more, but the one that really got me furious is:
98) You cannot call `plot()`, `plotshape()`, etc. if they're indented! So if you're using non-trivial logic to optionally plot things like indicators, fuck you.
Whoever wrote this language and/or parser needs to commit seppuku.rant or python? pinescript or fucking euphoria? or ruby? why can't they just use lua? or javascript? tradingview17 -
Everyone should start with C rather than java/C#/python (or alike). Much easier to move from C to java than the opposite42
-
Yo!
I went to see my mother a few days, and her TV's broken.
She told me to repair it, because "you're a programmer"
Does anybody knows a python function or a useful library that could repair TV ?5 -
!rant
Hey everyone!
I've recently made a devrant API for python!
It is available for use in your very own projects!
I am planning on using this on another project, a python devrant CLI program, inspired from a collab using JavaScript.
Here is the link: https://github.com/coolq1000/...
It is very basic with functionality, not much beyond getting rants by index starting at zero, or getting all rants available by skip, limit.
Has some documentation in the readme.
Have fun!6 -
"we gave you (the students) a choice if you want to learn data mining in matlab, java, python or c. most of you chose python. the results were horrible, so we decided to teach you in matlab instead"
- professor
ARE U FCKING KIDDING ME5 -
I bought a raspberry pi a while back, and I have no idea what to do with it. I know nothing about electrical engineering or Python (as I believe that's the language you use to program the pi). Any ideas?27
-
Lead dev: Hey boss, you really do like Python right?
Me: No
Lead dev: Well it's cuz I was think....wait what? WTF do you mean no, you have automated a fuckload of BS with Python and we are still using it, why tf would you use Python if you don't like it?
Me: I like it enough for the automation scripts that we have and for parsing documents or generating glue scripts, its already installed in every server that we have, so testing bs in dev and then using them in prod is cake, it doesn't mean I LOVE python, I like it for what we use it.
Lead dev: Well ain't already bash and perl installed as well?
Me: Do you know bash and or perl?
Lead dev: No, don't you?....
Me: No......
L Dev: (using a Jim Carrey impersonation) WELLL ALLRIGTHY THEN! What is the other language that you used for X project?
Me: Clojure, do you remember that one?
* he said paren paren paren paren yes paren i space paren do close paren close paren etc etc
L Dev: (((((((yes (i (do)))))))) and nevermind, I'll get back to working more with Python
Me: das what I fucking thought esse6 -
Oh F***, not again!
Bob, every single time you "patch" the servers I run into issues, that you cannot fix.
Bob: "heuuu... I don't know anything about python or npm or any of that"
Then stop touching it!!!1 -
This has been posted a few times but I just want to reiterate for noobs that !Rant means NOT rant, like the C, C++, Python, Java, etc versions. Not like CSS !Important or ruby do_this!(indeed) etc.5
-
I have an idea. DevRant Groups. Keep the feed but, for example, have a Python group dedicated to discussion or rants about Python. Any one could make these groups. It would be similar to Thingiverse Groups.
What do you think?10 -
Worked for the US federal government. Stuff couldn't be used unless it had been approved. Had to us Python 2.6. Python 3 was out by then. Basically anything brand new or even new within the last 5 years wasn't allowed, but was expected to make apps that represented modern web apps.1
-
Who the fuck at Microsoft decided to put python on their store? I don’t care if it’s on the store. What I do give many shits about is that I spent 20 minutes uninstalling and reinstalling and reconfiguring my fucking PATH because the python & python3 commands did not work but instead SENT ME TO THE FUCKING STORE PAGE FOR PYTHON 3.7
THEN I FIND OUT ITS NOT A PROBLEM WITH THE PATH MICROSOFT PURPOSELY CREATED ALIASES FOR BOTH COMMANDS SO THEY HAVE TO SEND YOU TO THE STORE PAGE WHEN YOU TYPE python OR python3 INTO THE CMD OR POWERSHELL.
I turned it off after finding that out, but I’m still furious. Fuck Windows.22 -
Some random coworker has been asked to setup tests for the framework written in Java and the GUI is a web app that comes with the framework.
Since he doesn't know any language we work in, he decided he would do it in Python. When I asked him why introduce Python and he replied with "it doesnt matter which language it is because it is going to run on selenium"
I told him to either use Java or Javascript for selenium because when he leaves we should be able to maintain the tests and not first figure out what the hell you wrote in Python
He didnt understand and is going to go with Python anyway8 -
Do you have a dev (or informatic in general) nickname?
Oh, I love stories XD
When I was at university, my first boyfriend (now ex-boyfriend) was the only one who knows Python (teachers used to teach Java and C#). He was pretty old, like 4 years older than all of us, and when the teacher introduced himself to the group the first day of the semester, "Python" asked
- "Teacher, do you use Python platform?"
I don't know why, but the rest of my classroom mates laughed. And from that day, my friends called him "Python".
The funny thing is that two weeks later he became my boyfriend ^_^ a friend of mine said "he wants to show you his python :o"
A semester after our broke-up, I was invited to teach Python at the university. I accepted. Now some teachers remember me as "Python girl".5 -
Recruiters call me and be like "I'm looking for a Python Developer to work in London with 5 Years of experience - Is that something you'd be interested in?"
I respond with - "Sure.. only if you can tell me where the f**k you found the word Python on my CV or ANYWHERE online."
1 - I've got ZERO experience in Python...
2 - I've got 3 Years experience in development regardless of being in anything Python related...
3 - I live 1-2 hours away from London...
Come on guys - Do you even read CVs before you blindly call? How shit are you!?
If I spent all my time calling candidates that had no relevance for the role I'm recruiting for (most likely to get call times up) back when I was a recruiter, my boss would have my nuts for lunch for making the agency look bad.5 -
The sad day has come people... Anyone who knows me; knows that python and PHP are not my favourite of things...
But I've decided to try and work towards getting a Dev position at my current work place... That required PHP and python knowledge
Gonna be honest, better pay but have to use PHP and python or kill myself is a very tough choice...18 -
When you think you've either found a bug in Python, or you're going insane, so just to double check, you make two mutually exclusive assertions that could never both be true, and yet, your tests still pass.
I think it's time to find a new job.9 -
Le college freshman nibbas: Don't know C, Java, C++, python or any other programming language but want to do AI and machine learning!
💀🤷6 -
2018 dev goal #1: ✔️
This week I learned Python 3, as in most of the syntax. Not yet any development, but that will come tomorrow onwards.
Oh, and I hate the funky type system, which is almost non existent and so flexible that I don't know if it's just bad or I simply don't see why I should want it this way.
Please enlighten me why you think Python is great or just plain snake crap.
Did I mention snake case being common practice? And that Python doesn't know real private properties, methods, etc.? How does that work?17 -
At many places, first programming course is Python or JavaScript. Our university first teaches C. I feel its a great language to build up programming skills. Tough then formers and that's what makes it more beneficial.10
-
Python and java tests in college? Both on paper, so you can only write your code once, using a pen, and you can't debug it or modify it. Awesome right... Smh11
-
So python does not have constants and the only way to create one is to create a class with a getter but no setter.
WHAT.THE.FUCK or am I just wrong?4 -
For fuck sake I get that people like python but not everyone is going to use it!
Just want a few articles or tutorials on interpreters and would you fucking look at that, it's all just in fucking python using external libraries...
Then I purchased a couple Linux and Raspberry pi magazines just to have a gander at some of the code examples and what do you think every single piece of code is? C? C++? Vala? Nope, fucking python!
I will eventually finish learning what I can about python but there are other languages that exist that isnt fucking python, give us some C, C# or even bloody JavaScript... Please
Ok rant about python over, back to my hole12 -
I just got my Python project working on my new work PC!!! It took all morning 😂😂😂😂😂
I had to basically hack my company so I could do my job.
More specifically, I had to install a proxy server so Python, and other CLI tools, could access the internet via our company's NTLM/web proxy server.... After some IT morons reconfigured it... without testing or providing us a way to continue using it...1 -
Going to spend this whole August, studying Python.
Any tips or suggested route to get the grasp of Python? Should i start at 2.7 then 3 or just go directly to Python 3?12 -
Don't start with Java but something simple like Python or Ruby or anything that doesn't need that much blob too run a Hello World! program. That was what confused me the most. And by 'start' I mean like the first few lessons, just to get started.14
-
TIL Python doesn't really give a fuck about semicolons -.-
So after spending the past couple years almost exclusively using C# and Unity I decided to come back* to Python for no real reason except wanting a change of pace.
I almost ripped my hair out backspacing semicolons I kept putting in out of force of habit after having worked in C# for so long
Well guess what... I just learned (purely by accident)... Python couldn't care less. I feel internal conflict if that makes sense.
TBH now I'm randomly putting in semi-colons at the end of some statements just because I can and I want to abuse this freedom ^_^
Yeah yeah it's not very "pythonic" or pretty but screw that
* I started programming in Python back in high-school but switched over to C# + Unity after graduating and pursuing indie-gamedev.
Note: After some searching I realize you can use semicolons to have multiple statements on the same line but I never really needed to do that during my time with Python so I didn't even remember it was even a thing6 -
I threw an error into my code to find where the code was having trouble but instead of raising and error it fixes the problem and runs flawlessly
At this point I can't tell if python loves me or hates me2 -
Why does every Software Engineering role at the top companies never have PHP or any functional languages in it’s list of languages they want you to be experienced in?
It’s always Java, Python, C#, C/C++, Objective C or Ruby. What about Elixir, Scala, Haskell or Clojure?9 -
OK - Time to settle this for me. What is up with PHP? Everyone seems to detest it, however when I talk about NodeJs or Python, people say that they are inefficient. So is PHP an efficient mess?9
-
I don't know how to feel about it. What story it tells? Python is so easy that even vandals use it or maybe someone bleed on the wall how much she/he hates python. Or maybe it is scream of inner Vandal closed in cubicle who works with AI and blockchain for life's. What is the story behind this?6
-
Worst mistake ever...
Using PHP to write a server-side utility instead of Python. (Or anything else really, even BASIC...) -
Anybody loves python? I don't know why, but the more I use python, the more I seem to hate it. Specially the poor naming of the functions are just horrible! specially when you've been following the #CleanCodePrinciple strictly.
Let me give some example:
What does even "len" or "str" mean normally? is it a variable or a function? can anybody imagine?
where as in Java or JavaScript it is array.length and anyValue.toString()
anybody can understand what these things are, whether a variable or a function.
in python some functions are like "dothisorthat" and some are "do_this_or_that" some are "doThisOrThat". I mean, why can't you just follow an unified rule?
and there's this fragmentation between python 2 and 3! whether in stackoverflow or in youtube/udemy, a lot of them used python 2 and some uses python 3. I mean, can't they have some BackworkSupports?18 -
Anyone want a free Python, PHP, or Assembly book?
Well how about all 3???
https://fanatical.com/en/bundle/...7 -
Im really liking python but some of my teachers told me that its no very used in businnes environment. Is that true or just hate?18
-
Been writing some Python apps for the last weeks and I really enjoy the language. I got all the basic stuff down but not sure how to progress to learn the more advanced stuff. What even is advanced stuff in Python and where can I find information about it?
I'm thinking about creating an API, any advanced techniques I could benefit or use for that?9 -
These guys who only know Python and fuck you up, because you are used to write "true" instead of "True", or "else if" instead of "elif". Finally they laugh about you, because you are not able to "remember this simple syntax"!!!2
-
So, right now I'm 16 atm I know some basics of php,python but I love Python more than php. So my question it's:
Most of the universities in my country for computer science, are based on java, c++ and some another stuff.
What should I do? Should I start learning C++ / Java or continue using python?10 -
So I realized:
No matter what terms we replace master/space with, it still implies one is better that the other, or in charge of the other.
This isn't equal! I demand process rights! So I say we make a deeper change! We change the fundamental way concurrency works in python so that all forks are equal! In fact forks are divisive. We should do away with that too.
Make python single threaded again.1 -
I know I'm out of the loop since I barely use these sites, but...
What is it with this seemingly ridiculous new trend on LinkedIn of replacing your meaningless job title with, somehow, an even more meaningless fake description of what you're doing? I'm seeing it all over.
Back in the day it'd just be "Python developer". Then the trend seemed to be a "Senior / lead / principle software engineer / Python specialist" (who cares if you're actually a senior eh, this is LinkedIn.) And if that wasn't ridiculous enough, now it's "Helping to transform the globe towards a greener future by implementing beautiful, robust code in Python 3.10" or similar. Who the hell wants to see this crap?!5 -
Why do people compare languages? Like C++ vs JAVA, C++ vs Python, C++ vs Elixir?
All languages are best in their own specific use-cases. So why we need to compare all this stuff?
Or might be I am wrong.19 -
New programmer who just pick up Python be like , C is shot , is bad , python better blablabla....
Why anyone hate C so much? I personally use C for Embedded Programming, for hardware or is better compare to using python for my case.
I love python , but I love C more. Because without C the rest don't exist. Right?
So stop hating on C. Because you might use it someday.17 -
Guys, a company's HR mailed me for a position that requires strong experience of ">3 years in Python with C or C++".
Does it mean Python and C/C++?
Or do they need someone who is using C/C++ to write Python?
I have some experience with adding Python support to C++ code. Does it count? 😁8 -
*Googling for articles that explain something I'm trying to research*
Oh! This one is highly rated, sounds good!
*It's all written in python*
Ugh that's not helpful, ok next one
*Written in python*
Ok... Ok... Third times a charm
*Next 128 articles are done in python*
Has anyone considered that maybe not everyone uses python?
At least try writing it in Javascript or C++, much easier to adapt code to other languages... Maybe I'm just bitter because I hate python ¯\_(ツ)_/¯10 -
The more you learn languages like Javascript and Python, the more you realise that while every syntax differs, they're all essentially themes of the same if, else or and, type statements... This leads me to believe that with enough practice, it's possible to shortcut or pick up a new language progressively faster. Or am I just a melon?7
-
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
-
I wanted to build a smart home system with arduino or pi when I'd have my own place. But since that is a ways off, let's park that.
Just learn me some linux, python, node, typescript and some js frameworks, maybe handlebars, knockout and angular? -
Just found out that Visual Studio actually has the equivalent of Swift playgrounds - just go to View - Other Windows - C# Interactive (or F#, Python or PowerShell). My life is now complete.
-
Dear Java developers who has a fetishes with OOP and Design Patterns, and are now using Python:
Not every fucking thing you build has to be a class, a singleton or a factory. Specially in Python. Go with your boredom and boilerplate elsewhere.17 -
white space being used significantly/meaningfully for syntax like python or yaml is a horrendous idea in my opinion
how awful is my take13 -
working with non programmers - need to make a gigantic excel worksheet for everything that python could do in a dozen lines or two... 😑7
-
Unlike the built-in ** operator, math.pow() converts both its arguments to type float. Use ** or the built-in pow() function for computing exact integer powers.
Well who knew?
source: python docs3 -
1 in 5 rants in the past week have been about Python bashing. Did I miss some sort of cataclysm or something?11
-
When I first began with Python I really missed the static typed checking from Java, I barely know anything about a returned object from a method and have to read the API extensively for every new library.
After a while I finally understand why Python is so powerful, the combination of dynamic typed language and rich default methods make the language unbeatable for your productivity.
While Java's Object only has toString(), hashCode(), equals() or clone(), Python's basic Class has every fucking method for every scenario I could ever image. No wonder that libraries like numpy or pandas work so well and fluidly.8 -
I'm writing c# code, does not work, wrote the same code in python just to see if I'm thinking the wrong way, nope, it worked in python then fixed the c# code...
I might be a c# racist or I don't know.2 -
So for 2020, will there be a new cool language to bash on, or will it continue to be JS and python?
I find it strange how python hate is just popping up everywhere and to me it seems like it just started happening nov/dec.11 -
Me 2 cents on python:
Cheers on python for enforcing indentation for the sake of readability.
Fuck devs for writing a fucking function in one line or 200char.
Also fuck type less one liners even more.rant fuck python tabs vs spaces typewriter fuck developers python fuck this shit indentation readability4 -
Everybody loves Python, but every documentation about a library is ***** (not good) or I am to dumb to understand? ( for example Pillow Tkinter)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
-
Whaaaat? Now i can't even say in public that i would like one slave robot in the future because it would sound too nasty or pollitically incorrect?
Don't know about you but... python sounds more nasty to me...7 -
No Python. I don't want your fucking eggs. Who even decided on that name??? Eggs break and get all messy, the stuff inside grows out of control or is dead to begin with. WTF!!! I feel filthy whenever I see an egg-info. EEWW2
-
Whoever thought that using some crappy niche framework for selenium web driver based on node.js instead of using Python or Java bindings like every other reasonable person would do should be beaten to death with old keyboards.1
-
To those following the saga so far...
ya boi just had his followup python interview.
YIKES. Like, i aint even sure if it went bad or not.
Wish me luck.
Corey Schafer! Bless me!!!5 -
Python abstract classes... Looks like a pain in the ass...
I'm just gonna create a class filled with methods that just pass or throws NotImplementedException
Good enough?2 -
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
-
So what do you all believe the best first language is and why? I personally say Python or JavaScript because they are simple, and easy to understand8
-
Short question: what makes python the divine language for ML and AI. I mean i picked up the syntax what can it do that c++ or java cant? I just dont get it.19
-
Guess who got a huge interest in Python this morning. I feel excited to start learning it and do some awesome shit! I need a small break from front end development so I'll try to make some simulators or something with python.. Dunno..1
-
Why is python supposedly something big data people use ? Sounds like r and stats and well I don’t see the adoption of that though python is used somewhat I note in a lot of Linux apps and utilities
Just seems strange that an interpreted language would be used that way to me or am I an idiot ?35 -
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 -
Started to learn java! Loving it so far.. Coming from Python 3 i thought this was not gonna be easy but so far so good.. Can someone give me some advice or tips on what to tackle next after java?17
-
what's my next language to learn? So far I only know powershell. I don't need it for any big project, just some small games to learn the language. I'm thinking of python or c#.11
-
I feel shitty cause I've never wrote near 100 lines of python code or just a large number of lines in any language. I want to write large amounts of code that will actually work.10
-
!dev
Python or Java? which one is better in terms of time-saving? what have you been using?question java wk183 pycharm management artificial intelligence python intellij android time machine learning10 -
A friend suggested that I'd start learning a scriptable language like Ruby, Python or JavaScript instead of beginning with HTML and CSS, until I feel comfortable with programming.
I want to be a web developer and Ive learned some HTML.
So, any opinions?9 -
Calling any Python programmer here (especially package maintainers)
I run Gentoo, so am responsible for maintaining the dependency tree (to a degree). When it comes to Python I have 2.7, 3.4, 3.5, 3.6 available. I'm always running into some package needing one version or another, and I can't just set a single version and forget it (which is fine. I'm running Gentoo).
I know that this is because python changes rapidly and so different libraries need different versions. Fine.
Why does this happen with Python and not C++, JavaScript, php, ruby, or any other languages on my system? I don't have 3 different versions installed to cover any other languages, and I don't spend time adding installation rules to cover them.
Why does Python need to be a pain in the ass about it?3 -
Yesterday, I started taking the new programming classes in my school. I am utterly disappointed, before even teaching my classmates who are new to programming some basic python or javascript, the teacher started the class with teaching arduino and C and because of that many of my friends have since dropped the class and we are only 3 left out of an original 20.
Although some of you might say that arduino is a good introduction to programming, I believe you should teach a kid basic python or java before getting into arduino or raspi..etc11 -
I am planning to learn web development. Should i go for python or php side? Which one will you prefer 😋😐🤔 ?14
-
The creators of the Python language are giving some thought to a new proposition, PEP 622, that would finally bring a Pattern Matching statement structure to Python. PEP 622 proposes a method for matching an expression against various kinds of patterns using a match/case (simply like switch/case in C) language structure :
match some_expression:
case pattern_1:
...
case pattern_2:
...
It includes literals, names, constant values, mapping, a class or a mixture of the above.
Source : https://python.org/dev/peps/...6 -
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 -
I wish python had a better package and environment manager. Everybody has their own way around this, but nothing without bugs or 10 steps to install a package in the env. it just sucks...4
-
Python be like:
TypeError: 'callable_iterator' object is not callable
and also:
TypeError 'callable_iterator' object is not subscriptable
Why the fuck did you name it "callable iterator" if you can't call it, or iterate it.4 -
Why people loves Java? It's because the maintenance or something in architectural level? I don't understand, because we have languages like Python with a better syntax and languages like C++ with a better optimization and speed of processing9
-
Oh crap seems like we will switch our automation from java to python.
Any recomendation to good recources or books to start with python?4 -
I know some C++. What should I really learn next Python or Java?
I want to be able to make a meaningful project as soon as possible.(with Java as I can see I have SpigotPlugins, and with Python I have Telegram Bots).
Sorry for asking for advice here but idk what to do.26 -
which language should I learn to python or java ?.
I have knowledge of both the languages but I want to learn one fully.6 -
I am a android developer. Mostly use java. I'm about to Develop an API for our next app. What should i use : php or python?9
-
Anaconda. Quite fitting a name to something that fucks up python environments so thoroughly. Ironic too, given that it was meant to simplify. Anaconda doesn't give a shit about the python that came with the distro. And all packages installed with pip are only visible to anacondas python. Not a single note of caution during installation. Or a best practices guide for the newbie. Just chaos. Utter chaos. The price of being a noob had been paid.8
-
Who among you devs ends up coding with 4 or maybe 5 different languages in one day !!! And by languages I mean C++, Python, JavaScript and Java for Android.7
-
The people who post in r/php make me want to quit using php entirely and just switch to python or c#.6
-
A question: what should i learn Nodejs or a Python Web framework (maybe django?)
I just want to learn :)10 -
Low key if someone wants to help me with a flask registration form that would be great because it’s kicking my ass.
If you didn’t see my last rant I switched from php to python because I know python and php didn’t like working or doing anything.14 -
When compiling my first C++ program after sometime working on Python I got 17 compile time errors. All of them were either missing ';' or an extra ":". Damn you syntax!1
-
Converting javascript/ typescript Map to json
or python date to json
or anything complicated to json is mostly ending with implementing serialization patterns
With date it’s so annoying cause we have iso standards that every language implemented or have libraries
so typescript doesn’t recognize Map<string, string> so you have to convert it to array and then to object
with python you need to make your own serializer / deserializer
So much waste of power usage that if only Greta know it she would say ‘how dare you!’
It can stop global warming.5 -
One thing that is really difficult is when you are writing let's say C code for months, and then you switch to C# or Python, you immediately use C-style logic and forgo the easier, shorter Python syntax!
I did a python kata on the Codewars website. After submitting it, I realized my solution was like 10x longer than every other solution. Talking about hand in face.
Stuck to basics and forgot about Python's amazing shortcuts. What are you going to do!1 -
Is it appropriate in terms of time, to learn c as your first language?
I mean, some of my classmates prefer to use python or java as their first language.
Help please, I need help9 -
I want to rewrite one of my projects (a password manager) from Go to Kotlin or Python.
Which one of the 2 should I choose?
I know nearly nothing about both.1 -
~ I knew a little bit of Django ~
~ Now I know a little bit more ~
~ I used to like Python ~
~ Not so anymore ~
~ Why though ~
~ I don’t know ~
I use JS professionally and I have majorly coded in JS in personal projects but I always had this liking towards Python. Now, that feeling is gone. Python doesn’t seem that attractive. JS seems better.
One of the reasons, I feel, is the syntax. JS can fuck-up in places but that C-style syntax is love.
Another reason could be that I still don’t know that much Python or Django to make an opinion? Maybe. Probably.9 -
I tried once to convince an ex-python dev not to write 100 lines long shitty indented functions and seperate that stuff but no it works just fine why should I or anyone else be able to read it.
-
"Programming, and especially debugging, sometimes brings out strong emotions. If you are struggling with a difficult bug, you might feel angry, despondent, or embarrassed."
- Allen B. Downey, Think Python1 -
Last year, I made an application of A* maze-solving algorithm in class. I used a linked list and my friends used arrays. Their algorithms were way faster than mine (I remade it later :p).
OK I understand that accessing memory by address if way faster than accessing by iterations, but I also see that python lists or C# lists are really fast. How is it possible to make a list performance-proof like this? Do the python interpreter make a realloc each time you append or pop a value?1 -
What should I learn first, Python or Rust?
All I know currenrlly is JS, and I want to get away from the browsers. And I'm a Linux guy, so Python or Rust seem's like the way to go :-)9 -
There a times I love python for its quick way of writing things. But there are more times that python makes me angry or just frustrates me with its indentation logic.🤪
When the indentation in my project lets the code either accidentally run a million times more or a tab/spaces inconsistency that no tool warns me about except runtime error.
What about a language that combines pythons easy way with brackets on top?😪 I guess it already exists?😅
For my project C++ would be a viable alternative, but so far the language seems very weird to write.12 -
Learning Python as a first language. Or Pascal. It's a tie between mainstream informal and obsolete formal education.17
-
In searching for 2 days now if python is a scripting language or programming language, it seems to be a Neverending discussion...9
-
Is PHP really that bad? All my programming friends kinda despise my willingness to learn Node.Js or Ruby instead of python...13
-
Just started learning python (may be a week or so) and colon " : " is fucking my life more than the semicolon " ; " did.7
-
Just modified some reverse shell python code, which could handle multiple clients but one at a time, to allow one command to be ran on all available connections.
I either adapted it to be a useful admin tool or the beginnings of a bot net...1 -
Just firing up a new war which will be just as important in a few decades (if not today already) like Vim&Emacs.
So: Do you use 'string' or "string" in languages like JS, Python, ...?8 -
How can you learn a lot of things?
i'm trying to learn kotlin and i think i'm forgetting python.
is it happens to you?
or i'm stupid?9 -
Should I learn JS or Python?
Python is the better choice for ai as far as I know and I'm interested in learning Django. On the other hand Node.js is great for backend and servers.4 -
What is the best programming language for fintech - Python or Java?
Here's the graphic from Cleveroad's research: https://cleveroad.com/blog/...
What's your opinion?11 -
Just found out about ElectronJS.
Man! My frontend will be so much more good looking compared to my previous experiences with Desktop Apps with tkinter (in Python) or swing, awt (in Java)
... Wondering if it has any DISadvantages over the latter ones 🤔8 -
I can't get over how absurd this is:
a = "123456"
a = int(a)
Is it just me or do you have to let go of everything you hold dear, embrace Satan, and sell your soul to be able to code in Python.10 -
I code.
Never speak to my family about coding.
Family tries not to talk to me. l
Ask them why.
They say I would ramble about C++ or my Python...1 -
Starting with rust, seems like an advanced language and I think python corrupted me, it makes learning new language a task. Is it python or rust is bit complex?4
-
So guys... I’m pretty interested in web development and I have a bit of experience in php and I want to learn a python web framework. But I don’t know which framework to choose.
Flask or Django???
Any Suggestions???3 -
I'm looking to get better at Python. Does anyone have any suggestions for good books or sites that run you through the standard library and maybe a few extras?6
-
I see a lot of hatred for Python all over the place, so I have to ask: Why? What do people hate so much about Python? It's fantastic for my use-case (interacting with and managing AWS resources), so is it just a case of "good for this one thing, bad for everything else," or something different?25
-
Looking for help I'm a software development student been studying programming for 3 years so have some experience just wondering is any good online tutorials or books that could help me develop my Python skills we don't cover it in college and I would love to pick up on how to use Python but all courses I find are very basic and expect I'm a beginner3
-
They say to learn a new language, talk to people who speak it. But I'm pretty sure there aren't any people that speak in Python or PHP in their day-to-day life3
-
Favorite IDE: JetBrain's WebStorm (for JavaScript stuff), Intellij (for most of everything else).
Why: cause it literally saves you time.
Bonus: VS Code for anything else (python or golang)3 -
What does this mean? I genuinely don't understand this job title. Is he doing his sales pitch in python or something?1
-
!rant
Started learning Python today, whats ur opinion on Jupyter? I thought it to be quite nice:)
Also, Python 2.7 or 3? Im using 2.7 right now. Is the transition from 2.7 to three all that big?7 -
So today I got to see one of the most stupid architectural choices I have ever seen.
They have a service-oriented architecture. Mainly Python and Elixir.
A lot of computation goes in the Python services.
And the Elixir services as used to expose RestApi. Basic ones, basically DB proxies.
Not a lot of async, or communication... Just plain CRUD.
Why the fuck do you use Elixir for that?? And now they can't recruit someone... And the CTO doesn't get why it was a stupid choice!!!
And in python, they use async functions with sync DB APIs...1 -
I'm looking to learn a thing or two about automating stuff with python. Any cool ideas you guys have that I should implement?1
-
My school didn't have any programming or CS classes, so I started to learn python online my junior year. I thought it was interesting so I declared a CS major in University. Now I'm about to graduate knowing java, c++, Ruby on rails, c#
-
Python will occasionally forget how to do comparisons, so a statement like "if x == y:" will sometimes be false even if x == y. And then when someone else tries it or you reboot, it's all fine.5
-
I'd like to create an imageboard app with React-Native and got a few questions.
Every user has to like or dislike the shown content to advance to the next image/video (tinder style). I want to use that data to feed a machine learning algorithm and generate an unique selection of displayed media for each user with that.
Even though I never used it yet before (I'm still learning to code) I want to use python and a python machine learning library for that.
Can you give me any advice for the python part? For example which library to use, where to start, etc. .
Do you think that might be an interesting idea to realize? :)2 -
Saw two interesting bundles on fossbytes, did somebody get the python or the white hat bundle and can recommend them?
https://deals.fossbytes.com/sales/...
https://deals.fossbytes.com/sales/...2 -
Free python courses/study material? (online)
Thinking of learning python bcuz of how popular it is. Any websites/apps for beginners (that also extends to advanced without IAP or other form of payments)?
Thanks in advance.19 -
i just want my get my shit done and develop quite simple apps like a customer satisfaction poll that should run on android or any other os. should i go for python with kivy (which would be challeging) or for electron as i am somewhat experienced with webdev? i am so undecided...3
-
Learning Java after learning python for School and helping the new programmers who are in the class I finished last term. I see python code and get nervous because there’s no semicolons or curly brackets, but then again I’m like “Fuck I miss python!”
But I’m usually the go to guy when people need help because I make YouTube tutorials for my colleagues to help them understand what I’ve learned, and share flash cards on quizlet, and generally tell anyone if you need help I’ll help. -
Web server configuration sucks.
Apache or nginx have they're own custom configuration language and I don't understand why.
We've plenty of languages to work with: why we should learn some another custom commands with enigmatic commands for weird stuffs.
I'm not a python funboy but, a web server with python based configuration file will be so easy to setup and to maintain.9 -
Life is to take decisions. Which u prefer
Google vs Shodan vs 🦆 🦆 go
Angular vs vue vs react vs other
Gnome vs unity vs KDE
Atom vs vscode vs sublime or other
iOS vs android vs other
Natives bs ionic vs react native vs xamarin vs flutter
Gmail iCloud or outlook or proton mail
Camel, pascal ,snake case
C# or Java or python
Sql or not sql
Debian , fedora ,linux mint or kali
Server side rendering or client side
Aws vs gcloud vs Azure vs ibm cloud
Firefox vs chrome vs safari
Free without privacy or ads or paid without ads or privacy
Nintendo vs pc vs ps4 or xbox
WhatsApp or telegram or other
Sleep at night or not
Coment your favorite12 -
Started learning python async with curio and trio just two days ago, and I must say I'm really having a blast.
I have a few pending ideas to combine it with websockets (also first time I'm learning how to use them).
Haven't had this much fun with python in a while!
Also, sidequestion: how can return a value from an async function with curio or trio? I can't find a proper answer or example about that, other than some hints about memory channels in trio3 -
Anyone knows a quick easy way to write a cli that ask me questions and puts those answers in an excel sheet automatically? Should I write it with c# or python and which libraries?5
-
Does anyone use pascal and what for?
Is there a better editor than borlands delphi?
Is pascal worth using/learning?
Can anyone advise if R or python would be more useful?3 -
Crypto! I've always thought of crypto as some complicated black box! How does it work, but then I did the cryptopals challenge and learned to exploit cryptography. What to do with this new found knowledge? Write new libraries and ransomware of course! So I present two projects that taught me a lot!
Pydhe, possibly the first(!!!) Open source diffie Hellman library for python. (Yea I know openssl, but they don't let you do diffie hellman without TLS. I do!) https://github.com/deadPix3l/pyDHE
And Cryptsky! One of the first ever fully python, opensource ransomware! (Again caveat, most open source python ransomware isn't truely licensed as OSS or uses some lower functions written in C)
https://github.com/deadPix3l/... -
I'm in kind of a clutch between learning Ruby or Python.
I did some stuff with Ruby (Hello World, a little RoR) but I like it a lot ao far.
However, support for it isn't that big (packages, tooling, etc) as for Python :/
Which one to pick?2 -
Good cloud based IDE's for Java, Python and C# - any suggestions?
Should I place my braces after the method header or under it?
1.
public void test(){
}
2.
public void test()
{
}
Or is it just personal preference?16 -
C++ or Python for coding interviews?
I used to do a lot of developments in Python and JS/TS. But now I have been doing a lot of back-end stuff in Golang at work (1+ year) and C++ for some of my side projects. So when I started grinding leetcode, I used C++ all the way.
Today this question struck me and I keep thinking if I should continue with C++ or use Python, which will help me focus more on the question than the language.5 -
Anyone know of any GPU accelerated Machine Learning libraries that DON'T need Python, something maybe using C/C++, C# or Java?12
-
I just wasted a good half hour trying to figure out why my Python dictionary was in alphabetical order.
I’ve had issues with dictionary order before with 3.5, but that was more or less Python just wanting to put shit in the order IT wants, not alphabetical. And I haven’t had that in months, not since updating to 3.6.
Long story short, VS Code has decided to show me my dictionaries in alphabetical order when I hover over them while stepping code. If I do a print statement, it shows the dictionary in the correct order.
Seriously, you don’t need to do me any favors here.
Oh, the adventures I have with Visual Studio when Python is involved...3 -
Dart is interesting. Had fun learning that language eventhough it's not as famous as other languages like js or python.
-
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 -
should i add to an existing horrible node js program with dependencies that are marked unsafe or no longer supported, or port to a nice shiny c# or python app that will probably be much easier to support and extend and organize ?2
-
Q: Is there a software which can record my keystrokes and clicks and then translate that into a Power shell or Python or any script?6
-
A command line tool built in Python that helps you analyse your git logs by exporting them into a csv/json file.
Can fetch the logs from a given file path or a git directory.
https://github.com/dev-prakhar/...3 -
Django vs laravel for restful api ? Or any other framework ?
With a lot of req per sec
I'm so comfortable with laravel but don't mind using Python
Tnx <35 -
!Rant, rather a small question.
Few weeks back I have provided Python lectures to my teammates and they were so happy that my manager raised my name for one of the major python resource (though my core work is CMDB, just to ease my work I have learnt Python).
Today I came to know I have been SPOC from offshore liable for entire integration team in JAVA. I don't have much knowledge in JAVA and without asking me they gave me. I'm confused what to do? (Write a mail and say No or simply accept this new challenge) :(16 -
https://youtu.be/uPVUewM3YZw
This is my first video for python tutorial. It kind of look bad and took me 10 days to decided to upload or not. But I uploaded anyway. Please everyone whosoever watch give feedback for improvement.5 -
Can anyone suggest what should a 16 year old python programmer from India should do. I think ml and deep learning or hot right now so I am learning those. Any suggestions, thanx in advanced 😊4
-
What programming language is looking to become the "next Python" or something. I've heard of plenty of new languages, but which of them are actually going become significant, a.k.a "worth picking up as a secondary language".13
-
AppEngine: Java, Python or Go? Personally I prefer Python because I haven't gotten into Go, and Java is a headache at times..
-
I am real tired of learning new stuff every day to keep up with technology I just wish someone invent some sort of pill, so when angular js, 3.0 released or vuejs or python or ruby or any new discovery , we just go buy a pill drink it and get smart, sorry if I offended you that how dum i am and that's how I feel lmao3
-
Maybe our old buildsystem that runs using mock and an python 2 script on a RHEL 6 machine OR
The incredible complex system of a gouvernment customer that had a networkplan on DIN A2(or A1 i don't know it anymore) since A3 was too small. i was responsible because everyone else left (because of different reasons) or was too busy. -
Persuade me on my next language. Right now I use python. Debating between JavaScript, Go, or C/C++. You'll get a ++bomb prize for responses that are detailed and include good resources for learning. Commence!7
-
i’m considering learning back-end, what do you people think, where should i start? javascript + node.js or python? which would be more useful or versatile especially for web apps? thanks in advance.12
-
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 break.
-
Been going on some interviews recently and realized I'm not the best at interview style coding challenges. I was wondering if there's a good app/website with coding challenges to solve, or even a game? Preferably using JavaScript or Python.2
-
So in PEP 594 of Python, some standard library modules are getting deprecated. Sorry for anyone who still uses aifc or crypt.
-
I know python well but still I want to dive deeper into it, any suggestion for a good intermediate or professional level course?1
-
!Rant
So... In the mood for a new lang...
Mainly Java developer but have done Scala, Python lately and a bunch in the past (C, PHP, little js, HTML5).
Thinking of .Net or node js ATM...
I'd welcome any ideas :)3 -
1. More App-Development
2. Get more Clients
3. Learn something like Python or Kotlin
4. Bake a cake 🔥4 -
Fuck those weird encoding issues with Python! I've read the HowTo Unicode 10 or 20 times and I still got those 'ordinal not in range error'!!!2
-
Most people who talk about language performance are just repeating what they heard from others.
For 98% of use cases, Python or Ruby, for example, are more than fine for running production systems at scale.
Also, a language does not necessarily guarantee speed/performance if you write shit code.
I've seen a properly written Python application perform better than a Java application.
I'd love to stop having this debate with folks every time.12 -
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
-
Hi,
I'm c# programmer for many years and I did everything I liked with c#. Like windows applications, web applications and etc. And because of core framework I can install web apps even on linux.
I know difference between c# and python.
My question is, Do I really need to learn python? Or I can continue with c#14 -
Would somebody be willing to get on skype or something and explain Stripe Connect (Python Apk, preferably) to me. Not understanding how to implement it is destroying my willpower.
-
Is it just me or is python community's dependency management a bit unreliable?
I just can't seem to easily install any python programs without missing dependencies. Updates have caused libraries to become incompatible, which in turn causes the application that used to work to just produce a stack trace.
Is this the state of python or am I doing something wrong.3 -
If you're a web developer OR python developer, what are the top 3 concepts you should understand like the back of your hand?10
-
I'm learning python and I feel more and more like it!
I either have too much space, or not enough. And this is screwing my chance to pick up tabs... -
shower thought : if i made a compiler for my own programming language and it compiles to python. would it be a python dialect or a new programming language?5
-
I'm currently a java developer. I've dabbled in python too. Mostly worked on API development and some data processing. I want to learn something new, that'll keep me engaged. It can be something within java (like image processing or NLP) or some other language (Go, scala, js). What do you all suggest?6
-
I want/need to learn a new language for web backend development.
I have seen Go but everyone is saying it's bad and I shouldn't learn it. What do you think? Should I learn Go or Python? Or maybe some other language?12 -
Is there already a terminal client or cli interface for devRant? Python or otherwise, doesn't matter. 😍2
-
My tech lead rookie mistake of the week. Makes ids in the MySql DB big integers.
Now react, python and pinecone are all converting them to scientific values resulting into invalid or missing values and lookups.
Fml I need to change companies.12 -
almost everything work related. especially filtering a csv export file with a python executable to open a word serial letter to open a email for some entries with vba. or writing a js object file with vba from an excel 'database'. my proudness is ambivalent.
-
making a self driving go kart controlled with a rpi, should i use python, java, dart, or something else? python seems like the obvious choice.
i plan on making it have google maps integrated, with netflix and music player, with a touchscreen.
i was thinking c++, but a gui with c++ didn't seem ideal.
what would you use?
also is an rpi too slow to make the go kart be *relatively* safe?question dart golang python testing fuck fuck fuck fuck fuck fuck fuck fuck fuck rpi java opencl raspberry pi self driving3 -
What programming language do you guys recommend to learn?
Currently, I know Java, PHP and JS but I want to try something else...
I was thinking maybe C, C++ or C#, opinions? Also, many people seem to praise Python as the new god of programming languages which will solve all of our problems, but until now I ran into nothing but problems really with literally every python-application I have used (mostly incompatibility between certain packages which actually were the required version, I found it very annoying to fix every time). Is that just me or does that happen more often?16 -
Here can someone help me to guid become software architect. I work as lead in backend. My learning in spring boot , Python Flask and Djngo seems stagnated from a year or more. Want to go beyond but don’t know how.2
-
Fuck javascript, been on this firestore cloud function since yesterday , i have been get some stupid errors like expected catch or return promise/catch or return , used some stackoverflow answers still not working. Uugggh really wished cloud firestore used a better language like python,..what more do u expect from a language created in 7 days..shitty js
-
My dear developers I would really appreciate if you could recommend me technology for diving into web development. I am thinking about django/python or laravel/php but I am not sure.
I know it is opinion based question but I need your help to decide..9 -
I know Python but never done web-development and needed it for one or two project. The requirement is some data-api and graph. There is flask and django but I'm not sure how should I proceed. ????11
-
Am learning python programming; any pointer to exercises, challenges or projects i can use for practice.4
-
!rant (am I doing this right?)
I want to dive into Python, but I read that python 2 won't be maintained by 2020. Should I pickup Python 3 or work with Python 2?
Slight background notice: I am a developer right now. I swap between Java and Javascript for most of my job. I'm familiar with the fundamentals of programming and am just looking for a language to automate some tasks or just explore. Python looks lightweight and open to a lot of potential projects, like AI (which I guarantee will take a while for me to grasp).5 -
Do you Python or JavaScript for a newbie on the current requirement who has prior knowledge on c++.3
-
Fuck, why is every mildly interesting Algo trading backtesting python package broken or killed off :(4
-
Drop some cool python automation ideas. Or projects that’s you worked on. If you feel like sharing of course.1
-
After python should i learn java, like, is it worth it????? or should i directly go into the c family????12
-
Whenever someone asks me if I am afraid of snakes, I get confused if he is talking about reptiles or Python.2
-
Every once in a while I am fiddling with javascript or springboot.
To remind me the reasons why I have switched to Python.1 -
Programmers in python are few in my opinion I wonder this because of the lack of courses in French or the complexity of the language ? 🤔6
-
Dear C++ / Java developers.
Please do not write Python, or do utilize helper libraries / pythonisms.
Not EVERYTHING has to be done by hand, it's not CS class anymore. Classes are fine too, not everything has to be passed as comma separated string. Python is proper Object-Oriented language, not scripting tool like Bash.4 -
First of all, I need you to forgive me for what I'm doing to do...
So, for webdev, Ruby or Python?
Opinions, thoughts, tips, are all welcome.
- I know these kind of choose A or B questions make me a horrible person, but what can I do. ¯\_(ツ)_/¯ -5 -
I'm wanting to basically make a program or collection or scripts to automate all the boring parts of my life (cause I'm a lazy shit basically)
Any idea on what would be the best language to do this. I'm thinking python tbh. The end goal is going to be bills being payed ( I will out money manually into a PayPal account or something for this) and shopping being ordered to my house. Like I said I'm thinking python but wondering if there is anything better. I'm gonna end up having a computer or something set up just for theses scripts as will then extend into home automation or whatever I think looks fun. As the best way to learn is to try and making something fun2 -
More like :
For number in range(5){
Your code
}
Or
For number in range(5)
{
Your code
}
( I know that in python for is not use with { that was just for the exemple )4 -
# rails manage.py runserver
Usage: ...
# python run server
/use/local/opt/python/bin/python2.7: can't find '__main__' module in 'run'
# npm server
Usage: npm <command> ...
# webpack s[TAB]
...
# [TAB]
...
# ./just_fckn_run_pls.sh
zsh: no such file or directory: ./just_fckn_run_pls.sh
# DO IT
zsh: correct DO to do [nyae]? n
zsh: command not found: DO
# exit
Thank you. Come again!
-- Dr. API Nahasapeemapetilon
============= Broken Pipe =============
10 GOTO PUB -
Programming myself a telegram bot called SELENA using Python.
#Height of loneliness .
PS:It would be really nice if someone could help me with this by guiding me or sharing their code examples1 -
Can anyone suggest me a 101 article of libevent and how to use it in PHP. I have no knowledge of C but can understand in PHP or Python context.
Thanks -
As a self-thought python dev I feel like my code isn't very effective.
Using Atom with a python plugin I get pep-recommendations but Im thinking more program-flow and other things that a good book,l or a course would provide.
I like videos like on youtube but im never sure if they really know what theyre talking about or if theyre just spewing out tutorials for ads or whatever.
Does anyone have recommendations on material thatll help out -- and doesnt treat you like a fresh beginner with no experience?1 -
Informal python poll:
Do you put your __init__ functions at the top or bottom of your classes?
AKA:
class myClass:
def mymethod(self, arg):
pass
def __init__(self):
pass
or...
class myClass:
def __init__(self):
pass
def mymethod(self, arg):
pass5 -
Any automation engineers that use selenium + Python have any good suggestions on testing, resources or advice?2
-
I have this weird problem when I try to call a shell command with python. I'm trying make a path o linux with forward slashes but once the string gets built it either has no forward slashes or too many or non-uniform slashes across the whole path. This is so frustrating. Eventually the path doesn't get recognized at all.
-
How do i make a telegram bot using python which would reply my contacts or people or tell them if i am busy or not in place of me? I am beginner in python and i don't know how to start this .
-
figured out why i'm at home with machine code or Python but can't for the life of me do something in the middle like C: if i'm forced to use pointers, but can't manually pick an address something's made at, my mind can't deal with it.8
-
Which is needed more, resolution(1080p/1440p) or refresh rate(60-144hz) for a 27-inch flat monitor? My purpose is web development (Python, JavaScript).12
-
Which programming, scripting language do yall prefer when you want to make websites or web applications? Everywhere i hear random shit from Html to python..10
-
Python again
So if I use json.dumps or jsonpickle with request.post(json=json.dumps())
OR
request.post(json=jsonpickle.encode)
Body is received cannot be understood by the service (NodeJs)
BUT
if I do: myObject.__dict__
all is good O_O
Can anyone please explain to the noob me why that happened? -
One of our partners sent me a Key Injection Tool to inject encryption keys into a PINPAD with. Looks like they were short on developers and had to hire Python typists who have made a mess of a simple AES encryption/decryption. When do these companies learn that writing a security related software in Python is not really secure? I had to read the rubbish in Python and read it from scratch in C++ to get it to work, and am now contemplating whether to provide that company with my version of their Key Injection Tool or not...2
-
I'm looking for a new side project.. I want to write in Python or React, haven't used those languages before but want to learn them by doing something more or less useful :D
Do you have any cool ideas? Thanks a lot!2 -
Which language should I learn first? I have been trying to learn js and sorta have some basic stuff down like how to store and reference variables and how to display outputs, but aside from that I don’t really know much else. I was wondering if I should continue with js or switch to python or c#, my classmates have been talking about python being the future so idk.15
-
Why is Lua such a pain to install? Like seriously there are so many hoops to jump through, why can't it be like java or python? -_-3
-
I've worked with SWIFT for a good amount of time. I can't say that I'm a great developer in the language or any language for that matter but I think I should learn PYTHON first. What do you guys think?
-
Does anyone knows why on my vs2015 community there's cl.exe or vsvarsall.bat? I already installed C++ and Python language
-
Hlo frnds...anybody please tell me which language scope is very high nowadays java or python? Which is best?10
-
i hate it when Im coding and my friends joke around and call me a hacker or nerd when they couldn't even print anything if i told them how to do it plus its not hacking if you believe its hacking when im typing code on python or c# online then you need to go back to school6
-
!rant && needAdvice
I want to start learning python..
My question now is: Should I go with Python 2 or 3? I heard there are some rather major differences6 -
Help. Has Python changed in version 3.6.5, or is there something wrong with my code?!
The following doesn't work:
import os
def main():
console = input("...")
rom = input("...")
The following does work:
import os
console = input("...")
rom = input("...")
def main() :12 -
Hi everyone i was not on cause i was busy making mod menus on scratch LOL i decided no more and cut off the scratch for a bit and learn some python on scrimba maybe make a print spammer or some text adventure quest game or try making a website game with python, these ideas poped up in my head :) just had some weird ideas of learning it
cause why not? its easy you can probably build bots with it or troll your friends on discrod. -
I have a billion projects that i want to host online. Does anyone have a good tutorial for hosting python projects, flask based web-apps, and just simple websites using aws or some other hosting service?2
-
Angular w/ Python or React w/ python. what why and how? I feel the web is full easy tutorials directing us to mainstream coding. I love angular 4 directory structure but react has more modules on git. help!1