#voice-chat-text-0

1 messages Β· Page 580 of 1

paper wolf
#

you can also use the one gnome use, forgot the name...

#

welll tbh most file explorer have previews on most file type

thick cradle
#

it doesnt show me previiew for screenshots

paper wolf
#

you can reenable it on the settings.....

calm ginkgo
#

!e

def f(list_of_blocks):
    output = []
    index = 0

    for block in list_of_blocks:
        block_len = [0] * len(block)
        output.append(block_len)

    for block_index, block in enumerate(output):
        for element_index, element in enumerate(block):
            output[block_index][element_index] = index
            index += 1

    return output


print(f([[0, 1, 4], [2, 3]]))
print(f([[0, 1], [2, 3]]))
print(f([[0, 1, 2, 3, 4]]))
print(f([[0, 4], [1, 2, 3]]))
wise cargoBOT
cinder vale
#

thank you for your explaination

thin river
#

@tiny ingot

#

@tiny ingot Explain Wallet Technologies in Bitcoin

tiny ingot
#

idk nothing about bitcoin

thin river
#

Okay bye mo

paper wolf
somber heath
#

@vale pasture πŸ‘‹

vale pasture
#

@somber heath i cant talk bruda

#

its got me muted for new i think

somber heath
vale pasture
#

add me

#

i aint met em yet

#

bruh

#

just tryna learn n ask questions

#

im just new

#

to py

somber heath
#

!beginner

wise cargoBOT
#
Go-to beginner resources

Here are the top free resources we recommend for people who are new to programming:

For a full, curated list of educational resources we recommend, please see our resources page!

vale pasture
#

i know a little bit

#

im up to the point of functions

#

yeah fs

#

yeah

#

i understand

#

well ive learned data types, loops, booleans, lists, dictionaries

#

just covered basics

#

im just tryna understand problem solving better

#

yeah

#

indeed

#

thing is this for me

#

i get what stuff does, and how it works, i just have a hard time put them into solving a problem

#

yeah basics tho bruda

#

feel like need so much more

#

u think python is good to stick to like for always

#

or other programming languages

#

which is used to stuff like html

timid spire
#

java -> enterprise software

vale pasture
#

oh

#

what u do as a backend developer

#

u sound mad experienced

#

hmm

#

still tho

#

hmm

#

alright well ill catch u bruda

#

appreciate it

somber heath
#

@latent jay πŸ‘‹

tiny ingot
#

i am on control flow and iterables now

patent chasm
somber heath
#

@ruby ibex @proper nest πŸ‘‹

proper nest
#

why the hell do i have to talk for over an hour to speak in vc

#

😭

#

dawg that makes 0 sense why even give me chat perms then

tiny ingot
#

the compiler lady?

ruby ibex
#

@somber heath πŸ‘‹

tiny ingot
#

grace hopper was in 40s-50s

somber heath
#

@sharp jolt πŸ‘‹

sharp jolt
#

understandable

#

I got this, ty

#

or.. not, I failed the verification lol

primal lion
#

Hello

sharp jolt
#

my face?

patent chasm
#

its a joke about real id requirements

sharp jolt
#

oh ok

somber heath
#

@topaz iron πŸ‘‹

sharp jolt
#

You don't need to be American, right?
Sorry if I speak your language badly, I'm still learning.

#

oh, I undenstand, 1 hour and 30 minutes eh? well

#

Do you recommend Python as a first programming language?

#

Lua is Brazilian, right?
Is his language also English?

thin river
#

@patent chasm init mate ,u know balls

#

Venomous need to bite us ,and poisonous spreads using other methods

patent chasm
thin river
#

gtg

patent chasm
#
def main():
    # Your logic goes here
    print("Hello from the main function!")
    greet("Explorer")

def greet(name):
    print(f"Glad to have you here, {name}.")

if __name__ == "__main__":
    main()```
#
def greet(name):
    print(f"Glad to have you here, {name}.")``` << this is a fstring
#

Uvicorn

somber heath
#

@half violet πŸ‘‹

thin river
#

Why are you singing @tiny ingot

tiny ingot
#

im not singing πŸ˜•

thin river
#

U sang earlier

#

@tiny ingot what language did you used earlier

tiny ingot
#

java lua some bash

thin river
#

Okay

somber heath
#

@slender sierra πŸ‘‹

slender sierra
#

Hello☺️

tiny ingot
#

writing a script for python projects

#

no more wasting time on mkdir and python -m venv

somber heath
#

@craggy sundial πŸ‘‹

craggy sundial
#

Hello πŸ‘‹πŸΌ @somber heath

royal dirge
#

