#voice-chat-text-0

1 messages · Page 615 of 1

gilded minnow
#

my net ehhhhhh

lilac karma
#

i'm just a class 12 IP student

gilded minnow
#

same here

#

i am also in class 12th

lilac karma
#

learning python and mysql

gilded minnow
#

started py last year

lilac karma
#

yeah me too

gilded minnow
#

but sometime i get stuck on basic questions ehhehe

lilac karma
#

yeah me also some questions

gilded minnow
#

currently trying to learn github action

#

trying to enable flake8

lilac karma
#

is it easy ?

gilded minnow
#

and configure it

lilac karma
#

i mean github

gilded minnow
#

yeh its easy

#

it will help u a lot in future

lilac karma
#

hmm ok im gonna start learning that from today

frigid panther
#

o/

gilded minnow
#

nice

lilac karma
#

where you are from?

frigid panther
#

India

lilac karma
#

anubhav

#

hmm

India
@frigid panther

#

me too

frigid panther
#

cool

lilac karma
#

india where

#

?

frigid panther
#

Bangalore

lilac karma
#

nice

#

im from kerala

gilded minnow
#

i am from bihar

lilac karma
#

hmm

gilded minnow
#

patna

#

kerala people are really smart in studies

lilac karma
#

actually now im not in india

gilded minnow
#

ooo now where u stay

lilac karma
#

bahrain

gilded minnow
#

ooo

lilac karma
#

middle east

gilded minnow
#

do u like that place 😄

lilac karma
#

yeah its cool

gilded minnow
#

noice

lilac karma
#

but i like india more

gilded minnow
#

nice to hear buddy

lilac karma
#

ok bye

#

i have some work to complete

#

it was nice talking to you

gilded minnow
#

same here bye

#

can someone guide me how to get started with ml i have basics almost completed in py

#

i wnt to get started

errant helm
whole bear
#

smacks @errant helm with a trout

errant helm
#

Haha, I had to do things and now I'm just getting lunch out of the way while I'm down here

whole bear
#

You were AFK, which I think is the first time I've seen you in the AFK voice channel

errant helm
#

I've been interrupted a few times today

stoic ore
#

hi

gentle flint
#

@stray linden do you like the music?

whole bear
#

yo guys

#

can somebody help me with my github

somber heath
#

Distillery

dim wagon
#

__asm{mov eax,ecx}

#

@whole bear

serene carbon
#

good podcast guys :D srry if it might bother you, i'm enjoying it

gilded minnow
#

I also love the talks of gdude and of eivl

vivid wadi
#

!0

#

!p

wise cargoBOT
#
Missing required argument

pep_number

#
Command Help

!pep <pep_number>
Can also use: get_pep, p

Fetches information about a PEP and sends it to the channel.

vivid wadi
#

!p milne mujh

wise cargoBOT
#
Command Help

!pep <pep_number>
Can also use: get_pep, p

Fetches information about a PEP and sends it to the channel.

odd yew
#

Hello

#

!p 2

wise cargoBOT
#
**PEP 2 - Procedure for Adding New Modules**
Status

Final

Created

07-Jul-2001

Type

Process

visual crow
jovial meadow
wild arch
#

ive been listening to playdate on loop for 5 hours please help me

exotic shale
#

!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.

celest spruce
#

name = input('your name is ? ')
print('hi ' +name)

somber heath
#

print(f'Hello, {name}.')

gilded minnow
#

F string are really great

#

It cleans a code a lot

whole bear
#

@celest spruce me

#

😂

severe elm
#

hahahha

#

you shouldnt have said that opal

whole bear
#

@severe elm anything written in f string will convert into string

#

@somber heath yeah is it illegal in server?

#

😂

#

@somber heath have we met earlier?

#

@somber heath oh thanks 😂

celest spruce
#

@somber heath age = input('your birthday ? ')
print(2020 - int(age))

severe elm
#

shouldn't you declare age being a integer when you ask for it and throw exception in a while loop to ask again

#

when the user didnt enter a int

celest spruce
#

yeah sure

#

my frist day on py dev

#

thnx for feedback fix now

#

age = input('your birthday (use your birth years) | ')
print('your age is | ' , 2020 - int(age))
print('first dev Awmir On Py')
@severe elm @somber heath

#

im afk for 5 min

severe elm
#

input(int())

#

while age == True:

somber heath
#
    age = input('What is your age? ')
    try:
        float(age)
        break
    except ValueError:
        print('Please enter numeral value.')```
somber heath
#
print(datetime.datetime.now().year)```
#

@celest spruce

azure kayak
#

whats going on?

gentle flint
azure kayak
#

ummm

#

is that the problem??

gentle flint
#

voice chats are a thing

balmy nymph
#

Hello ncurses

gentle flint
#

Successfully rebooted into Windows, now to try Debian

azure kayak
#

@gentle flint which one?

gentle flint
#

ofc Windows takes hhfdgjnuddaergoonvded4895ytcvv7 years

azure kayak
#

voice chats are a thing
@gentle flint what one

gentle flint
#

General

azure kayak
#

o

gentle flint
#

We were discussing the problem in there

azure kayak
#

k

#

my dad does

gentle flint
#

is your dad available?

azure kayak
#

no

gentle flint
#

oh

#

rip

azure kayak
#

srry

gentle flint
#

np

azure kayak
#

he's working

unreal badger
#

but can it run crysis

wind cobalt
#
    some_var = "default"   

    def __init__(self, health, mana):
        self.health = health
        self.mana   = mana

    def attack(self):
        print("attack!")
    def defend(self):
        print("defend!")

