python | Unsorted

Telegram-канал python - Python

135201

You will be muted until you read the rules. Read them! @Rules_for_Python A group about the Python programming language. Offtopic things go here: @pythonofftopic Resources to learn python: @pythonres Group for Hy: @hylang Selenium: @SeleniumPython

Subscribe to a channel

Python

Never tried, good luck

Читать полностью…

Python

I guess you can write nicely to the owner

Читать полностью…

Python

I have a question related to pypi. Planning to publish a package for example "cuteninja" and cuteninja is already taken up on pypi by a useless dummy package. Is there any way to claim this package name on pypi or I need to switch to some other name?

Читать полностью…

Python

Are there any beginner/newbie -> advance roadmap guide to learn python

Читать полностью…

Python

It seems to be a python package installer like pip but with advanced security scan befor install

Читать полностью…

Python

Fo you guys use sentro?

Читать полностью…

Python

razorblade23
!report

what have i done

Читать полностью…

Python

i've wrote a python userbot on telethon

Читать полностью…

Python

Are there EBooks for Python (for total beginners?)
With not to much description but mini projects? To understand better

Because most ebooks have too much info describing story of python with not focusing on real small projects..

Читать полностью…

Python

I'm glad you proved me wrong.

Читать полностью…

Python

That exam I was "cheating" must be so long😂

Читать полностью…

Python

Yes. You cannot get output of a void function without using globals. By using using globals you make the code complicated. After calling the void function, you need to know the name of the global variable to access the result. You need to assign it to other variables if you reuse the void function. With functions that return values, everything appears to be cleaner and reusable.

Читать полностью…

Python

Teach me your ways master😂

Читать полностью…

Python

I am already in a rabbit hole trying to learn what prompt is python 😂

Читать полностью…

Python

def add(x, y):
global result_add
result_add = x + y


def get_input(prompt):
global result_input
result_input = int(input(prompt))


get_input("x")
x = result_input

get_input("y")
y = result_input

add(x, y)
print(result_add)

Читать полностью…

Python

Git account connected to that package is dead. I thought there's some way to do it directly with PyPi team.

Читать полностью…

Python

That's not the actual package name its actually just 4 letters so I checked pypi and the package there was published in 2011 and it's just a dummy. I thought there's some way😢

Читать полностью…

Python

https://roadmap.sh/python

Читать полностью…

Python

It seems? So you are not sure? Any link?

Читать полностью…

Python

What's sentro and how it is related to python?

Читать полностью…

Python

cool, but don't use it here without purpose

Читать полностью…

Python

Rules in our groups are strictly enforced. It is strongly recommended to read our rules before engaging in any other activity!

Читать полностью…

Python

Check out @PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.

Читать полностью…

Python

That's for the off-topic group. But yes, I remember. What I said. Not you. I don't remember people unless they stay a while.

Читать полностью…

Python

Yes. I learned that now.
It was just an interesting thought I had.
If I am getting the same output, what makes them different?
Now I know.
Thank you for working with me.
If I have any other question, I'd know better than to tag you😂

Читать полностью…

Python

And what you did not know yet is that global variables pollute the global scope. You can assign values to it as well, not only read from them. It can get very confusing quickly.

Читать полностью…

Python

12 lines of complicated code vs just 8 lines of clear code

Читать полностью…

Python

The text to display to the user.

Читать полностью…

Python

How does it compare to this one?

def add(x, y):
return x + y


def get_input(prompt):
return int(input(f"Enter value for {prompt}: "))


x = get_input("x")
y = get_input("y")
result = add(x, y)
print(result)

Читать полностью…

Python

It's just a variable.
I had to make a problem to solve or else they'd be no end point.

Читать полностью…
Subscribe to a channel