You have not been active enough on the server yet. ^((

#

how can i get activities?

somber heath
#

Text messaging on the server.

#

@thick whale πŸ‘‹

tiny ingot
#

projects almost complete

#

would go back to learning after tea break

#

nah i was lazy

#

i did no programming in my freshers & sophomore year

#

its been last 16-18 months

#

oh you mean the project lemon_cowboy

#

yesssss

#

tbh i am not gonna use it

#

i'll be jumping straight on fastAPI in a 3-4 weeks

somber heath
#

@buoyant mural πŸ‘‹

#

@karmic yarrow πŸ‘‹

tiny ingot
#

its middle of the day for 4-5 billion people

#

guten nacht amigo

buoyant mural
#

@somber heath Gtg

#

Cya

somber heath
#

@lucid pine πŸ‘‹

lucid pine
#

@somber heath

#

ye

#

Why am I here?

#

Dunno

#

I am very begginner

somber heath
#

!beginner

wise cargoBOT
#
Go-to beginner resources

Here are the top free resources we recommend for people who are new to programming:

For a full, curated list of educational resources we recommend, please see our resources page!

tiny ingot
#

is there any practising resource ?

somber heath
lucid pine
#

The best i know is

for i in range(0,200):
  print("hi")
tiny ingot
#

leetcode ?

lucid pine
#
for i in range(200):
  print("hi")
somber heath
#
value = 123```
lucid pine
#

Do you use the windows powershell python?

tiny ingot
#

ms is shyt

#

they touch anything

#

they make it shytt

#

take github for example

#

comic sans is prolly the only good thing

#

which came from microsoft

somber heath
#

@plucky elm πŸ‘‹

tiny ingot
#

i quit 2 months ago

#

did couple like 4-5 days ago

#

smell, health, money etc

#

it was my social addiction

#

i was 10x more social when i used to smoke

#

and now i am 10x more productive programmer

somber heath
#

@dreamy robin πŸ‘‹

tiny ingot
#

i have got some physical health issues tbh

somber heath
tiny ingot
#

i need to workout, i have lockedin too much

#

gym sub would be the first thing

#

after getting a job

#

i know i used to run

somber heath
#

@fading matrix πŸ‘‹

tiny ingot
#

but its just gym would be something i could start slowly, seeing all those people - there aren't many running in cities tbh. if i am healthy, moving for a little while - i will go back to my running routine.

#

i am 22. i don't have a credit card -

#

credit card is more of a western thing

#

i am not going back to smoking

#

mobile banking is way to go

#

on the spot, you control it not the cashier/waiter.

dreamy robin
#

So I'm graduating next week. One of the subjects is informatics, one part is theory the other is programming. I have all the 30 programs in their (nominally) final form ready in a folder (subdivided into an archive and an experiments folder)... they weren't written by me tho, they were coded by a classmate... so now my goal would be actually understanding each of those programs.

tiny ingot
#

centralised banking

#

get "a caring friend" on youtube in background

#

start reading those programs one by one

dreamy robin
#

Everything was coded during the lessons

#

I'm not the odd-one-out the system is like that

somber heath
#

@tawny light πŸ‘‹

dreamy robin
#

Programming is really interesting to me and I'd like to have it be part of my life.

#

Unfortunately a very large chunk of our time on the lessons was spent with python turtle and tkinter

#

Not actual python syntax

#

The funny thing is most resources to me seem like it's either hello world or smth outlandishly complicated

fading matrix
#

I am not able to on my mic...!

dreamy robin
#

I mean yea

dreamy robin
#

It is good for absolute beginners and that's it

#

What if I want to become intermediate

fading matrix
#

I tried to verify but it said you are less than 3 days active and more...

dreamy robin
#

That's the thing

#

I don't even know what a coding project is like

fading matrix
dreamy robin
#

I made a GitHub account some time ago but made the mistake of not writing down or saving my password

somber heath
#

!source

wise cargoBOT
dreamy robin
#

Actually maybe it's saved

#

Lol

#

Gtg

fading matrix
#

Any beginners here?

tiny ingot
#

almost everyone

somber heath
upper spear
dreamy robin
#

I will return in like an hour btw

#

Wait for me opalmist I like your personality

fading matrix
#

We can learn and grow together, make projects and learn to coordinate

dreamy robin
#

That's the spirit!

tiny ingot
#

dad jokes in corporate

fading matrix
#

I really wanted to talk to you guys but not able to access the mic, I will try later to verify then we'll be able to discuss our progress

dreamy robin
#

You need to have 1 hour and 30 minutes of text channel activity (and have been in the server for at least 3 days)

fading matrix
#

Okay thanks for the info, I am new here. I don't use social media much but I think now I'll have to learn discord, x, GitHub, linkedin πŸ˜…

tiny ingot
#

a: i want to talk
b : we need perms
a : how do i verify
a : i don't know
a : how would i
a : lets
a : see

this is exactly how you do itπŸ˜…

tiny ingot
#

i might have to install excel on my cousins windows machine in 5 minutes. be back in an hour with tea. @somber heath

somber heath
#

@ornate roost πŸ‘‹

dreamy robin
#

Hello

#

I'm wondering what sort of musical thing I could program (cause I'm a musician)

#

Either score or MIDI is fine for me I'm comfortable with both

somber heath
#

!pypi music21

wise cargoBOT
#

A Toolkit for Computer-Aided Musical Analysis and Computational Musicology.

Released on <t:1760260659:D>.

somber heath
#

MuseScore Studio (branded as MuseScore before 2024) is a free and open-source music notation program for Windows, macOS, and Linux under the Muse Group, which owns the associated online score-sharing platform MuseScore.com and a freemium mobile score viewer and playback app.

dreamy robin
#

Okay yea MuseScore is really cool (on paper)

somber heath
#

I used to have access to Sibelius which is even better.

peak depot
#

Jean Sibelius, google it Oppa

somber heath
#

@silver canyon πŸ‘‹

dreamy robin
#

Piano doesn't sing??

#

Piano absolutely sings. What doesn't sing is stuff like bass guitar.

somber heath
#

@worldly carbon πŸ‘‹

dreamy robin
#

Ahoy Avoy

#

Btw @somber heath

#

When you said "Do you think you deserve to graduate like that?"

#

I was internally just like "Excuse me??" like XD

#

Like it's all good

#

Well technically it wasn't the classmate that wrote it

#

The teacher did but also on the lessons we improved and changed it

#

No it's really fine

#

You said nothing wrong it's just my fragile ego

short owl
#

heyyyyyyy

somber heath
#

@velvet cloud πŸ‘‹

short owl
#

first coffee .... feel like ............. x

#

waking up ---- first coffee---- feeling like .....

somber heath
#

@latent jay πŸ‘‹

latent jay
#

βœ‹

short owl
#

fuzzy brain in morning until coffee is taken

latent jay
#

hello good evening everyone. "Simpler is better than complex" -Tim Peter

short owl
#

Arrakis has spice -- Earth has coffee

somber heath
#

@cursive minnow πŸ‘‹

short owl
#

grumpy grumpuss

somber heath
#

@midnight loom πŸ‘‹

midnight loom
#

Gi

oak silo
#

i blew ass

midnight loom
#

Anyone coded minecraft client full with python

short owl
#

cats begging for nuggys im sure

somber heath
latent jay
#

I love the cat

amber raptor
midnight loom
oak silo
#

create a discord server then promote me

midnight loom
somber heath
#

@marsh bridge πŸ‘‹

latent jay
#

I'm done with my project. A simple .csv script stuff

short owl
#

purrrrrfect @oak silo

latent jay
#

Gosling vs. Rossum hahaha.

midnight loom
#

Is that possible to code minecraft using python

#

?

latent jay
short owl
#

wow I want to know more about the politics of AI use @flint hill

amber raptor
midnight loom
amber raptor
midnight loom
latent jay
short owl
#

AI has no introspection ? @flint hill

midnight loom
latent jay
midnight loom
#

Is C# used to make game ?

latent jay
midnight loom
#

πŸ€”

latent jay
midnight loom
amber raptor
latent jay
midnight loom
#

And what is c++

latent jay
#

but as of now I am interested in python for back end

midnight loom
#

No difference or not

midnight loom
dreamy robin
#

"What is backend"

short owl
#

duct tape code , gonna use that line @amber raptor

latent jay
sullen bone
#

Yoo

midnight loom
midnight loom
sullen bone
#

Why I can't talk

midnight loom
latent jay
sullen bone
#

Voice verifier says not enough active on server yet

short owl
#

so... will there be a backlash in the future with AI , human coders will have to go back in to fix shit code all over the place @amber raptor

midnight loom
#

What about making an app for chatting like WhatsApp

latent jay
sullen bone
dreamy robin
#

Very original

midnight loom
sullen bone
#

The messenger app for coder like us

#

Unfortunately I'm just a beginner in python

#

😭

#

So I can't help you

midnight loom
#

Iam beginner in coding that's why i want anyone help me to make a messenger app

latent jay
midnight loom
sullen bone
#

🀣

midnight loom
sullen bone
midnight loom
sullen bone
midnight loom
sullen bone
midnight loom
latent jay
#

I'm from philippines

sullen bone
sullen bone
#

A beautiful country

latent jay
midnight loom
#

Hmm

tiny ingot
#

stream some python

midnight loom
sullen bone
midnight loom
#

I messaged in dm

midnight loom
sullen bone
midnight loom
sullen bone
midnight loom
short owl
#

manufacturing automation @dry jasper

dry jasper
candid spire
#

What's going on?

#

Explosive 🧨

short owl
#

hmmmm potential career advancement for security sensitive stuff - great potential @gentle flint

short owl
#

if you have potential of being blackmailed @gentle flint

#

a weak spot is - money , gambling , drugs , women ...... men

#

big boats , fast cars

#

security question - do you prefer cats or dogs -- just funny @gentle flint

vale pasture
#

where r the resources for learning pyton

short owl
#

all over the internet

peak depot
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

vale pasture
#

i meant in here bruda

vale pasture
gentle flint
peak depot
#

maybe

gentle flint
#

jΓ€vla finska spioner

peak depot
#

hiton hurri πŸ˜„

short owl
#

meowy wowy @peak depot

gentle flint
#

jk

candid spire
#

!rule 4

wise cargoBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

gentle flint
candid spire
# gentle flint

Yet I abide by rules. I expect smart folks like you all to abide rules more than me πŸ˜„

gentle flint
#

This was a brief joke between two friends. Why do you think it's your business? I'm not on top of you telling you what to do if you do something I don't agree with.
A backseat moderation rule would be really nice tbh.

#

And putting smiley faces in rude comments doesn't make them less rude.

candid spire
gentle flint
#

is that so very awful?

#

were people being actively disadvantaged by it?

candid spire
candid spire
gentle flint
#

The point of the english chat rule as I understand it is to avoid extensive discussions which nobody can follow.
This hardly falls under that. Therefore, obsessively chasing down every single use of any non-English words seems to me overly zealous and completely unnecessary.

gentle flint
#

"are you spying on us?"

#

"maybe"

#

that's not the opening for a serious debate about programming

candid spire
#

Hmm

#

Nvm, let's end the discussion

gentle flint
#

Fine by me

wet pelican
#

Yo

lost aurora
#

@somber heath remember me?

lost aurora
#

damn

somber heath
#

@violet storm πŸ‘‹

violet storm
#

@somber heath freedom of illusion

#

That’s not true @deft finch u can be gay and racist at the same time

somber heath
#

@buoyant dove πŸ‘‹

buoyant dove
#

Ig I don't have the permission to speak lol

violet storm
somber heath
buoyant dove
#

I am but I haven't been active for 1 hr 30 mins

violet storm
buoyant dove
#

Its good until the gnocide is on some particular type of people

violet storm
#

@somber heath @deft finch people are desensitize and can’t empathize since they never knew war

#

@somber heath what do you disagree with

paper wolf
#

@ashen venture share it

#

i hope i pinged the correct person

#

theres a whole lots of people named pingu here

ashen venture
#

pint("Hello, World!")

paper wolf
#

whats that

ashen venture
#

this is my code that is not working

paper wolf
#

what its showing you

ashen venture
#

a error

paper wolf
#

lets move on code/help voice

paper wolf
ashen venture
#

pint("Hello, World!")

paper wolf
#

it would say more thanjust Error

#

@somber heath i want them to read the error message

#

!e pint("meh")

wise cargoBOT
# paper wolf !e pint("meh")

:x: Your 3.14 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     pint("meh")
004 |     ^^^^
005 | NameError: name 'pint' is not defined. Did you mean: 'print'?
paper wolf
#

read the message ^^^ @ashen venture

#

its saying whats wrong, and what it thinks how you can fix it

#

@ashen venture ur audio, kindly fix it

paper wolf
#

birbs are nice

#

i mean normally they're mean...

#

the long-tailed tit is something else

somber heath
#

@empty hawk πŸ‘‹

paper wolf
#

oh here comes kid

somber heath
tiny ingot
#

morning

#

codeberg gitlab bitbucket

#

codeberg is pretty good n fast

#

i believe linux n other popular repos on github

#

which do not like MS at all have their repo mirrors
on different VCS too

#

i use github because of its education programme @somber heath

#

its pretty good tbh

somber heath
#

@topaz harbor πŸ‘‹

topaz harbor
#

What are u guys discussing buddy?

somber heath
#

Which is why I feel that Github is, itself, dangerous to rely upon.

#

Microsoft owns github. Linux development uses Github heavily. Windows being in direct competition with Linux. That's not a conflict of interest at all, now, is it?

tiny ingot
#

also facebook. ive never used facebook.
cause meta will never allow me to create an account.

#

facebook marketplace

#

i am not giving up any real id

tiny ingot
#

i dont use any social media except whatsapp for family
n discord for programming family. ive got less problems with google and apple than microsoft and meta.

tiny ingot
#

there were some on facebook marketplace for 50-60 bucks

paper wolf
#

Facebook marketplace place is weird

candid spire
paper wolf
#

Other people find lots of gems on the rubbles of Facebook marketplace tho

tiny ingot
candid spire
paper wolf
somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

tiny ingot
#

idk if this big and 1080p is good idea or not

candid spire
dreamy robin
#
import tkinter as tk
import random

p=tk. Canvas(width=400, height=400)
p.pack()
r=0
b=0
c=0
rozmer=30
for j in range(16):
    for i in range(16):
        farba=f'#{r:02x}{b:02x}{c:02x}'
        p.create_rectangle(i*rozmer,j*rozmer,i*rozmer+rozmer,j*rozmer+rozmer,fill=farba,outline="")

        r=random.randint(0,255)
        b=random.randint(0,255)
        c=random.randint(0,255)
p.mainloop()
tiny ingot
#

there is this samsung one in 70-85 bucks for 24 & 27 inch

candid spire
tiny ingot
#

benq are pretty popular for coding monitors

candid spire
#

And it's super expensive for price

#

As you get specification in samsung for much lower cost

tiny ingot
#

this is 2k

candid spire
tiny ingot
#

what??

#

you chinese?

candid spire
candid spire
tiny ingot
#

ni hao ma

tiny ingot
candid spire
#

On the official website it's 70

somber heath
#

!e ```py
for i in range(5):
for j in range(10):
value = i, j

print(value)```

wise cargoBOT
tiny ingot
#

@somber heath you are right πŸ˜•

somber heath
#

!e py for i in range(5): for j in range(10): value = i, j print(value)

wise cargoBOT
tiny ingot
#

how about i get my grandpa for selfie πŸ˜†

somber heath
#

@ripe herald πŸ‘‹

tiny ingot
#

i'll tape his wrinkles

candid spire
#

And as far as I know small size more resolution means high ppi

somber heath
#

@visual atlas πŸ‘‹

candid spire
#

Chinese

lucid pine
#

Hello again @somber heath

candid spire
#

China is a country which got prosperity after many years of suffering, they avoid any form of war which can cause economic or political chaos.

The rise of China is inevitable, it's not aiming to be the superpower of the world, it's just that for its own growth china has to promote multi polar global order

dreamy robin
#
import tkinter as tk
import random

p=tk.Canvas(width=400, height=400)
p.pack()
rozmer=30
for j in range(16):
    for i in range(16):
        r = random.randint(0, 255)
        b = random.randint(0, 255)
        c = random.randint(0, 255)
        farba=f'#{r:02x}{b:02x}{c:02x}'
        p.create_rectangle(i*rozmer,j*rozmer,i*rozmer+rozmer,j*rozmer+rozmer,fill=farba,outline="")

p.mainloop()
candid spire
#

For me yes, as India won't be bullied by the USA.

Right now the USA dictates India on how it should buy oil and from whom.

lucid pine
#

310 ms

somber heath
#

!e py import random r, g, b = random.choices(range(256), k=3) print(r, g, b)

wise cargoBOT
candid spire
#

Wdym?

tiny ingot
#

idk

candid spire
#

I'm very optimistic that India can survive without oil, if we ever were in a situation without oil

lucid pine
#

!e

print("hi")
candid spire
#

Simply because we dominate the nuclear reactor technology

candid spire
#

Behind russia only

somber heath
#

!e py import random r, g, b = (random.randint(0, 255) for _ in range(3)) print(r, g, b)

wise cargoBOT
candid spire
# candid spire Ahead of USA

And also we got 1/4 all thorium reserve in world are in India, which we have to used to build both nuclear weapon and nuclear fuel for reactor @tiny ingot

lucid pine
#

CHINESE

#

blargh

tiny ingot
candid spire
somber heath
#

@blissful hinge πŸ‘‹

blissful hinge
#

@somber heath πŸ‘‹

#

what are you talking about guys

candid spire
tiny ingot
#
if __name__ == "__main__":
#

why do python have lot of these underscores
around variable, class and function etc ?

tiny ingot
#

so its just for naming convention?

somber heath
#

!if-name-main

wise cargoBOT
#
`if __name__ == "__main__"`

This is a convention for code that should run if the file is the main file of your program:

def main():
    ...

if __name__ == "__main__":
    main()

If the file is run directly, then the main() function will be run. If the file is imported, it will not run.

For more about why you would do this and how it works, see if __name__ == "__main__".

somber heath
#

!e ```py
class Foo:
pass

bar = Foo()
print(Foo)
print(bar)```

wise cargoBOT
tiny ingot
#

no

#

all collections are data structures?

#

lists tuples dicts sets etc

#

oh i see

somber heath
#

!e ```py
class Foo:
def bar(self):
print("Hello, world.")

baz = Foo()
baz.bar()```

wise cargoBOT
tiny ingot
#

i haven't

#

in python*

candid spire
somber heath
#
def foo():
    pass```
tiny ingot
#

what does pass do?

#

is it like continue in JS ?

candid spire
#

It's like a placeholder?

somber heath
#

!e ```py
def foo():
print("A")
print("B")
print("C")

foo()```

wise cargoBOT
somber heath
#

!e ```py
def foo():
print("A")
print("B")
print("C")

foo()
foo()
foo()```

wise cargoBOT
tiny ingot
#

i see

#

im mostly confused around params n args

somber heath
#

!e ```py
def foo(value):
print(value)

foo("Hello, world.")```

wise cargoBOT
tiny ingot
#
foo("Hello, world.")

"Hello, world." is argument ?

#

oh i see

#

so basically placeholders when calling a function is argument

#

and passing it when declaring a function is parameter ?

#

the actual value of "value" is argument

#

which is "Hello, world."

candid spire
somber heath
#

!e ```py
def foo(parameter):
print(parameter)

foo("argument")```

wise cargoBOT
tiny ingot
#

it does

somber heath
#

!e ```py
def foo():
pass

print(foo())```

wise cargoBOT
somber heath
#

!e ```py
def foo():
return "Hello, world."

print(foo())```

wise cargoBOT
paper wolf
#

!animation

#

Hmmm

somber heath
#

!print-return

wise cargoBOT
#
Print and return

Here's a handy animation demonstrating how print and return differ in behavior.

See also: /tag return

paper wolf
#

Ahh yes this one

somber heath
#

@tidal wedge πŸ‘‹

tidal wedge
#

oh

tiny ingot
#

!e

def foo():
    return "Hello, world."

print(type(foo()))
wise cargoBOT
tidal wedge
#

thx

somber heath
tidal wedge
#

ye i saw

candid spire
#

I mean right

tidal wedge
tiny ingot
#

!e

def foo():
    return "Hello, world."

isObj = foo()
print(type(isObj))
wise cargoBOT
tidal wedge
#

but ye my input is done

candid spire
somber heath
#

!pep8

wise cargoBOT
#
PEP 8

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:

tidal wedge
#

what's that

candid spire
#
tiny ingot
#

my bad. it'll take some time.

#

everything in python is object

candid spire
#

Is everything in python an object?

tidal wedge
#

all i know in python is how to make a simple calculator

#

no gui

#

here's the check list

#

pycalc checklist


  1. user dose a divide
    (done)

2 user dose addition
(done)

3 if user dose a power of oporation

4 user dose a minus

5 user dose a plus

6 do a modulo ("%" remainder after a division)

if line 17 is false then it skips line 18 but will do 19

end of checklist

#

yes

#

my spelling is not the best

#

thx

#

a friend helped me a lot since i'm new

tiny ingot
#

i'll get somethng to eat. brb

tidal wedge
#

k

tidal wedge
#

its 8:12am rn

#

any way talk is cheap show the code

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

tidal wedge
#

k

#

do i download the file and send it here?

#

k

paper wolf
# tidal wedge do i download the file and send it here?

Kindly learn to always use discord formatting especially code blocks like

```py
if __name__ == "__main__":
print("program is being run")
else:
print("program is being imported")
```
output:

if __name__ == "__main__":
    print("program is being run")
else:
    print("program is being imported")
#

Paste is fine

tidal wedge
paper wolf
#

Soo uh... What wrong with ur code?

candid spire
#

I don't think he can hear you!

#

He ain't in VC

somber heath
#

@woven jasper πŸ‘‹

candid spire
#

Not really

#

He was not in VC way before

#

Yes

woven jasper
candid spire
#

He is just using text chat

violet storm
#

@somber heath what are your beliefs ?

somber heath
woven jasper
#

why are these limitations on vc placed?

somber heath
somber heath
#

@kind dew πŸ‘‹

woven jasper
#

@somber heath understandable

candid spire
#

Lunatic

#

Behaviour

woven jasper
#

so screen sharing is limited for similar reasons

cerulean sage
#

hello guys

somber heath
#

@autumn epoch πŸ‘‹

cerulean sage
#

how are you guys doin

candid spire
#

Gtg, it's lunch time

#

Take care, Opal Mist

paper wolf
tiny ingot
#

Bonjour

#

sure

#

im just a little stupid to understand how things work

somber heath
#

!e ```py
class MyClass:
pass

foo = MyClass()
bar = MyClass()

print(MyClass)
print(foo)
print(bar)```

wise cargoBOT
tiny ingot
#
001 | <class '__main__.MyClass'>
002 | <__main__.MyClass object at 0x7eff768ec6e0>
003 | <__main__.MyClass object at 0x7eff768e4690>

2, 3 are objects at <memory-locations>

#

foo, bar are blueprints of the class MyClass which makes them objects.

#

i swear i never understood this blueprint thingy in my life. i kind of get this time

#

PS: never seen a blueprint in my life so idk what do they mean by blueprints.

#

foo, bar are desing templates for the class MyClass

tiny ingot
#

instance?

somber heath
#

instance = cake

#

class = cake recipe

tiny ingot
#

instance = take things from MyClass but can change it accordingly when calling them.

somber heath
#

all are objects, repice and cake both

#

!e ```py
class MyClass:
def foo(self):
print("Hello, world.")

bar = MyClass()
bar.foo()```

wise cargoBOT
tiny ingot
#

no

somber heath
#

!e py foo = [] bar = [] baz = foo print(foo == bar) print(foo is bar) print(foo is baz)

wise cargoBOT
somber heath
#

@grizzled folio πŸ‘‹

tiny ingot
grizzled folio
tiny ingot
#

its same as

!e

class MyClass:
    def foo(self):
        print("Hello, world.")

MyClass.foo()
#

you need an instance to call the method

karmic obsidian
#

Hi @somber heath

somber heath
#

!e ```py
class MyClass:
def foo(self):
print("Hello, world.")

bar = MyClass()
MyClass.foo(bar)```

wise cargoBOT
tiny ingot
#

its 44 C

#

no humidity

#

its same as 35C in singapore

#

apple weather says "its 44C but feels like 36C"

tiny ingot
#

yes

#

foo is empty list
bar is empty list
baz refers to same object as foo

#

"everything which targets memory is object"

somber heath
#

!e ```py
class Foo:
def bar(self):
return self

baz = Foo()
print(baz.bar() is baz)```

wise cargoBOT
somber heath
#

!e ```py
class Foo:
def bar(self):
return self

baz = Foo()
boz = Foo()
print(baz.bar() is baz)
print(baz.bar() is boz)```

wise cargoBOT
tiny ingot
#

this is how i think of classes. the entire erd diagram creates a lot of confusion

somber heath
#

@simple forge πŸ‘‹

simple forge
#

why I can't speak

simple forge
somber heath
simple forge
#

You are not currently eligible to use voice inside Python Discord for the following reasons:

You have not been active enough on the server yet.

simple forge
#

all in voice they speak english ?

#

and all from USA ?

#

wow

#

I love

tiny ingot
simple forge
#

but with the fact at sydney

#

wow

#

this is a lot of antisemitism no ?

tiny ingot
#

oh i see

simple forge
#

i learn python bro πŸ™‚

#

yes because they are jewish , they were killed

tiny ingot
simple forge
#

can you repeat plz on israel ?

#

of course they are just human

thin river
simple forge
#

πŸ˜‚

#

dude come on israel doesnt attack in first

thin river
simple forge
simple forge
thin river
thin river
simple forge
#

israel just bad ???? @somber heath

thin river
simple forge
#

for you israel is guilty ? @somber heath

simple forge
thin river
simple forge
#

you're not live in israel mans

#

if you support gaza or iran lets live in iran no ?

#

or gaza

#

in 7 october 2023 ?

thin river
simple forge
#

totaly

thin river
simple forge
#

all of the earth want peace bro @somber heath

thin river
simple forge
#

but this is a terrorisme organization

simple forge
thin river
thin river
simple forge
#

or Hezbolla

#

Houtis

#

Hamas

thin river
simple forge
#

gotta go bye I must to go

thin river
#

Byeee

simple forge
somber heath
#

@plain hinge πŸ‘‹

plain hinge
#

Hi

#

Why i cant talk

somber heath
plain hinge
#

Bruh

#

Because im not active

lucid pine
#

@somber heath You sound 18+

#

Pumpkin

#

Ο€

tiny ingot
#
class MyClass:
    x = 4

p1 = MyClass()
print(p1.x) 
#

p1 is object/instance of MyClass()

somber heath
#

@pseudo escarp πŸ‘‹

pseudo escarp
#

anybody want to contribute in my python open source projects

somber heath
tiny ingot
#
class MyClass:
    y = 2

p1 = MyClass(x)
print(p1.x)
candid spire
#

Yo moo

candid spire
tiny ingot
proud tangle
#

o/

proud tangle
#

10-20%

#

based on service quality.

tiny ingot
#

@obsidian dragon

#

not great but in the middle of desert, on the top of mountain its all blue

oak silo
#

big foot o.f.

cyan wolf
lucid pine
#

Hello

#

wet

#

What you talking bout

#

Beef jerkey

buoyant dove
#

How do i stay active consistently for 1h30 mins do i have to like chat for 1h30mins

#

For the voice verification

tepid sparrow
#

guys is 17 too late to become a master of python ( i know nothing )

buoyant dove
#

But yea man too late

#

Should have started at 14

tepid sparrow
buoyant dove
#

Yea

#

Ur done

#

Bro

tepid sparrow
buoyant dove
#

Pack it up

buoyant dove
tepid sparrow
buoyant dove
#

And unemployed

tepid sparrow
#

i dont think its too late

buoyant dove
tepid sparrow
#

like i can still become decent if i start now

lucid pine
#

@somber heath Tap Tap Tap

buoyant dove
buoyant dove
tepid sparrow
buoyant dove
tepid sparrow
#

and blr

lucid pine
#

fjfjfjfjfjfjfjfjfjfjfj

#

ghack

buoyant dove
tepid sparrow
#

ah okay

buoyant dove
#

Where are u from?

tepid sparrow
lucid pine
#

Bye

tepid sparrow
#

yh 😭

buoyant dove
#

Abroad where

#

Uttrakhand is a crazy place

tepid sparrow
tepid sparrow
buoyant dove
#

Oh okay

lucid pine
#

@obsidian dragon How to get stream perms?

latent jay
#

😁

obsidian dragon
stray pewter
#

are these tuff?

buoyant dove
#

Tuff 100%

river vector
stray pewter
buoyant dove
#

Imagine you walking around with a flag and it hangs on to ur face ur embarassed and ppl make a statue out of it

obsidian dragon
#

wrong chat

cyan wolf
#

@somber heath

stray pewter
#

←

#

β‰  β‰₯ ≀

proud tangle
#

none of them

#

because you can't type them easily

#

I'm only annoyed they called it pseudocode

#

if they caled it "A new language, bernardcode"

#

then it would be entirely a good idea

#

true

#

true

stray pewter
proud tangle
#

That used to eb common

#

vbscript

stray pewter
buoyant dove
#

Vibescript

iron geyser
#

😬

proud tangle
#

VBS

stray pewter
proud tangle
#

that's very vbs

iron geyser
proud tangle
#

cursed langauge

iron geyser
#

🀭

stray pewter
proud tangle
#

alright

#

I'm off

#

good luck all

tidal wedge
somber heath
# tidal wedge What is Bernard code

We were discussing the use of a language dubbed "Pseudocode" used in the instruction of computer science classes. Some nutwit decided to take the conventional concept of pseudocode and gave it a formalised grammar which arguably makes it not a pseudocode.

#

It would be fine were it called, as suggested, Bernardcode, or perhaps a different name.

tidal wedge
#

Ive seen pseudocode before in computer science thats about it

tidal wedge
#

Hello @stray pewter

violet storm
#

@somber heath you can’t be real?

#

@somber heath 10 top philosopher

#

British accent?

#

What are you thoughts on prison labor ?

#

Yay or nay

#

What’s your favorite color and why

#

Nope

#

Just simple convo

#

How abt your thoughts on Libya πŸ‡±πŸ‡Ύ overall

#

Central banking system

#

You can ask me anything

#

It’ll let me talk in one more day

#

Yes

#

I’m a child of war

#

Got separated from my family and later united with my family in the USA after 8 years

#

Freedom of illusion

#

With the name Mohamed at thatπŸ˜‚

#

You get called all sorts of names

somber heath
#

@lunar silo πŸ‘‹

lunar silo
#

hi

#

I forgot how to get unmuted

somber heath
lunar silo
#

thnaks

violet storm
#

Can you be racist to your own kind ?

#

I would assume it cancels out right @somber heath

lunar silo
#

@somber heath How can you be active for 1.5 hours

violet storm
#

All about reasoning and why like my favorite color is amber because it reminds me of the sunset and just the calm view @somber heath

lunar silo
#

lol

#

want to check out my python game @somber heath ?

violet storm
#

True but yea is it accepted in today society

lunar silo
#

deep thoughts

#

see you later

#

πŸ‘‹

violet storm
#

Yea

#

Of

#

Yup

#

I did

#

Ofc

#

How abt politics why do people get sensitive when brought up @somber heath

#

What are your views on politics

#

Would you say everyone is racist deep down and I mean as in if someone had to choose to save between someone thier own color or a different color

#

They’ll choose thier own color I feel like @somber heath

#

Base programming like a fight or flight response? @somber heath

#

Are you in your mid 30s

#

You sound young and old

#

At the same time

#

How abt your seating in class

#

Front middle or back

#

Must be nice In australia

#

Yes you have a thick accent

#

We won’t live to see how we ruined our world

#

I think we need to reduce the population

#

Down to 1-10 tenth

#

Humans are a virus in itself @somber heath

violet storm
#

Ever heard of limitless

sly hawk
#

The matrix

violet storm
#

I have to go good talk @somber heath your a very intelligent being. have a lot of knowledge

#

Hope to talk again

sly hawk
#

Howdy

#

You talking to me?

#

Ah I see

#

How are you Opal?

#

Damn you alright?

#

Same

#

Trying to find work but this small town is like no one is needing workers

#

I have been like unemployed for nearly a year

#

Automotive Mechanic primarily

#

The US is where I am from

#

So I am primarily gasoline(petro) vehicles to light duty diesel vehicles

#

Until like fossil fuels run out I reckon the gasoline industry is still chugging along for quite some time

somber heath
#

@tidal robin πŸ‘‹

somber heath
#

@untold python πŸ‘‹

untold python
#

why i can't use my mic

somber heath
untold python
#

Ok

#

thank you

somber heath
#

@opal pine πŸ‘‹

opal pine
#

what are you talking about?

magic falcon
#

Hello can someone tell me which platform is best for learning mathematics for machine learning

#

plese tag me when you well tell

#

thank you

rough tapir
#

Hello @somber heath πŸ‘‹

#

My headphones were disconnected did'nt catch ya

#

Ohh, do spiders do that ?

#

That's scary

#

got bitten by a spider ?

#

LOL XD

somber heath
#

@midnight loom πŸ‘‹

midnight loom
#

Hello

rough tapir
#

Yeah, i got bitten once but i never saw the spider bite me, the marks were there.

#

Lucky.

#

so far.

worldly sand
#

Yo

#

Can someone help me make something

somber heath
rough tapir
#

My mic's dead i'll fix it maybe or get a new one.

worldly sand
somber heath
somber heath
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

worldly sand
somber heath
#

No, we will not assist you in the making of a trojan.

paper wolf
#

Also, if you want to make trojan, you should not asking someone to build it

#

If you do, it means you know nothing

#

And it could lead on you being harmed especially by the one you're asking to build the thing

#

The idea of you creating trojan is not something you share on the internet

#

@worldly sand

paper wolf
#

Why not

somber heath
#

Let us leave it at that.

#

@grave dagger πŸ‘‹

grave dagger
rough tapir
#

What you do Opal?

worldly sand
grave dagger
#

Bro where can I discuss about debugging a code?

worldly sand
#

But im not a scripter tho

#

Thats the problem

paper wolf
somber heath
paper wolf
#

please don't try to explore things could labeled you as criminal

rough tapir
#

Sorry, i did'nt catch ya. πŸ₯²

worldly sand
#

This?

somber heath
#

<@&831776746206265384> Please refer to recently deleted messages by this user.

paper wolf
#

Baibai ig