class Character(Entity):

    # def __init__(self, health, mana):
    #     super().__init__(health, mana)
        
    def set_name(self):
        self.name = input("What is your name?\n")
        # print("Welcome, " + name + "!")

    def check_attribute(self):
        print(self.health)
        print(self.name)

    def character_Stats(self, char_class):
        char_class = char_class.lower()
        if char_class == "paladin":
            self.health += 20
            self.mana   += 30
        elif char_class == "warlock":
            self.health -= 20
            self.mana   += 30    
        elif char_class == "rogue":
            self.mana   -= 40

def main():
    main_character = Character(100,100)
    main_character.set_name()
    char_class = input("""Select Your Class\n1.Paladin\n2.Warlock\n3.Rogue""")
    main_character.character_Stats("warlock")
    main_character.check_attribute()
    print(main_character.some_var)

if __name__ == "__main__":
    main()
unreal badger
#

it will call baseclass __init__

azure kayak
#

super is very super

unreal badger
#

supa

wind cobalt
azure kayak
#

whats backround noise?

gentle flint
#

Zappey

azure kayak
#

background*

#

o

gentle flint
#

ah he left

unreal badger
#

lmfao

#

an abstract class would be like your entity

#

you wouldn't actually use it directly but you can inherit from it

wind cobalt
#

an abstract class would be like your entity
@unreal badger good idea

unreal badger
#

yea just giving an example of an abstract class

#

then u make derived classes to inherit from it

