#voice-chat-text-0
1 messages · Page 681 of 1
Let's come to Code/Help 1
is not None
print "Hello"
invalid syntax
print()
for python 3+
nope, 2.x is valid
no, I only use that syntax so the color would show up
print ("hi")
```looks cursed, ngl
sentence = ABBA ABBA BBA
word = A
@whole bear is earaping
so youre telling me its broken when you breath at it? and then when you take a breath it stops?
@rugged root @cursive cloak is earraping

😦
chess?
kuba you wanna play some chess?
it may be cuz of netflix series
im down for chess
ok
you'll prob destroy me
nah, i just like playing
which one
i don't remember his name
shepard?
Hi Macro! 😁
heya opal what have you been up to boyo?
hi Opal
hello @somber heath
Making cursed and haunted images with Python.
Jag.
jajaja
||:)||
share some
brooo that looks gerat
wOrLeY
great
and people were freaking out over this one, earlier
yeah so freaky
i like the first one more
As do I.
||also what she said||
what’s this
Then I didn't record what the settings were and I lost them.
yess
I think I've mostly found them again, though.
to the past
Simple enough.
WHIRLEY NOIZ
But dramatic in its effect.
bro it looks great
All this detail just pops out from fucking nowhere.
Hence haunted.
@severe elm hello
anyone interested in dungeons and dragons??
not me
I've been involved in D&D in the past. But no, thank you.
It was.
As stated, no, thank you.
come out of your walnut sheel
@candid venture 😐
lid on what
"Haha. Stinky. Poo poo. Pee pee." Gets old the tenth time you hear it.
Yahoy.
@hushed elm i wanna play another one with u
yea i left
cuz of alt + f4
new one
fresh
alr
@frigid shard but u have a russian one, couldn't that be used ?
oh
the soviet unions
isn't cannada above america ?
To the north of the US, yes.
hi
@whole bear Greetings.
rich fella
Yahoy.
How is going
It is going.
oic
Lol
What of it?
I was.
I have a love/hate relationship with regex.
It's really good at doing what it's designed to do.
and worth taking the time to become familiar with
So that you know the sorts of things it's capable of
tata
ciao
Where I am
yo
hi
delhi
Indi?
yup
nice
bye
Can I get an early dispensation from the voice ban ?
i don't think u have voice verification
I have a voice ban
I can't because I was banned
no you are not banned
why u banned?
you have to verify
Because of spamming
I have two weeks infraction
I didn't think of this
But I will have to wait three days anyway and send 50 messages
Middle east is nice region to travel to
Human rights are American rights
He is supportive for violence
and hatred
He wants to bring back the age of the Ottoman empire
Scientific and technological advances
we dont have it
@stoic ore lol
kjdfhguji
Russia is cold
what about antartica ?
Caucasian
It's not cold
its freezing :p
exactly
:;P
(_ - _)
.
I can't say Muslims are aggressive but Muslim politics are
The only way to ensure equality and safety is through having secular politics
Religion is your personal faith
You can't impose it on others
sovereignty unconditionally belongs to the nation
atatürk
Because of Atarturk
he sought secularism
But the nation can't be just numbers
It means technocracy
I didn't get the point
You mean Kurdish are reason for division ?
Oh
I see
I'm Chaldean
We want our country too
lol
no
Chaldeans are ancient groups who speak Chaldean
Mostly are Catholic
but with some percentage of Protestant and orthodox
Both Kurdish and Chaldeans are oppressed by Arabs
They share similar burden
persecution
:recycle: Congrats @lethal ingot you have recycled 1 oxygen bubbles
:x: User is already permanently banned (#21528).
oh
speaking 😄
Şıwan
ok
Şiwan
it is Iraqian 😄
You know what this means ?
English is obscene language
fmnhnm
fuck languages
he means the snake
ScoMo is doing better than Julia
Taco fest
is for females
You see
I told you English is obscene language
öçmsn kjsn
No one is impeccable
Next Monday my ban will be gone
Elon Musk wouldn't be successful if he lived in another country
Imagine Elon Musk was born in Iraq
did i hear mr opal ?
The funding of a country for research and development makes businesses successful
a moment of silence
for who is thinkin
yes trying to think of new topics
also what she said
ı have
.topic
Suggest more topics here!
making no mistake
same @stoic ore
😄
.topic
Suggest more topics here!
or being successful at work
lol
We're never really safe, any of us.
Who hates Facebook and Instagram ?
it's messy
Check Instagram explore page
It's almost every post is nude
😄 there was time it's funny
bye
see yo
Yes I agree
Nor Google is ethical
Facebook and Google are unethical companies
I dont use Google
Every time someone says Google it
I go like what
I DuckDuckGo it
not Google it anymore
Opera
I don't' use Google search nor chrome
hello
Biden will start a new war
Trump is comedian
soothsayer
I like the word
I used to say it in the train
I'm pleased there are no guns
and I feel safer
goethe
Johann Wolfgang von goethe
?
faust
As it is known, old age does not make person a child, death finds us as a complete child.
This is celebrated in the Feast of the Cross
guys?
PS C:\Users\Sikandar> & C:/Users/Sikandar/AppData/Local/Programs/Python/Python39/python.exe c:/Users/Sikandar/Desktop/flappy_bird.py
Traceback (most recent call last):
File "c:\Users\Sikandar\Desktop\flappy_bird.py", line 9, in <module>
import pygame
ModuleNotFoundError: No module named 'pygame'
PS C:\Users\Sikandar>
help?
import py game
wdym
I am using pyhton 3.9
It might not work with 3.9 yet.
but shoudnt pygame come with pip and shouldnt pip come with the python installation?
Which is besides the point.
if could even u need to upgrade every time
or use git bash
try python 3.6
!codeblock
Admins, can you absolve my voice ban ?
I have something important to talk
If you are seeing the message
@lethal ingot why did you get voice banned?
Someone was eager to be voice verified.
lol
zaa
Not eager anymore
Someone sent a whole bunch of messages.
spammed this channel
Zap.
ZAA!
Help me pleas
class Case():
def __init__(self, name, category, time_week):
self.name = name
self.category = category
self.time_week = time_week
getattr(self, category)()
all_time_week -= self.time_week #Error
print(all_time_week) #Error
def sleep(self):
print('У вас есть ', all_time_week, 'часов в неделе')
print('Пожалуйста воспользуйтесь ими разумно')
pass
def sport(self):
pass
all_time_week = 24*7 - 70
sleep = Case('sleep', 'sleep', 70) #Sleep 70 hours a week
sport = Case('sport', 'sport', 14)
creative = ('creative', 'Entertainment_atr', 18)
how do I install pygame?
It's hard for me
that sucks
How do I take this variable from the program
chto vy tol'ko chto skazali ?
Чисто теоретический можно по-русски?
Гугл переводчик - мой источник
How do I change the all_time_week variable ? in the init
type init
Exmaple pleas
use pip install
so I type "pip install pygame"
which editor are u using
I use linux, so I get to specify the python version pretty easy.
vscode
Were I to attempt to install pygame in python3.6, I would type python3.6 -m pip install pygame
forn this , u need to use command prompt.
uhh...I am new to python so you're gonna need to explain what that is for me to understand
Can I get a good code out of this bad one?
all_time_week = 24*7 - 70
sleep = Case('sleep', 'sleep', 70) #Sleep 70 hours a week
all_time_week -= 14
sport = Case('sport', 'sport', 14)
all_time_week -= 18
creative = ('creative', 'Entertainment_atr', 18)
But you can point to a particular python executable in windows in much the same way if you need to
cyka blyat
😄 its time for russians to be at home get involved with the internet
every country have that time
but @somber heath
I have.
I'm sure if you scrolled down the server member list, you'd come across them eventually.
Pythov
Every thing ends with "ov" is Russian
If python was Australian
it would've been called Pythie
Playing chess. "Checkov." "Yes, what is it?"
потому что это сервер на английском языке
it is primary education
self tought
nobody : if python was turkısh , pythoğul
if was greek : pythones
If was Latin: Pytho
Pyther
pytho if was kurdısh-> kurmanch
If python was Croatian --------> Pythovic
Refhfvku
what ?
in German
u sure ?
If python was Italian --------> Pythono
yes
canadian ?=
If python was Chinese ------> Pythochengu
didnt like chinese one
try other
and mor for japon indian
I love all world ı guess 😄
If python was Indian --------> Pythokhan
nice 😄
If python was Japanese ---------> Pythakura
thats nice D
If python was Australian ------ Pythie
If python was African -----------> Uvuvwevwevwe Onyetenyevwe Ugwemuhwem python
😄
you forgot the osas
Uvuvwevwevwe Onyetenyevwe Ugwemuhwem pythonosas
what if python was muslim
pythomed
??
arabic ?
If python was Muslim ----------> Pythafar
fdjkhbf
...
fuck
not funny anymore for me...
😄
see u later
ı'll be outn for work
ciao
is some one ever used SQL server
have good night/day
lmao
WHAT THE FUCK
Ciao gotta go
Extra Lives is an impassioned defense of this assailed and misunderstood art form. Bissell argues that we are in a golden age of gaming—but he also believes games could be even better. He offers a fascinating and often hilarious critique of the ways video games dazzle and, just as often, frustrate.
Thanks for exploring this SuperSummary Plot Summary of “Extra Lives: Why Video Games Matter” by Tom Bissell. A modern alternative to SparkNotes and CliffsNotes, SuperSummary offers high-quality study guides that feature detailed chapter summaries and analysis of major themes, characters, quotes, and essay topics.
hey
is someone able to help me with my work
i need help with this
if anyone could help that would be great
@zinc dagger yoyoyo try this ```python
user = input('Enter something:').split()
print(int(min(user))+int(max(user)))
if it's wrong then
tell me
I'll fix it
@granite charm I'm super interesting in hacking but I'm doing IT CLASSESS
That looks like homework which is prohibited in this server. But you can see that the proposed solution does not meet the requirement "these entries can occur on different lines".
it can have multiple input in different variables
it is an assignment
I'm doing automation
using pyautogui
i'm making a code that automatically type something
like for example if you want make a code for example basic calculator
so it will make the code for you
like that is cool right
yeah that it
nothing too crazy
just doing it
you know what i mean
nothing too crazy like ddos attack
or rootkit
yeah so good
now i'm just bored
to be honest
i just learn some modules
even those i'm alright at python but i'm going beyond my powers
hmm
@granite charm you're learning a module that i did't even learn
Lol that's crazy
@granite charm you can make a condition in while loop
like for example
a = 0
b = 6
while a < b:
print('Hi')
a += b
or
running = True
while running:
print('running')
running = False
or you can use break statement to stop the loop
if SoldOut.is_displayed():
print("Out Of Stock")
driver.navigate().refresh()
print("Refresh Success!")
else:
Do stuff```
That is not a loop
😆

definitely not a loop , i totally agree with you 😆 @whole bear
What Ravens is trying to make?
@whole bear he is using automation to get into nasa website
jk
he is doing some automation using selenium
NSA website
for importfolder in importfolders:
for files in glob.iglob(importfolder + "**" + sep + ext, recursive=True):
epname = os.path.basename(files)
epath = os.path.dirname(files)
noext = os.path.splitext(epname)[0]
print(epname)
# episodeinfo(epname, epath, noext)
result = episodeinfo(files, epname, epath, noext)
if result is not None:
series_id , episode_id = result
if "ID" not in series_id:
print("Some Kind of Error Occured")
else:
tvshowinfo(series_id, epath)```
See you... Now I have to study for the university exam. enjoy...
poof
@granite charm you might be interested in the ToS of bestbuy, which you appear to be scraping
You may not copy, scrape, frame, modify, remove, delete, augment, add to, publish, transmit, participate in the transfer or sale, lease or rental of, create derivative works from or in any way exploit any of the Content, in whole or in part.
See terms and conditions of using the Best Buy website. By using this web site, you agree to these terms of use.
in "proprietary rights"
You need to train your web scraper? We have created simple test sites that allow you to try all corner cases and proof test your scraper. Try it now.
you might like this
@terse vigil Thanks again, heading out o/
Hey @tranquil barn
Yup
I'm still not allowed
It's good, tryna code
How about you?
mhm
Hmm
I'm a beginner, so...
Yup
Last year
You?
Cool
I see
I'm doing a decimal to binary conventer
While loop
But it's not going really well
yep
Oh, really?
I didn't know 😅
Test
new_ = []
num = int(input())
ccheck = 0
if num % 2 == 0:
while num > 2:
while 2ccheck < num:
ccheck += 1
num = num - (2ccheck)
if 2ccheck == num:
print(ccheck, num)
break
else:
ccheck -= 1
new_.append(ccheck)
num = num - (2(ccheck-1))
if num <= 2:
new_.append(num)
print(new_)
I was tryna do this :D
when I input 12, t outputs 2 and -4
def Binary(n):
binary = ""
i = 0
while n > 0 and i<=8:
s1 = str(int(n%2))
binary = binary + s1
n /= 2
i = i+1
d = binary[::-1]
return d
Oh, thanks n.n
oof
yeah it is
Hey @whole bear!
It looks like you tried to attach file type(s) that we do not allow (.ini). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.
Feel free to ask in #community-meta if you think this is a mistake.
i uploaded a ini file
str.replace, string slicing/reversing, string concatination
for loop, str, range
>>>help(str)```
>>>help(str.replace)```
Same as doing
>>>help(''.replace)```
'RLL'.replace('R', 'L') == 'LLL'```
str.maketrans str.translate
>>>trans = str.maketrans('RL', 'LR')
>>>'RRLR'.translate(trans)
'LLRL'```
class MyClass:
pass
MyClass()```
class MyClass:
def __init__(self):
print('Hello, world')
MyClass()```
class MyClass:
def __init__(self):
print('Hello, world.')
def identify(self):
print(f'My true identity, my self, is {self}.')
my_class = MyClass()
another_class = MyClass()
my_class.identify()
another_class.identify()```
what does __init__ do?
myclass
okay i understand
my_class.__init__()
class MyClass:
def identity(self):
return self
my_class = MyClass()
my_class.identity() is my_class #This is True
ym_class = MyClass()
ym_class.identity() is not my_class #This is True```
my_class.identity() is not ym_class.identity()```
Is the same as
my_class is not ym_class```
Both of these statements are True
class MyClass:
def __init__(self):
print('Hello, world.')
my_class = MyClass()
ym_class = MyClass()
ym_class is not my_class #True
ym_class.__init__() is my_class #False
yo yo
__name__ == '__main__'
class MyClass:
pass
a = MyClass()
b = a
a is b```
This isn't how Python works, but you can think of it like this.
a = 1
b = a
c = 1
a is b
a is not c
a == c```
Just to reiterate, this is wrong in the context of Python, but it breaks down how equality vs identity works in other areas.
== equality, is identity (object in memory)
a == c what does this mean?
Equals.
= not being comparing, but assigning
a=1
a then equals 1
a==1 is True
.
So == is asking a question.
class MyClass:
pass
print(dir(MyClass))```
= is performing an action, assigning
@potent urchin He's not usually on at this time. Maybe try again in six or seven hours or so.
ohh okay
Yeah, man we need them too
send it herer dude
Or DM
yeahh
my videos are funie
cute ❤️
BYE
Salla
What do you mean by it?
yeah
ok
yes
do you know something about captcha?
ok
can somebody unmute me
WTF
The code for the Teams thing
The Teams thing?
i love discord
o/
?
Waving hello. o/
ummm, this o/ doesn't make sense
Head. Arm.
Satellite with a deadly friendship laser?
nooo, stick man figure
Satellite.
tbh, it also looks kinda like a satellite, but i tried to make a stick man figure
print """
\O/
|
/ \
"""
^
|
O |
|—|—|
|
/ \
now add a shield
^
|
( O |
( |—|—|
( |
/ \
hey
hello
Nice
thx
@somber heath when would use multiprocessing ?
that's me
who doesn't explain stuff that well
@somber heath can multiprocessing slow down a program ?
thx
can u build an OS in python ?
u could compile it and then execute it though
can python be used to control and change the way OS works ?
xD
i think 2.x is also installed in mac by default
for mathematicians
3.10 == 3.1
....
ik, but
we don't talk about that
i hope they put switch case and brackets
why?
umm, i miss switch case
and those iconic brackets after function and classes
4.13
@somber heath u in Australia right ?
yesssssssssssssssssssssss
high contrast?
Ah
i prefer slate btw
and do u think u can make a text editor in python @somber heath
what about an IDE ?
tkinter
can u make an IDE ?
but its not an ide like pycharm etc
i mean, why not ?
the first IDLE IDE
but first i would need the src code of IDLE
the #python-discussion is kinda crowdy
Start at python.org
Use your investigative aptitude.
do u have siblings ?
Yo
🤔
😄
when will u go to bed ?
when will u sleep ?
1:40 ?
10:00 am in the morning ?
is this normal ?
oh, i thought it was normal
like sleeping at 10:00 am is kinda crazy ngl
that's why i was suprised
i have a challenge
u rejected it
and u also reject this challenge
can u build discord all by ur self ?
but is that possible ?
probably not
that would be the most autralian thing
can u build a game engine ?
like unity
yup you can, but it might take you years cause you are working alone
and how old are u ?
35 ? @somber heath
im missing
Photo on a milk carton?
whatt ?
it didn't make sense
tbh
:-}
i'll be back in 20 minutes....
alright ?
brb in 20
hello @whole bear
hello @cloud stratus
how r u /
i'm gud, and hbu ?
and which country r u from ?
@cloud stratus
no
i'm in South Africa
but i'm indian
ummm
which one ?
yesss
:incoming_envelope: :ok_hand: applied mute to @whole bear until 2020-11-27 15:10 (9 minutes and 58 seconds) (reason: burst rule: sent 8 messages in 10s).
lol
@whole bear you shouldn't spam chat to fullfill 50 msgs
what did @whole bear do ?
and how is life @somber heath ?
how is corona in autralia ?
@somber heath would u be able to build an encryption algorithm ?
which encryption do u think is the most strongest ?
@somber heath isn't that algorithm used in internet ?
do u need a powerful server to handle thousands of request ?
like in daily life
per mins
ummm, thousands request per second to acess a website
no ddos by the way
u know what a ddos is right ?
yep
send thousands of request to crash there servers
but slow down though
hey
hello @near ocean
waow u r developer
We all get that role.
what's the minimal requirement to make a server which would deal with 100 request per sec to access a website ?
umm, yes but actually no
ismin neden böyle yazılı / why is your name like that
how did u know im turkish?
enis kirazoglu very known youtuber
hmmm, we got a lot of turkey people here
I think there are some rule that says u can not replicate ID
are there?
i don't think 2 person can have the same id
I don't know ı never read rules on servers
in discord, in general, 2 person aren't suppose to have the same id, i think
they could have the same tag
but not the same id
it is impossible to have an identical id
sadece söylemeye çalıştığım enis değilsen öyle davranmamalısın / I'm just trying to say /
You shouldn't behave like that if you're not the Enes
u could have identical id but not the save id, even if the probability of such occurrence is low
10/10 english
i dont think so
@somber heath which country/countries would u like to visit one day ?
if your not gonna share your thoughts rather not speak at all
yess, any country @somber heath
can i answer it
oh, i thought about something else @somber heath
alright
Germany
r u in university btw?
i understood
what does TEcn mean ?
hello @fleet kettle
r u new in your job?
Worley noise is a noise function introduced by Steven Worley in 1996. In computer graphics it is used to create procedural textures, i.e. textures that are created automatically with arbitrary precision and do not have to be drawn by hand. Worley noise comes close to simulating textures of stone, water, or biological cells.
ur welcome
is this the result with worley noise?
its cool man
yeah sry this is what i meant
@somber heath what is postprocessing ?
I used GIMP.
what is GIMP ?
Image editor.
oh
Like Photoshop.
@sick cloud No.
hmmmm, okay, great
I used Python to do the noise.
oh u are trying to find the roots right
yeah
!code
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.
def standard(a,b,c):
if a != 0:
d = (b**2 - 4 * a * c)
x1 = (-b + d ** (1/2)) / (2*a)
x2 = (-b - d ** (1/2)) / (2*a)
try:
round(x1 , 2)
round(x2 , 2)
except:
print("There's no real root.")
print("The roots: X1 = ", x1 ,"X2 =", x2)
print("The function crosses y in: ", b)
if a > 0:
print("The function goes upwards.")
else:
print("The function goes downwards.")
fac = f"The intercpt form of the same equation is: y = {a}(x-{x1})(x-{x2})"
print(fac.replace("--","+"))
else:
print("a cannot be 0")
selec = int(input("Select the form of quadratic funciton you'd like to solve: "))
if selec == 1:
a = int(input("a = "))
b = int(input("b = "))
c = int(input("c = "))
standard(a,b,c)
what are doing ?
oh
a moment of silence
@somber heath what does __new__ do ?
hello @tame jackal
yeah hi
yeah
print('Hello world!')
something bs
asasij jkbsc kj mbjbcjdv
so this is how it is reprented ,oh
umm, i think he said good night @somber heath
i can speak if i want to
oh thats nice ,i've been just wondering
hello @neon sleet
hi !
do u still remember me ?
yeah, why not?
just wondering
class gg:
def __init__(self, hh):
print("hellof ", hh)
self.hh = hh
def h(self, number):
print("hi ", self.hh, number)
class d(gg):
def __init__(self, g):
gg.__init__(self, g)
print("fu ",g)
def jh(self):
print("ff jh")
sam = d(4)
sam.h()
```would this work ? @neon sleet
it should
nope,
wait
it doesn't work
no, that part is fine
wait let me try it
it should be sam.h(something) not sam.h()
haha, didn't notice that, me noob lol
xp
didn't see that h required a parameter there
class gg:
def h(self):
print("hi")
class d(gg):
def __init__(self, g):
print(g)
def jh(self):
print("jh")
sam = d()
sam.h()
```, would this work ?
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!