gleaming perch
#
age = input ("What is your age: ")
print ("Hello + name + " You are + age + ")```

is ther anything wrong here?
wind cobalt
#
age = input ("What is your age: ")
print ("Hello + name + " You are + age + ")```

is ther anything wrong here?

@gleaming perch age should have str(age)

gleaming perch
#

ok.

unreal badger
#

cpu pork

#

lmfao

whole bear
#

Krita

gentle flint
unreal badger
#

cookin

#

YOOOO he even seasons it

gentle flint
#

ye

whole bear
#

Krita is an open source drawing, painting and animation application designed for illustrators, concept artists, comic book creators, animators, game artists, matte painters and more. Krita is used daily by artists all over the world from professionals, to students, to enthusia...

Price

$9.99

Recommendations

910

▶ Play video
unreal badger
#

bbq at this mans house

#

$9.99

gentle flint
#

dragold in 5 minutes when he realises that steam rips you off for every game you buy

#

@whole bear

unreal badger
gentle flint
unreal badger
#

hak

gentle flint
#

I am big haker

#

yes?

unreal badger
#

o_o

whole bear
unreal badger
#

4.99

#

what a steal

gentle flint
#

even steam didn't think they could rip you off for much with that

whole bear
gentle flint
#

The developers describe the content like this:

This game may contain content that is not suitable for all ages or that may be objectionable to view at work: Nudity or Sexual Content, General Adult Content

gleaming perch
#

...

azure kayak
#

minecraft

#

i play

gentle flint
#

FSX here

azure kayak
#

i also code mods for minecraft

#

in java

#

no

#

ummm i use linux

gentle flint
#

I use Windows and Linux

gleaming perch
#

is that linux

azure kayak
#

o

gentle flint
#

mhm

gleaming perch
#

i haven't seen linux before O_O

azure kayak
#

my internet is bad

gentle flint
#

MATE on Debian 10, with the Arc-Dark theme

azure kayak
#

srry for the autoconnect

gleaming perch
#

oh ok

gentle flint
gleaming perch
#

oo

whole bear
gleaming perch
#

;-;

#

lol who would play this game lmfao

gentle flint
#

when a game is cheaper than a toilet sim, it's pretty bad

gleaming perch
#

ye

azure kayak
#

what was that sound

gleaming perch
#

btw hovercraft i think u should upgrade to 16gb ram

gentle flint
#

mhm

#

but w/e

#

I just got new hard disks and a new screen

azure kayak
#

i have 16 gb or ram

whole bear
gleaming perch
#

oo

#

warehouse sim

#

bad graphics

gentle flint
#

^

gleaming perch
#

im getting 16 gb ram

#

im still savin for my new pc

#

its going to have intel i5

#

1tb hdd

gentle flint
#

I literally only paid €30 for this desktop

gleaming perch
#

2 monitors

azure kayak
#

im from UK

gleaming perch
#

I literally only paid €30 for this desktop
@gentle flint oof

#

im from south africa

whole bear
gleaming perch
#

I literally only paid €30 for this desktop
@gentle flint is that pounds

gentle flint
#

no

#

euros

whole bear
gentle flint
#

about 27 pounds

gleaming perch
#

ohh

whole bear
gentle flint
#

you're turning into a Google ad for badly-selling Steam games

gleaming perch
#

how much is 30 euros into rands

gentle flint
#

594 south african rands

gleaming perch
#

wow

#

thats damn cheap

azure kayak
#

my internet

#

helllllpppp

gleaming perch
#

oof

gentle flint
#

thats damn cheap
ikr

gleaming perch
#

my pc im getting is likee

azure kayak
#

it crashed literally

gentle flint
#

but getting new ram would literally cost almost twice the worth of the whole pc

#

so I ain't doing it

gleaming perch
#

16000 = 808 euros

azure kayak
#

what if i told u guys

#

that i was

gleaming perch
#

my pc is R16000

azure kayak
#

14 years of age

gleaming perch
#

im 13

azure kayak
#

what would u say

gentle flint
#

then we would say
blog it

gleaming perch
#

lol

azure kayak
#

well to say the truth 12 years

#

lol

gleaming perch
#

.-.

gentle flint
#

that's illegal

gleaming perch
#

yes it is

azure kayak
#

ik

gleaming perch
#

hover is right

#

but its not "illegal"

gentle flint
#

depends

gleaming perch
#

its just breaking discords ToS

gentle flint
#

in some regions, transgressing the ToS can be illegal

whole bear
#

.

#

.

#

.

gleaming perch
#

(terms of service)

gentle flint
#

and you can be prosecuted for it

gleaming perch
#

stop spamming

#

and you can be prosecuted for it
@gentle flint yes

#

oof

#

i gtg

gentle flint
#

bye

gleaming perch
#

cya guys

#

oop

#

nvm

#

i gtg in like 15 mins

gentle flint
#

@whole bear is indian

azure kayak
#

im 100% sure ill not do that

#

here goes the internet

gleaming perch
#

dude are you actually 12

#

if yes you have to either delete or disable your acc

gentle flint
#

oh whatever

gleaming perch
#

._.

azure kayak
#

wdym

#

if yes you have to either delete or disable your acc

gleaming perch
#

check in settings

gentle flint
#

oh leave him be

gleaming perch
#

then click edit on ur profile

#

it will say those two things

#

lol

azure kayak
#

ermmm

gleaming perch
#

im from south africa

gentle flint
#

spreek jy ook die taal?

gleaming perch
#

i dont know afrikaans that good

gentle flint
#

rip

gleaming perch
#

lol

azure kayak
#

earth is flat

#

lol

gleaming perch
#

xd

gentle flint
gleaming perch
#

bruh what the hell is going on in this vc

#

:3

#

who here uses pycharm

#

i do

#

PyCharm Community Edition 2020.2

gentle flint
#

I use atom

gleaming perch
ember hazel
#

studio code yayyy

gentle flint
#

windows

#

wack

gleaming perch
#

i can get the ip of any website

#

ez

#

btw with the screen shot comes my real name

#

there

azure kayak
#

i use pycharm

gentle flint
#

ok then

gleaming perch
#

boom

#

googles ip

#

ok

gentle flint
#

have you already tried visiting the ip

gleaming perch
#

no

gentle flint
#

you'll see the url basically is a referral to the IP

#

that's what nameservers are for

#

put the ip in your favourite web browser

gleaming perch
#

ok

#

PH-KDX

#

its ez

#

to pronounce

#

?

#

wtf

whole bear
#

Wot are they talking on vc

gleaming perch
#

idk

#

xD

whole bear
#

Oh

gleaming perch
#

i gtg guys

#

cyaaa

gentle flint
#

y'ain't gone yet

#
class myclass:
    myvar = 1

you can now do
myclass.myvar
which will return 1

ember hazel
azure laurel
#

@versed sapphire coursera offers courses from great universities

hasty forge
#

name = input("Willkommen in unserer Welt, wie heißt du?: ")

print("Schön dich kennen zu lernen, " + name + "!")

#Alter als Ziffer
alter = int(input("Wie alt bist du denn?: ") )

#Alter als Stroke
alter2 = str(alter)

a = int(12)
b = int(18)

if alter < a:
    c = str(a - alter)
    print("Sorry " + name + ", wenn du " + alter2 + " Jahre alt bist, dann bist du zu jung um dieses Spiel spielen zu dürfen, komme in " + c + " Jahren wieder!")
    sys.exit()

elif b >= alter >= a:
    print("Dein Alter passt perfekt für dieses Spiel!")
else:
    print(name + ", du bist zwar schon älter als alle anderen Spieler, du wirst aber trotzdem dein Spaß haben!")```
versed sapphire
#

@hasty forge do you know how to send code ?

#

!code

wise cargoBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

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

Note:
These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
versed sapphire
#

Read this ^^

hasty forge
#

thx

versed sapphire
#

Your welcome

safe crown
#

you don't need to do,

a = int(12)
b = int(15)

because they are already integers

pastel sedge
#
import sys

name = input("Willkommen in unserer Welt, wie heißt du?: ")

print("Schön dich kennen zu lernen, " + name + "!")

#Alter als Ziffer
alter = int(input("Wie alt bist du denn?: ") )

#Alter als Stroke
alter2 = str(alter)

a = int(12)
b = int(18)

if alter < a:
    c = str(a - alter)
    print("Sorry " + name + ", wenn du " + (a - alter2) + " Jahre alt bist, dann bist du zu jung um dieses Spiel spielen zu dürfen, komme in " + c + " Jahren wieder!")
    sys.exit()

elif b >= alter >= a:
    print("Dein Alter passt perfekt für dieses Spiel!")
else:
    print(name + ", du bist zwar schon älter als alle anderen Spieler, du wirst aber trotzdem dein Spaß haben!")
#
import sys

name = input("Willkommen in unserer Welt, wie heißt du?: ")

print(f"Schön dich kennen zu lernen, {name}!")

#Alter als Ziffer
alter = int(input("Wie alt bist du denn?: ") )

#Alter als Stroke
alter2 = str(alter)

a = 12
b = 18

if alter < a:
    c = str(a - alter)
    print(f"Sorry {name}, wenn du {a - alter2} Jahre alt bist, dann bist du zu jung um dieses Spiel spielen zu dürfen, komme in {c} Jahren wieder!")
    sys.exit()

elif b >= alter >= a:
    print("Dein Alter passt perfekt für dieses Spiel!")
else:
    print(f"{name} du bist zwar schon älter als alle anderen Spieler, du wirst aber trotzdem dein Spaß haben!")
finite hamlet
#
#Alter als Stroke
alter2 = input("Wie alt bist du denn?: ") 

#Alter als Ziffer
alter = int(alter2)
#

Right now you're doing
str -> int -> str

With my change it's just
str -> int

hasty forge
#

thx @finite hamlet

sudden ermine
#

login = "false"
name = input("enter your name: ")
age = input("enter your age: ")
year = input("enter your school year: ")

username = name[0:3] + age
print ("your username is ", username)

password = input("enter a password: ")

file = open("info.txt","a")
file.write (username)
file.write ("/n")
file.write (password)
file.close()

if login == "false":
print ("-LOGIN-")
file = open("info.txt","a")
loginusername = input("enter your username: ")
loginpassword = input("enter your password: ")
if loginusername == file.read[0] and loginpassword == file.read[1]:
print("username and password are correct")
login = "true"
else:
print ("username or password are incorrect")
file.close()

versed sapphire
#

@sudden ermine !code

#

!code

wise cargoBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

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

Note:
These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
pastel sedge
#

````python`

versed sapphire
#

Read this ^

pastel sedge
#

```

sudden ermine
#

'''python

proven drift
#

`login = "false"
name = input("enter your name: ")
age = input("enter your age: ")
year = input("enter your school year: ")

username = name[0:3] + age
print ("your username is ", username)

password = input("enter a password: ")

file = open("info.txt","a")
file.write (username)
file.write ("/n")
file.write (password)
file.close()

if login == "false":
print ("-LOGIN-")
file = open("info.txt","a")
loginusername = input("enter your username: ")
loginpassword = input("enter your password: ")
if loginusername == file.read[0] and loginpassword == file.read[1]:
print("username and password are correct")
login = "true"
else:
print ("username or password are incorrect")
file.close(`)

safe crown
#

3 backticks

versed sapphire
#

@proven drift

#

!code

errant helm
#

!codeblock

wise cargoBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

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

Note:
These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
versed sapphire
#

code also works

#

!code

wise cargoBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

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

Note:
These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
sudden ermine
#

'''python
login = "false"
name = input("enter your name: ")
age = input("enter your age: ")
year = input("enter your school year: ")

username = name[0:3] + age
print ("your username is ", username)

password = input("enter a password: ")

file = open("info.txt","a")
file.write (username)
file.write ("/n")
file.write (password)
file.close()

if login == "false":
print ("-LOGIN-")
file = open("info.txt","a")
loginusername = input("enter your username: ")
loginpassword = input("enter your password: ")
if loginusername == file.read[0] and loginpassword == file.read[1]:
print("username and password are correct")
login = "true"
else:
print ("username or password are incorrect")
file.close()

'''

versed sapphire
#

@sudden ermine this is not back tick

safe crown
#

the one you used before but 3 times

errant helm
#

backticks, not quotes

finite hamlet
#

The backtick is usually to the left of 1 on your keyboard

pastel sedge
#

`

sudden ermine
#
login = "false"
name = input("enter your name:     ")
age = input("enter your age:     ")
year = input("enter your school year:     ")

username = name[0:3] + age
print ("your username is ", username)

password = input("enter a password:     ")

file = open("info.txt","a")
file.write (username)
file.write ("/n")
file.write (password)
file.close()

if login == "false":
    print ("-LOGIN-")
    file = open("info.txt","a")
    loginusername = input("enter your username:     ")
    loginpassword = input("enter your password:     ")
    if loginusername == file.read[0] and loginpassword == file.read[1]:
        print("username and password are correct")
        login = "true"
    else:
        print ("username or password are incorrect")
    file.close()

versed sapphire
#

finite hamlet
#

Open the file in read mode

#

file = open("info.txt", "r")

#

For the second part only

proven drift
#

@finite hamlet yes

safe crown
#

i would also change the login var to a boolean

sudden ermine
#

Traceback (most recent call last):
File "D:/finla/A Level Stuff/Pre Year 12/computing/quiz task/quiz.py", line 23, in <module>
if loginusername == file.read[0] and loginpassword == file.read[1]:
TypeError: 'builtin_function_or_method' object is not subscriptable

versed sapphire
#

@sudden ermine 1 back tick

#

like Traceback (most recent call last): File "D:/finla/A Level Stuff/Pre Year 12/computing/quiz task/quiz.py", line 23, in <module> if loginusername == file.read[0] and loginpassword == file.read[1]: TypeError: 'builtin_function_or_method' object is not subscriptable

#

and then 3 back ticks

#
Traceback (most recent call last):
  File "D:/finla/A Level Stuff/Pre Year 12/computing/quiz task/quiz.py", line 23, in <module>
    if loginusername == file.read[0] and loginpassword == file.read[1]:
TypeError: 'builtin_function_or_method' object is not subscriptable```
#

Much better

safe crown
#

file.read should be a function call

pastel sedge
finite hamlet
#

f.readline(33)

pastel sedge
#
login = "false"
name = input("enter your name:     ")
age = input("enter your age:     ")
year = input("enter your school year:     ")

username = name[0:3] + age
print ("your username is ", username)

password = input("enter a password:     ")

file = open("info.txt","a")
file.write (username)
file.write ("/n")
file.write (password)
file.close()

if login == "false":
    print ("-LOGIN-")
    file = open("info.txt","a")
    loginusername = input("enter your username:     ")
    loginpassword = input("enter your password:     ")
    file_handle = open(filename,'r')
    all_lines = file_handle.readlines()
    if loginusername == all_lines[0] and loginpassword == all_lines[1]:
        print("username and password are correct")
        login = "true"
    else:
        print ("username or password are incorrect")
    file.close()
sudden ermine
#

enter your name: finlay
enter your age: 16
enter your school year: 12
your username is fin16
enter a password: 1234
-LOGIN-
enter your username: fin16
enter your password: 1234
Traceback (most recent call last):
File "D:/finla/A Level Stuff/Pre Year 12/computing/quiz task/quiz.py", line 23, in <module>
if loginusername == file.readline[0] and loginpassword == file.readline[1]:
TypeError: 'builtin_function_or_method' object is not subscriptable

versed sapphire
#

Could you please use back tick ??

pastel sedge
#

FILENAME = "info.txt"

login = "false"
name = input("enter your name:     ")
age = input("enter your age:     ")
year = input("enter your school year:     ")

username = name[0:3] + age
print ("your username is ", username)

password = input("enter a password:     ")

file = open(FILENAME, "a")
file.write (username)
file.write ("/n")
file.write (password)
file.close()

if login == "false":
    print ("-LOGIN-")
    file = open(FILENAME, "a")
    loginusername = input("enter your username:     ")
    loginpassword = input("enter your password:     ")
    file_handle = open(FILENAME,'r')
    all_lines = file_handle.readlines()
    if loginusername == all_lines[0] and loginpassword == all_lines[1]:
        print("username and password are correct")
        login = "true"
    else:
        print ("username or password are incorrect")
    file.close()
gleaming perch
#

oh FU#$

#

i didnt know i was in the vc still xD

#

anyways

#

im back

versed sapphire
#

@wind star

wind star
#

malaysia

gleaming perch
#

lol

pastel sedge
#
(Pdb) all_lines[0].split('/n')
['bob21', 'abob21', 'abob21', 'bob21b2', 'a']
versed sapphire
#

bye

sudden ermine
#

sorry gotta go on deafen again for 2 secs

gleaming perch
#

...

#

Shamaol

#

?

#

wtf was that

#

OW

#

F

#

my ears

#

damn it

pastel sedge
gleaming perch
#

this vc is...

#

lol

gentle flint
#

kinda true

#

lol

safe crown
#

lol

gentle flint
#

not sure which it is

ember hazel
#

grasias

gentle flint
#

de nada, señor

gleaming perch
#

damn

#

there is alot of people in games vc

gentle flint
#

my vc now won't connect

#

fucking wonderful

gleaming perch
#

thats the most people i've ever seen xD

gentle flint
#

"No Route"

errant helm
#

rip

gleaming perch
#

fucking wonderful
@gentle flint will we get muted/banned/warned if we swear

gentle flint
#

!rules

wise cargoBOT
#

The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.

gentle flint
#

doesn't look like it

gleaming perch
#

doesnt say no swearing

#

so

gentle flint
#

mhm

gleaming perch
#

yay

#

but keep it to a minimum tho

#

dont swear like alot

gentle flint
#

why?

gleaming perch
#

ok

#

nvm

#

should i make my taskbar white or keep it black

#

coz for some reason lots of other people use wite

jagged temple
#

hello there

#

so i need a little help

gentle flint
jagged temple
#

ok then

#

thnx

ember hazel
#

@gentle flint is it showing now?

gentle flint
#

what?

#

oh

#

hang on

ember hazel
#

playing visual studio code

gentle flint
#

yes

#

click on your own profile

ember hazel
#

okay great

#

donezo

gleaming perch
#

yes its showing

#

here

frigid panther
#

what're yall upto

gleaming perch
#

studying

#

for my exam tomorrow

#

im fucked up studying

frigid panther
#

which exam>

gleaming perch
#

i hate studying

#

afrikaans exam

frigid panther
#

not idea what that is, but all the best

#

👍

gleaming perch
#

ok

#

thx

ember hazel
#

which subject @gleaming perch

gleaming perch
#

afrikaaaaans

#

it is the most shittiest subject ever

#

if u were me

#

lol

#

i like it sometimes

#

but most of the time its boring

ember hazel
#

oks best of luck

prisma latch
#

\

#

\

#

[

whole bear
#

@stone stream yeah

gentle flint
whole bear
#

import tkinter as tk
from tkinter import ttk
win = tk.Tk()
win.title('Hogwarts Admission Form')

gentle flint
#

you never called ttk in the sample you posted here

wise cargoBOT
#

Hey @whole bear!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

fluid leaf
#

hello

whole bear
#

how can i send a big code

gentle flint
#

If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com/

#

it literally says it

prisma latch
#

```It’s like this.```

whole bear
gentle flint
#

thank you

#

@prisma latch doesn't help for 2000+ chars

prisma latch
#

Yeah, disord character limit is sad.

prisma latch
#

Makes sense though.

gentle flint
versed sapphire
whole bear
#

what just happened

versed sapphire
#

?

#

nothing ?

whole bear
#

@gentle flint and@versed sapphire y r u sending an year old whatsapp images

versed sapphire
#

what??

gentle flint
#

I don't think I understand what you are saying.

#

Try normal grammar.

whole bear
#

dont go on my english i am indian

#

😅

versed sapphire
#

This is previous photoshop loading screen

#

Bye guys

gentle flint
#

bye

whole bear
#

hey man''

fluid leaf
#

good thing im going to eat kunch anyway

whole bear
#

i cant speak sry

fluid leaf
#

yo anyone wanna talk

whole bear
#

hello

#

my mic is broke @whole bear

somber heath
crimson light
#
public static boolean isEven(int number) {
    return number % 2 == 0;
}
``` ```py
def isEven(num: int) -> bool:
    return num % 2 == 0
``` ```js
function isEven(number) {
    return number % 2 == 0;
}
#
isEven(+[])   // true
isEven(+!![]) // false
pearl patio
#

banana

crimson light
somber heath
#
   print(letter)```
#
    print(i)```
#
while condition_is_true:
    print('To infinity and beyond! ctrl-c to break.')```
#

or while True:

steep estuary
#

That broke my pc

somber heath
#

Apologies. Such was not intended.

steep estuary
#

nah it's fine

somber heath
#

Noisy folk left.

steep estuary
#

?

somber heath
#

For if that's why you left.

steep estuary
#

No i left to sleep

#

but i can't

fossil pebble
#

Hi

#

Anybody here

west plume
#

btn1 = tk.button(root, text="Search",command=lambda:showSubReds)
btn1.pack()

#

AttributeError: module 'tkinter' has no attribute 'button'

gentle flint
gentle flint
stuck furnace
#

It sounds like you're actually on a hovercraft @gentle flint

#

I cannot

#

It was an open goal

gleaming perch
#

hi guys

stuck furnace
#

Like this: f"My name is {name}."

#

@whole bear

whole bear
gentle flint
stuck furnace
#

This is one of those things that seems like it should be simple, but actually ends up being a bit complicated.

#

Oh right.

#

Could you do this:

#

f"{Fore.BLUE}{word}{Style.RESET_ALL}"

balmy nymph
#

Fore.BLUE + word" ain't a thing too?

whole bear
#

print("We live on a lake. Today {}" .format(person), "tested" + Style.RESET_ALL)

stuck furnace
#

Have a look at my suggestion.

#

One sec

#

I'm a slow typer

#

print(f"We live on a lake. Today {Fore.BLUE}{person}{Style.RESET_ALL}")

#

Note the f before the string

#

Yeah, so these are called format-strings

#

they're the same as .format()

#

but a bit nicer to use.

#

Nice

#

No prob

gentle flint
#

👏 👏 👏

stuck furnace
#

Erm, kind-of

#

Just use f-strings

#

I never use .format()

#

Anything in the {...} gets evaluated and converted to a string, then put into the string.

gentle flint
#

f"hello {x}"
is the same thing as
"hello {}".format(x)

stuck furnace
#

it's a bit technical, but gives examples

whole bear
#

world = "world"
print("Hello" + world)

stuck furnace
#

Yep

#

Concatenation means to put one after the other and glue them together.

ember hazel
#

user_input = input("Whats your name")
print("hi" + user_input)

stuck furnace
#

It's probably the same efficiency, but f-strings look nicer.

#

The official tutorial is pretty good btw.

gentle flint
#

automate the boring stuff is better

stuck furnace
#

Bye

#

Go on...

#

So, you need to surround the text you want to color with those values

#

Fore.COLOR and Style.RESET_ALL

#

Erm, idk, I've never used this library before

#

But if you mean the f-strings, then yeah

whole bear
#

print(f{Fore.RED}"We live on a lake. Today{Style.RESET_ALL} {Fore.BLUE}{person}{Style.RESET_ALL} tested")

stuck furnace
#

Ok, the first part needs to be inside the f-string

#

But other than that, it looks ok

#

print(f"{Fore.RED}We live on a lake. Today{Style.RESET_ALL} {Fore.BLUE}{person}{Style.RESET_ALL} tested")

#

Yep

#

The {} contain an expression

#

The expression is evaluated

#

Then converted into a string

#

Then pasted into the f-string

#

Got there before me

#

Hmmm

#

I'm not a Windows guy sorry

#

I assume so

#

Basically, the Fore.RED is just an escape sequence that the terminal interprets as 'make everything from this point onwards red'

#

Yeah

#

Yep

#

You could even use a multi-line string to simplify it more

#

Yep

#

like this

#
print(f"""Line 1
Line 2
Line 3.""")
#

Yep

#

Yeah, the newlines will be in the string.

#

'\n' is the newline character

#

So you could also do print("line 1\nline 2\nline 3")

#

But that's not as readable

#

Yeah, whatever is between those quote marks is the string as you see it.

#

You still need the f at the front to make it an f-string.

#

copy and paste it here

#

The original code

#

actually nvm

#

Probably better if you do it.

#

It's pretty popular

#

text editor?

#

Personally, I use Vim.

#

But that's a different story.

#

You can boot linux from a USB stick I think.

#

so anyway...

gleaming perch
#

hellooooooooo

stuck furnace
#

Yeah everyone's muted 😆

gleaming perch
#

ye

#

ADragonsArmy

stuck furnace
#

I'm just self-conscious about my voice

gleaming perch
#

yes

#

hes right

#

idk how python works

#

im new

stuck furnace
#

You could do that

#

save a few characters of typing

#

Ok...

#

Right ok

#

The printed text?

#

Hmm, it depends where you create the f-string.

#

Ok, then it should work.

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

whole bear
#

person = input("Type a name")Sam

print(f"Your name is {person"}

person = input("Type a new name")Greg

print(f"Your new name is{person}"

stuck furnace
#

Yep

#

If you want to load the mad-lib from a file, you might need to go back to .format() funnily enough

#

It just occurred to me.

#

Yeah

#

Right right

#

Right ok

#

I think I remember there being a text-based space-simulator game

#

Like a moon-landing simulator

#

That you control with text

#

I love the idea of a text-based game with a really rich back-end.

#

Like it's this complicated simulation, but you only see text.

whole bear
#

person = input(Fore.BLUE + "Type the name of a Person: " + Style.RESET_ALL)
exclamation_one = input("Type an Exclamation statment: ")
verb_one = input("Type a verb: ")
verb_two = input("Type another Verb: ")
place_one =input("Type the name of a Place: ")
place_two = input("Type another Place: ")
noun_one = input("Type a Noun: ")
verb_three = input("Type antother Verb: ")
noun_two = input("Type another Noun: ")
exclamation_two = input("Type another Exclamation statment ")

stuck furnace
#

mhmm

#

You could do this:

whole bear
#

{verb,1}

stuck furnace
#

words = input('').split()

whole bear
#

{kick,punch,grab}

stuck furnace
#

So if they enter a b c

#

You get the list words = ['a', 'b', 'c']

#

Then you can do words[i] to refer to the ith word, counting from zero

#

like words[0] would be 'a'

#

words[1] == 'b'

#

Yes, .split() splits on whitespace

#

!docs str.split

wise cargoBOT
#
str.split(sep=None, maxsplit=-1)```
Return a list of the words in the string, using *sep* as the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, the list will have at most `maxsplit+1` elements). If *maxsplit* is not specified or `-1`, then there is no limit on the number of splits (all possible splits are made).

If *sep* is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, `'1,,2'.split(',')` returns `['1', '', '2']`). The *sep* argument may consist of multiple characters (for example, `'1<>2<>3'.split('<>')` returns `['1', '2', '3']`). Splitting an empty string with a specified separator returns `['']`.

For example:... [read more](https://docs.python.org/3/library/stdtypes.html#str.split)
whole bear
#

verb = input("Type in three verbs: ").split()

stuck furnace
#

yep exactly

#

Based on white-space

whole bear
#

Kick Punch Grab

#

Kick,Punch,Grab

stuck furnace
#

yeah

#

you could replace commas with whitespace beforehand

#

to anticipate with this situation

#

input().replace(',', ' ').split()

whole bear
#

verb = input("Type in three verbs: ").split(maxsplit+3)

stuck furnace
#

Almost

#

verb = input("Type in three verbs: ").split(maxsplit=3)

#

typo

#

+ instead of =

#

hmm, actually

#

if you do maxsplit=3

#

anything after the second (third?) split will be combined

#

I think

#

Yeah, so

#

'a b c d'.split(maxsplit=2) returns ['a', 'b', 'c d']

#

It might be better to not use the maxsplit argument, then just ignore everything after the third element

#

Or you could explicitly throw it away like this:

#

mylist = mylist[:3]

#

That keeps the first three elements.

#

You mean...

#

verb = input("Type in three verbs: ").split()[:3]

#

All in one line?

whole bear
#

verb = input("Type three verbs: ").split()
verb = verb[:3]

stuck furnace
#

yep, that would work

#

But, on one line would also work.

#

yep

#

Have you learned about string slicing yet?

#

Ah right

#

You're learning from videos?

#

Should be

whole bear
stuck furnace
#

Ah

#

Ok

#

Or you can type it in one of the available help channels @tawny obsidian

tawny obsidian
#

a=int(input("Enter the 1st number"))
b=int(input("Enter the 2nd number"))

print("MENU")
print("1. Addition")
print("2. Subtraction")
print("3. Multiplication")
print("4. Division")

print("Select any one operation from the menu and enter the corresponding number bellow")
x=int(input("Choice"))

print("RESULT:-")
if(x==1):
print("Addition of two number="),a+b
if(x==2):
print("Subtraction of two number="),a-b
if(x==3):
print("Product of two number="),a*b
if(x==4):
print("Division of two number="),a/b

stuck furnace
#

hmm

#

Maybe its this: print("Addition of two number="),a+b

tawny obsidian
stuck furnace
#

Should be print("Addition of two number=", a+b)

#

The a+b needs to be inside the print

#

No prob

tawny obsidian
#

thank u @stuck furnace

stuck furnace
#

Anyway, @whole bear that looks alright

#

Those videos I mean

#

If they can get you through the basics in 4-hours, you might aswell binge watch that.

#

Cool

#

It's mostly important to have a structured learning environment

#

Yeah sure, go ahead

severe elm
stuck furnace
#

Sorry, I wasn't really listening

#

Yo

gentle flint
#

@stuck furnace does my mic work

#

thanks

stuck furnace
#

Yeah, maybe sensitivity is a bit low.

gentle flint
#

I'm using PTT

stuck furnace
#

Ah right

whole bear
#

We live on a lake. Today ['Sloane'] tested

stuck furnace
#

hmm, the brackets denote a list

#

Maybe you haven't got to that part of the tutorial

gentle flint
#

a list containing one string, in this case

stuck furnace
#

So you need to get the string from the list

#

mylist[0]

ember hazel
#

yo i just cant connect to internet in my app.. can anyone help?

whole bear
#

import colorama
from colorama import Fore, Style
bl = Fore.BLACK
b = Fore.BLUE
r = Fore.RED
y = Fore.YELLOW
g = Fore.GREEN
rs = Style.RESET_ALL

person = input(f"{b}Type the name :{rs}").split()[:1]

print(f"""{r}We live on a lake{rs}{bl}.{rs} {r}Today{rs} {b}{person[1]}{rs} {r}tested{rs}""")

#

Type the name :Sloane
Traceback (most recent call last):
File "c:/Users/NEVER/Documents/test/test.py", line 14, in <module>
print(f"""{r}We live on a lake{rs}{bl}.{rs} {r}Today{rs} {b}{person[1]}{rs} {r}tested{rs}""")
IndexError: list index out of range
PS C:\Users\NEVER\Documents\test>

stuck furnace
#

Ok, I see

#

The first element of a list is 0

#

Yeah exactly

#

Think of it as denoting the number of elements before (but not including) that element.

#

You could replace {rs}{bl} with {bl}.

#

Well, you do, but if you're setting a different foreground color immediately after there's no need to reset the foreground color.

#

You could do input(f'{bl}') I think

#

If you set the color, at the end of the input prompt, that should color the code entered by the user I think.

#

Yep

#

Nice

#

Alright, cya and good luck

#

No prob

ember hazel
azure kayak
#

hi

stuck furnace
#

yo

azure kayak
#

whats going on

stuck furnace
#

Not much, it's morning here

azure kayak
#

me to

#

9 40 am

stuck furnace
#

Yeah same

azure kayak
#

wher u live

ember hazel
#

wtff

azure kayak
#

wtf

stuck furnace
#

Erm, @native terrace something wrong with your mic?

gentle flint
#

@native terrace wtf

stuck furnace
#

Alright

azure kayak
#

echo

gentle flint
#

echo

#

cheese grater noises

azure kayak
#

lo

gleaming perch
#

wtf

gentle flint
#

dude

ember hazel
#

imaooo

gentle flint
#

get a new mic

gleaming perch
#

OW

gentle flint
#

or use your phone

gleaming perch
#

STOP

#

fucj

azure kayak
#

OUCH

gleaming perch
#

FUCK

ember hazel
#

throw your computer

gleaming perch
#

stop plz

#

xd

stuck furnace
#

Guys, right click and select mute

gentle flint
#

done

azure kayak
#

o

#

o

#

thhere is a echo

gleaming perch
#

yes

#

big echo

stuck furnace
#

I generally 'assume good faith'

gentle flint
#

same

#

but

#

he needs to fix it

azure kayak
#

yes now

#

still echo

#

good

#

yes

#

Zemba u got echo

#

no

gentle flint
#

you cannot be wearing headphones

azure kayak
#

yes

#

good

#

better

#

lol

stuck furnace
#

Hmm, just make sure it's got all the essential info?

azure kayak
#

do it!

stuck furnace
#

They have members around the globe!

gentle flint
#

*the platter

azure kayak
#

i hope no one believes earth is flat here

gentle flint
#

lol same

azure kayak
#

lol

stuck furnace
#

I believe in 'doughnut earth' but only from playing Civilization too much

gentle flint
#

my readme is too long

#

rip

stuck furnace
#

Maybe add in some headings, break it up a bit.

#

Length doesn't matter if they can find the info they need quickly.

gentle flint
#

true

#

maybe a ToC

stuck furnace
#

Also, write in an 'inverse triangle' style

#

Like a newspaper article

gleaming perch
#

guys what is my status

#

is it saying im using pycharm

gentle flint
#

Also, write in an 'inverse triangle' style
?

stuck furnace
#

Basically, a summary, then a more elaborated summary, ...

#

If you get what I mean

gleaming perch
#

what does my status say

stuck furnace
#

Which I think is kind-of what you've already done

azure kayak
#

what say again

stuck furnace
#

Some guy called Joe I think

azure kayak
#

lol

#

im 12

#

its 9 54 am

#

SHUT UP

#

FUCK

gentle flint
azure kayak
#

i use vs code

#

im in BTS

#

British Summer Time

gentle flint
#

I detest summer time

azure kayak
#

yes ofc

stuck furnace
#

I am alive.

gentle flint
#

y'all should use GMT all year

#

I am dead

#

this is my ghost

azure kayak
#

🤣

#

looooool

#

ur a macro but not a man

#

micro man

gentle flint
azure kayak
#

its to much for me brain

#

lol

errant helm
azure kayak
#

i would die

#

i use npm and pip

stuck furnace
#

Didn't a load of javascript apps break, because someone removed their code that like left-aligns text or something.

azure kayak
#

yes

candid venture
azure kayak
#

i do java python and js

stuck furnace
#

Someone linked that video earlier this

candid venture
stuck furnace
#

Isn't C# used for Unity programming?

gentle flint
#

2 years ago

wind star
#

C# is just microsoft java

stuck furnace
#

And it was something stupidly trivial

#

Yeah, it was kind-of a childish response.

#

The issue with doing that is possible confusion for users.

#

I would assume kik would be the official package.

#

Richard Stallman

stuck furnace
#

Yeah, that's sad.

azure kayak
#

he was a genius

stuck furnace
#

He was actually crazy, like full-blown schizophrenia.

azure kayak
#

like albert einstin

#

lool

stuck furnace
#

Have you seen the film 'A Beautiful Mind'?

hushed elm
#

temple 0S

stuck furnace
#

About John Nash

azure kayak
#

lool
-/

#

?

stuck furnace
#

I think it's kindof a gimmick

#

WT.Social is supposed to be an another alternative to twitter

#

And it's actually active.

#

talk about what? I didn't hear

#

Ohhh, right

#

Yeah, it turned out a lot of that was overblown

#

Yeah, but I gather it was completely unsubstantiated

#

I'm all for people being held accountable

#

But in this instance I'm not convinced he did anything wrong

#

And I think he's probably autistic

azure kayak
#

yes

gentle flint
#

which is in no way an excuse

candid venture
#

just saying

#

fizzbuzz is boring

#

idk why i coded it

#

its boring and shit

stuck furnace
#

I actually agree with you about random numbers.

#

'randomness' is about uncertain knowledge

azure kayak
#

ye

stuck furnace
#

This is actually an area that I'm fairly knowledgable in.

azure kayak
#

randomness of weather

stuck furnace
#

Probability is actually subjective

#

Demonstration:

#

I just flipped a coin; what is the probability that it's heads?

azure kayak
#

50%

stuck furnace
#

But I can see the coin.

#

So it can't be 50% for me.

#

It's either 0% or 100%.

azure kayak
#

ok

#

i understan

stuck furnace
#

But now if I tell you it is heads, what is the probability?

azure kayak
#

of what

stuck furnace
#

of heads

azure kayak
#

100%

stuck furnace
#

Yeah, exactly

#

The probability changes as you get more information.

#

The probability distribution is a summary of the information you have about the system.

azure kayak
#

ok

#

ive been doing minecraft plugin modding

ember hazel
balmy nymph
#

o/

azure kayak
#

awkward silence

#

yes

#

?

balmy nymph
#

We all agree with you

azure kayak
#

some bad guy music

balmy nymph
#

PyDis is quiet, that's weird

#

Yeah true

#

Technically not a bug, just a bad UI design

errant helm
balmy nymph
#

Hey

#

Still not on my computer haha

#

I do have a computer

#

I'm just.. Rarely using it

azure kayak
#

gtg goodbye ill be back soon tho

balmy nymph
#

Cya

balmy nymph
#

How what work?

#

Ah yeah

#

They are TODOs fucking everywhere haha

#

I admit, my code is very messy

jovial meadow
balmy nymph
#

Lol

gentle flint
stuck furnace
#

I honestly don't know.

balmy nymph
#

Trump is running again for the new election I guess?

#

Ah yeah

#

I've made one class per infraction type, 'cause why not

stuck furnace
#

I think pythontutor links here now.

balmy nymph
#

I think I joined this server for a school project, just typed python in the join box

#

Time to eat, cya o/

stuck furnace
#

cya

balmy nymph
#

Get started with what?

stuck furnace
#

Can anyone watch the stream?

#

I'm nosey

#

Not the cat's pyjamas?

gentle flint
#

lol

#

nah

errant helm
#

Let's go, folks

#

there's a reason I'm suggesting it

gentle flint
#

wut

errant helm
#

Head down to the games channel

stuck furnace
#

well, this is exciting

balmy nymph
#

The great migration

gentle flint
#

followed by the great remigration