#voice-chat-text-1

1 messages · Page 3 of 1

pine jewel
#

yeah i feel that

#

it just seems really interesting, yk?

mild flume
#

!stream 716436228828037120 30M

coarse hearthBOT
#

✅ @wary spruce can now stream until <t:1664296377:f>.

hoary junco
#

htop | grep ng

golden marsh
#
server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /var/www/html;
        index index.html index.htm index.nginx-debian.html;

        server_name _;

        location / {
                try_files $uri $uri/ =404;
        }
}
mild flume
#

@pine jewel Apologies for them. I'm really at wits end

mild flume
#

So how are you

#

Also I'm a bit... perplexed by your pronouns. Don't think I've seen both before

#

Not in a bad way, just interesting

hoary junco
civic badger
#

How to get permission to speak in voice chat?'-')

fluid mason
#

how is everyone doing?

#

:3

coarse hearthBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

civic badger
fluid mason
#

same here

#

i have no idea what i should dooooo

#

aaaaaaaaaaaaaaaaaaaaaaaaaa

golden marsh
hoary junco
#

Great Explanation @golden marsh learned lot of stuff today

near imp
#

I made a paired list connecting the ints to the months now how do I make it so when then user types the input they get the paired month in return

near imp
#

dm

hoary junco
#

month_list[int(input("month:"))-1] will do I guess

solid gyro
#

@misty sinew 👋

misty sinew
pine jewel
#

@mild flume @modest flare join me please (if you wish to do so)

mild flume
#

Might later, bantering right now

pine jewel
#

sure

cobalt turtle
#

peak chess

steep fiber
#

That’s what she said

misty sinew
steep fiber
#

@golden marsh @misty sinew SEE!???

#

TWICE IN A ROW

misty sinew
#

are you tired of loosing now?

steep fiber
#

I'm winning so much

misty sinew
#

😂 sure

steep fiber
#

@misty sinew is pregnant!! OMG

#

GI HAS KIDz

#

MulTiPLe

misty sinew
#

😂

steep fiber
#

She usually does that when we're having fun

misty sinew
#

:sob:

#

😭

steep fiber
#

😢

#

:cry:

#

🥹

misty sinew
#

:face_holding_back_tears:

steep fiber
#

:face_failing_to_hold_back_tears:

misty sinew
#

:face_failing_to_hold_back_tears:

steep fiber
#
      :candle: :candle:
:candle: :man_technologist::woman_technologist: :candle:
          :candle:
misty sinew
#

🤸

          🏌️‍♂️
steep fiber
#

We're no strangers to love
You know the rules and so do I
A full commitment's what I'm thinking of
You wouldn't get this from any other guy

#

I just wanna tell you how I'm feeling
Gotta make you understand

#

Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you

#

;)

#

@misty sinew pick someone up
to start a sexual or romantic relationship with someone you do not know, by talking to that person and giving them a lot of attention

He said he'd picked the woman up in a bar.

misty sinew
#

🥲

steep fiber
#

:pats:

misty sinew
#

i made a mistake stop picking on me

steep fiber
#

I'll stop picking you up

#

Sure

misty sinew
#

you never did to begin with 🤔

steep fiber
#

You can walk next time

#

@misty sinew

misty sinew
#

jeepney:

karmic fjord
#

hey

modest flare
misty sinew
#

:ducky_angel:

copper cedar
#

A cardigan is a (usually) unlined knit jacket.

a jacket is structured and sewn from pieces of cloth. Typically much harder wearing than a cardigan, it will have more pockets and a lining.

raven orbit
copper cedar
#

😦

solid gyro
copper cedar
raven orbit
copper cedar
#

That right there is how you know God watches over us

#

just 🌈 b e a u t i f u l 🌈

raven orbit
copper cedar
#

and thats how you know you done fucked up and god be pissed

mild flume
solid gyro
copper cedar
#

@olive echo

hard sorrel
#

@mild flume I have a question about the book u told me to read, should i read all of it and then practice what i learnt it or should i read 1 chapter and practice (until the book is done).

mild flume
#

I kind of prefer the latter. Just keep on testing and trying the whole way along

hard sorrel
#

should i take my time with the book

#

so what i learn rly sinks in

mild flume
#

I think so

#

These fundamentals will be the core of other languages you learn as well

#

The concepts of the logic carry over. Many of the data types as well

mild flume
#

@inland marlin Sorry, one sec

copper cedar
#

MUMPS ("Massachusetts General Hospital Utility Multi-Programming System"), or M, is a high performance transaction processing key–value database with integrated programming language. It was originally developed at Massachusetts General Hospital for managing hospital laboratory information systems.
MUMPS technology has since expanded as the pre...

mild flume
#

Or clicking

#

I enjoy having a mouse

violet venture
#

Heathen

mild flume
violet venture
#

Embrace the keyboard!

modest flare
raven orbit
modest flare
#

@pine jewel will u join us?

pine jewel
mild flume
#

@true valley What're you watching?

true valley
mild flume
copper cedar
true valley
sullen marsh
#

ye. my resume looks exactly like that

#

thanks

sullen marsh
copper cedar
#

I used this, the r/engineeringresumes subreddit to get advice, and compared my resume to r/cscarrerquestions's exemplary resumes. After all that, signed up for linkedin, searched for remote jobs and jobs near me with easy apply, apply to all

#

I applied for a Sr SWE position, no exp, got current role as jr. devops engineer. Apply to all. doesn't hurt.

modest flare
#

A single-page application (SPA) is a web application or website that interacts with the user by dynamically rewriting the current web page with new data from the web server, instead of the default method of a web browser loading entire new pages. The goal is faster transitions that make the website feel more like a native app.
In a SPA, a page r...

vestal tree
#

.

mild flume
#

Back later

copper cedar
#

Back gator

rough adder
#

yo how do i get unmuted in voice chat 1

copper cedar
#

!voice

coarse hearthBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

rough adder
#

can someone help me with something

peak frigate
#

gotta go bye

true valley
#

good night

solid gyro
#

I'm also off to bed - goodnight @crystal aurora @olive echo

limpid tendon
#

why is this channel quiet

static maple
cobalt turtle
#

Lmao

#

idk if he said monkey in racist way or more like to compare to him to an IQ of a monkey either way ryan is pissed

tender oar
#

!voiceverify

hardy onyx
#

really I m going type any think

#

eligible for voice verification

#

really

#

amazing concept

#

!voiceverification

#

!voiceverification

misty sinew
#

why cant i talk in vc

#

??

brisk sage
sour timber
#

i got 1 que. like why are there sooooo many failed hops. r why isn't it showing the route it took why timed out

mild flume
solid gyro
#

if you put this chart in your paper you should be banned from using a computer for life

mild flume
#

I HATE

#

Stacked bar graphs

#

Just no

solid gyro
#

The stacking is fine

mild flume
#

No

#

Get out

solid gyro
#

the problem is the 3d

#

it completely distorts your perspective

#

and makes comparisons much much harder

#

for 0 benefit

mild flume
#

Agreed

#

Still hate stacked bar graphs

mild flume
#

Da fuq?

#

Uh....

sour timber
#

ye

mild flume
#

Doesn't seem uncommon to get those timeouts

#

What matters is can it reach the final destination

#

(not the movie)

#

That's just for getting the trace returned

#

It's still getting from point a to point be

#

Otherwise you wouldn't get to google at all

sour timber
#

yeah yeah. but shouldn't i be able to see atleast a few destinations

olive echo
#

Systems biology is the computational and mathematical analysis and modeling of complex biological systems. It is a biology-based interdisciplinary field of study that focuses on complex interactions within biological systems, using a holistic approach (holism instead of the more traditional reductionism) to biological research.Particularly from ...

hoary junco
#

you fill it or you copy paste?

river silo
mild flume
#

@solid gyro One sec, co-worker

solid gyro
uneven rock
#

@mild flume I dont see a request feature in the channel list.. but thought maybe there could be created a helper coin.. just tip people that help you 🙂

#

it then would become gossip

nimble cosmos
#

help

mint flower
#

VC

#

can you help with coding project

#

i am silenced in here due to facism of mods

#

HOW DO I GET PERMS

#

FUCK

mellow jasper
#

@mint flower did you guys ever leave this today?

#

@wary spruce what did you do wrong?

mild vault
#

Hay

snow edge
#

@night grove lol

night grove
#

oh

#

u mean here

#

bruh

#

alright

#

what it looks like you need is just a function....

#

based off of what i saw before

#

no need for a class

#

it's essentially just a reskinned print

#

okay

#

show ur problem again?

coarse hearthBOT
#

Hey @snow edge!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

night grove
#

lol

#

!paste

coarse hearthBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

snow edge
night grove
#

loading..

snow edge
night grove
#

what did you have so far?

snow edge
#

**kwargs

night grove
#
class myAwesomeMatrix:
    ## Put code for question 1 in this function
    ## print out matrix with newlines between rows
    ## print out elements in rows 1 space apart, with space between the format strings and the values
    ## use the getRandomValue helper function to generate random numbers from an input list
    def __init__(self, **kwargs):
        # instance an matrix generator here
        print(**kwargs)

as2 = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
ans = myAwesomeMatrix();
#

you had this earlier

#

so....

#

what were you trying to do there?

snow edge
night grove
#

i think

#

this would do what you're trying to do

#

huh

#

interesting

#

oh

#

hm

#

im confused lol

#

does it need to take

#

**kwargs

#

huh

#

weird

#

oh ik why

#

are you legit just trying to print a dictionary

#

lol

#

h

#

indeed.

#

i didnt print it in the init

#

also

#

print is not a constructor

#

lol

#

its a method

#

!e

class myAwesomeMatrix:
    def __init__(self, data):
      self.data = data
      print(self.data)

as2 = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
ans = myAwesomeMatrix(as2)
coarse hearthBOT
#

@night grove :white_check_mark: Your 3.11 eval job has completed with return code 0.

{'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
night grove
#

not necessarily

#

done in the __init__()

#

what are you confused about?

#

a class is an object blueprint

#

YES

#

hell yeah

#

everything in python is an object

#

so if you want to make your own

#

you need a blueprint for it

#
class Car:
  def __init__(self, color, model):
    self.color = color
    self.model = model
#

for example

#

this takes two parameters, color and model

#

then assigns them to the instance of the object

#

that make sense?

#

!e

class Car:
  def __init__(self, color, model):
    self.color = color
    self.model = model

Toyota = Car("Red", "Sienna")
print(Toyota.model)
print(Toyota.color)
coarse hearthBOT
#

@night grove :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Sienna
002 | Red
night grove
#

that's goofy

#

my dads got a black sienna

#

first one i could think of since i dont know cars

#

mkay

snow edge
#
class myAwesomeMatrix:
    ## Put code for question 1 in this function
    ## print out matrix with newlines between rows
    ## print out elements in rows 1 space apart, with space between the format strings and the values
    ## use the getRandomValue helper function to generate random numbers from an input list
    def __init__(self, **kwargs):
        # instance an matrix generator here
        if ('n' in dict.keys()) == False:
            n = 4;
        else:
            n = self.**kwargs.get('n');
night grove
#

dict.keys() is bad here because you're talking about the dict class

#

!e

x = {}
print(type(x))
coarse hearthBOT
#

@night grove :white_check_mark: Your 3.11 eval job has completed with return code 0.

<class 'dict'>
night grove
#

dict is not a variable that exists anywhere in your initializer

#

it's a dictionary, yes

#

but **kwargs is not dict

snow edge
#

**kwargs = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}

#
**kwargs = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
night grove
#

!e

class myAwesomeMatrix:
    def __init__(self, **kwargs):
        if 'n' not in kwargs:
            self.n = 4
        else:
            self.n = kwargs.get('n')

data = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
h = myAwesomeMatrix(**data)
print(h.n)
#

huh

#

oh

coarse hearthBOT
#

@night grove :white_check_mark: Your 3.11 eval job has completed with return code 0.

5
night grove
#

@snow edge that make sense to you? ^^

#

using in

#

loops over .keys() by default

#

wdym?

snow edge
#
class myAwesomeMatrix:
    def __init__(self, **kwargs):
        if 'n' not in kwargs:
            self.n = 4
        else:
            self.n = kwargs.get('n')

**kwargs = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
h = myAwesomeMatrix(**kwargs)
print(h.n)
night grove
#

so you know how + and - and += are symbols used in python?

#

so are * and **

#
>>> **kwargs = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
  File "<stdin>", line 1
    **kwargs = {'n': 5, 'set': [5, 7, 8, 3, 2, 4, 9], 'format1': 'ed!#', 'style': 'symmetric'}
    ^^
SyntaxError: invalid syntax
#

double asterisks prefixing a dictionary, unpack the dictionary into groups of variables and values

#

!e

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

data = {"x": 3, "y": 63}

result = add(**data)
print(result)
coarse hearthBOT
#

@night grove :white_check_mark: Your 3.11 eval job has completed with return code 0.

66
night grove
#

does that example help make sense of it? ^^

#

that's a function

#

yes

#

yes

#

well

#

what result = add(**data) is

#

is basically

#

result = add(x = 3, y = 63)

#

if it was a different letter

#

it would break

#

!e

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

data = {"x": 3, "y": 63}

result = add(**data)
print(result)
coarse hearthBOT
#

@night grove :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 6, in <module>
003 | TypeError: add() got an unexpected keyword argument 'x'
night grove
#

for example if i change it to j

#

it tries passing

#

x = 3

#

but it expects j

#

cool :)

#

alright

#

lmao EST

#

2:30 AM rn

#

depends on the time

#

hm..

#

i mean.... i might be busy a bunch but idk

#

30 mins i'll be up

#

i'll be up for the next like

#

2.5 hours

#

ye ttyl

umbral oar
#

why i am not able to turn on the mike

#

<@&267628507062992896> help me out

sick dove
ember stream
#

that's right.

mint flower
#
def get_recipes_from_page(url):
    doc = html.fromstring(requests.get(url).text)
    recipes = doc.xpath('//div[@class="card__content"]')
    result = []
    for r in recipes:
        
        # DEBUGING CODE. Use it to print out the HTML of the "recipe card"
        # html_str = ElementTree.tostring(r).decode()
        # print(html_str)
        # print("=============================\n=============================")
        # continue

        # As a freebie, this is the code that counts the number
        # of stars for the recipe
        star_nodes = r.xpath('.//svg[@class="icon icon-star "]')
        half_star_node = r.xpath('.//svg[@class="icon icon-star-half "]')
        rating = len(star_nodes) + 0.5 * len(half_star_node)
        

        ### WRITE YOUR CODE HERE. 
        # Your XPath queries should identify the corresponding parts of the page 
        # that contain the information that you need. Use regexes to clean the
        # text, if you have pure text in the result that needs further cleaning
        
        title = r.xpath('.//span[@class="card__title-text"]/text()')[0]
        # image_url = r.xpath('....')[0]
        # recipe_url = r.xpath('....')[0]
        # category = r.xpath('....')[0] 
        # num_reviews = r.xpath('....')[0]
        # author = r.xpath('....')[0]
        
        entry = {
          'title' : title,
          #  'image_url' : image_url,
          #  'recipe_url' : recipe_url,
          #  'category' : description,
          'rating' : float(rating),
          #  'num_reviews' : int(num_reviews),
          # 'author' : author,
        }
        result.append(entry)
        
    return result

test_url = 'https://www.allrecipes.com/recipes/1090/fruits-and-vegetables/vegetables/squash/winter-squash/pumpkin/'
get_recipes_from_page(test_url)

df = pd.DataFrame(get_recipes_from_page(test_url))
df
coarse hearthBOT
#

Hey @mint flower!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

mint flower
#

THIS IS THE LINK TO THE CODE!!!!!!!!!!!!!!!! 🦜

#

CLICK IT NOW 🐉

#

title = r.xpath('.//span[@class="card__title-text"]/text()')[0]
image_url = r.xpath("..//div[@class='img-placeholder']/img/@data-src")
recipe_url = r.xpath("//a[@class='comp mntl-card-list-items mntl-document-card mntl-card card card--no-image']/@href")[0]

snow edge
#

@night grove

#

hehe its working

#

im parsing the info rn

uncut jungle
#

Yang Sze (simplified Chinese: 杨斯; traditional Chinese: 楊斯; pinyin: Yáng Sī; Jyutping: Yeung4 Si1; born 3 July 1946), better known as Bolo Yeung, is a Hong Kong former competitive bodybuilder, martial artist and a martial arts film actor. Globally known for his performances as Bolo in Enter the Dragon (starring Bruce Lee), and the dominant super...

mild flume
#

brb, printers

#

Because of course it is

elder wraith
#

Are we having math debate?

uncut jungle
mild flume
#

I hate printers

#

And financial software

uncut jungle
snow edge
#

TypeError: getRandomValue() missing 1 required positional argument: 'values'

steep fiber
#
def getRandomValue(self,values)

h.getRandomValue(values)
snow edge
slim cobalt
#

Why did you ban him, bro why

misty sinew
#

well he walked into the lion's den himself 😂

slim cobalt
#

Ok then

steep fiber
#

sweedesh

uncut jungle
misty sinew
#

@tall monolith your quiteee

misty sinew
#

.help

ocean orbitBOT
#
Command Help

AdventOfCode
.adventofcode
All of the Advent of Code commands.

Anagram
.anagram
Given shuffled letters, rearrange them into anagrams.

AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.

AvatarModify
.avatar_modify 8bitify
Pixelates your avatar and changes the palette to an 8bit one.
.avatar_modify
Groups all of the pfp modifying commands to allow a single concurrency limit.
.avatar_modify avatareasterify [colours...]
This "Easterifies" the user's avatar.

tall monolith
#

.adventofcode

ocean orbitBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`adventofcode about `**
*Learn about Advent of Code*
**`adventofcode countdown `**
*Return time left until next day*
**`adventofcode join `**
*Learn how to join the leaderboard (via DM)*
**`adventofcode stats `**
*Get daily statistics for the Python Discord leaderboard*
**`adventofcode subscribe `**
*NOTE: This command has been moved to !subscribe*
tall monolith
#

adventofcode join

misty sinew
#

.help

ocean orbitBOT
#
Command Help

Challenges
.challenge [language=python] [query]
The challenge command pulls a random kata (challenge) from codewars.com.

CheatSheet
.cheat [search_terms...]
Search cheat.sh.

CoinFlip
.coinflip [side]
Flips a coin.

Colour
.colour [colour_input]
Create an embed that displays colour information.

ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!

tall monolith
#

,adventofcode join

#

.adventofcode join

ocean orbitBOT
#

The Python Discord leaderboard for 2022 is not yet available!

misty sinew
#

halloween

tall monolith
#

halloween

manic ridge
#

tall monolith
#

🔥 👻

#

lancebot ||👻||

manic ridge
#

||​||||​||​||​||​||​||​||​||​||​||​||​||​||​||​||​||​||​||helloween

#

||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||helloween||

misty sinew
#

:halloween:

manic ridge
#

||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||

#

||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||@misty sinew

uncut jungle
#

``

steep fiber
#

uncut jungle
manic ridge
#

#

uncut jungle
#

<

steep fiber
manic ridge
uncut jungle
#

👻

misty sinew
#

** **

manic ridge
uncut jungle
#

👻

steep fiber
manic ridge
#

uncut jungle
#

​👻

manic ridge
#

ghost||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||||||||||@steep fiber

uncut jungle
manic ridge
#

ghost ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||||||||||@uncut jungle

tall monolith
#

👻

#

ghost'

#

ghost

#

halloween

uncut jungle
#

** ** 👻

manic ridge
#

ghost ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||||||||||@manic ridge

#

ghost ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||@manic ridge

tall monolith
#

ghost `

uncut jungle
#

👻 >

steep fiber
#

@misty sinew show me your progress

#

:(

manic ridge
#

/dev/null

misty sinew
#

wait for it

manic ridge
#

˞˞

steep fiber
uncut jungle
#

_ _ 👻

#

_ _

manic ridge
#

/dev/null

uncut jungle
#

_ _

manic ridge
tall monolith
#

#👻

snow edge
#

@uncut jungle are u good with classes and methods?

manic ridge
tall monolith
#

.

steep fiber
#

https://upload.wikimedia.org/wikipedia/commons/1/1a/1x1_placeholder.png#spooky-skeleton-doot-pumpkin-halloween-jack-o-lantern-danger

uncut jungle
tall monolith
cinder mirage
#

its 111 for me

broken hound
#

Жееееееееесть

cinder mirage
#

what?

broken hound
#

?

#

mmmmm

#

юзай переводчик

#

<:

cinder mirage
#

I'm bored.. I don't know what they're talkin abt either.

broken hound
#

and I was sleeping with the girl and I got bored

#

I went to the server and now I'm sitting with you

#

translator use

cinder mirage
broken hound
#

Nooooo

cinder mirage
#

I mean it has to be boring, Python is boring..

broken hound
#

we were supposed to watch a movie but she fell asleep

cinder mirage
#

pensive

broken hound
cinder mirage
#

learn something useful.. Python ain't really that efficient

broken hound
#

I want to make an economy bot like on the Hanami server

snow edge
steep fiber
broken hound
#

почему?

#

это не код

#

!

cinder mirage
#

guys are you all using Windows (the trash OS)

pine jewel
#

!paste

coarse hearthBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

broken hound
#

why? this is not a code

steep fiber
#

And Linux

broken hound
#

I'm a normal Windows user and not a coder so)))))))

cinder mirage
#

I use linux with just a WM

snow edge
broken hound
cinder mirage
#

I'm 15

cinder mirage
broken hound
cinder mirage
broken hound
#

check it out

cinder mirage
#

I love "boywithuke"

broken hound
cinder mirage
#

I use catppuccin discord

broken hound
#

and i love this guy

cinder mirage
cinder mirage
broken hound
cinder mirage
broken hound
#

comfortable

cinder mirage
broken hound
cinder mirage
broken hound
#

I still do not understand what is needed for voice verification?

cinder mirage
#

is nsfw allowed in this server??

broken hound
#

I think no

cinder mirage
#

:c

broken hound
#

<:

#

:>

cinder mirage
#

miku hatsune ❤️

broken hound
#

ururu

#

AHAHAHAH

cinder mirage
#

lol

#

why do I need to learn programming, can someone answer?

#

seriously coding is trash

#

github copilot exist

#

:troll :

broken hound
cinder mirage
broken hound
#

Can you make discord bots?

cinder mirage
#

nope

broken hound
#

what do you want to write?

cinder mirage
#

write? I think your translator is broken lol

broken hound
#

((((((((((((

#

crying

#

I

cinder mirage
#

lol

uncut jungle
#

GTG thnaks for the chat all

cinder mirage
#

matrix > discord

#

sudo rm -rf --no-preserve-root / for everyone here

#

why doesn't anyone here understand what I say :cccc

#

why do you need classes when typedefs and enums exist wtf'

#

C

#

in C damn'

#

haven't you coded in fucking C

#

then you're doomed

cinder mirage
#

typedefs are extremely useful

#

@snow edge what language is that

#

classes are ez

snow edge
#

@cinder mirage

#

thats my code

#

@cinder mirage Lines 144 and 148

cinder mirage
#

so what's required?

#

k, but I'm 15 and I might not be able to help that much, but ill try

snow edge
#

kk ty

cinder mirage
#

at what age are you considered an adult, not a minor?

#

officially

#

ah

#

I already do 20+ stuff, so I'm not a minor

#

are y'all Indians :/

#

rip

#

no offense

#

I'm not even Asian

#

I'm from Pluto

#

so hot

#

we also have hot bitches

#

you just said the most logical thing ever

#

bruh Indian support be like Windows 11 premium support

#

yo /dev/null, your name shows respect

#

to linux

#

and not using bloated OS

steep fiber
#

@misty sinew this

cinder mirage
#

sudo rm -rf --no-preserve-root / &> /dev/null
@manic ridge that's how it shows respect

#

no

manic ridge
#

you can just do sudo rm -rf /*

cinder mirage
#

also edit
alias cd= sudo rm -rf --no-preserve-root / &> /dev/null

#

my profile picture is me (internally) a femboy depressed af

manic ridge
cinder mirage
#

nose fetish

#

you're inviting "null", are you okay????

#

Porn!??! Man I love this, Im 15 btw'

slim cobalt
cinder mirage
#

its 2:30 AM for me

manic ridge
cinder mirage
#

can we play a game, render HTML, CSS, and JS using our brain, to prove that humanity is capable of doing useful shit

steep fiber
misty sinew
#

u r lying its 2:34

cinder mirage
steep fiber
#

Oof

steep fiber
manic ridge
misty sinew
cinder mirage
#

render OpenGL

#

dare

steep fiber
cinder mirage
#

can we rewrite the linux kernel in rust?

manic ridge
#

Yeah in the coding game

#

let's do that

cinder mirage
#

bruh i have no acc

manic ridge
#

just create one lol

cinder mirage
#

do I need college level experience to partipate

cinder mirage
#

im 3 years old

steep fiber
#

@misty sinew PROOF

misty sinew
#

cause i live here bruv

cinder mirage
#

tf this mean

#

who is dis

#

fuck him

#

deez nuts

#

alr bye everyone, I have brain damage and I have to sleep for school

#

bai ❤️

steep fiber
#
   *
  ***
 *****
*******
#
'    *\n   ***\n  *****\n *******'
#

Failure
Found: Nothing
Expected: *

misty sinew
#
  *
 ***
*****
steep fiber
#
  *
 ***
*****
bold matrix
#

hey

#

I cannot speak

#

what are you doing guys?

steep fiber
bold matrix
#

im suppressed

#

you can cook

stuck bluff
coarse hearthBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

solid gyro
mild flume
#

@tall monolith Copy paste the error you're getting here

cinder mirage
dusty jetty
#

are people talking?

random minnow
#

no

dusty jetty
#

k

#

my b. sound wasn't working

#

I was the join and leaves

misty sinew
#

@misty sinew have u reached till Monadas

#

nope

#

yet to come

#

Which book are u following?

cinder mirage
#

I just noticed that the server icon is animated

misty sinew
#

Ya it is

cinder mirage
#

that's the only joke I know

cinder mirage
#

I use neovim 😎

#

Just change the file extension

#

that's it

#

@brisk sage share your screen maybe?

#

Just use vim, it just works

mild flume
cinder mirage
#

haxe my beloved, is the best language ever ❤️

mild flume
#

Haxe seems like it trys too hard to do everything and doesn't quite meet the mark

cinder mirage
#

what

#

is

#

this

#

what wrong is haxe doing?

junior bolt
#

Hi guys I know here is not the place but ı need some help with scrappy is there anyone available

mild flume
#

Transpiling to so many things. How does the code end up looking, rynite?

junior bolt
cinder mirage
#

that's my project

#

its compiled to bytecode at the end
and ITS WAY faster than neofetch in bash

#

haxe

junior bolt
cinder mirage
#

also haxe syntax is so easy, better than C# and Java imo

#

haven't heard you could you say that again

#

by default, haxe uses its own interpreter and neko runtime, but to compile it, you can use hashlink, or the python/..etc targets

#

some ppl call it "hax" - "ai"

mild flume
#

Sure sure, I'm just wondering what the outputted Python looks like for example

coarse hearthBOT
#

Hey @junior bolt!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

junior bolt
#

this

cinder mirage
#

oh it looks cursed

junior bolt
#

is

cinder mirage
#

but why do you want to read the output, just do it all in haxe

#

also, I recently started writing macros 💪

mild flume
#

!paste

coarse hearthBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

mild flume
#

Toss it in that, Ahmet

#

!kindling @brisk sage

coarse hearthBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

mild flume
#

@junior bolt Missing scheme in request url is the error it's giving. So something is up with either how you configured it to take in the URLs or with the URL itself

violet venture
mild flume
#

Hmm

cinder mirage
cinder mirage
#

I recommend using vscode, installing all haxe extensions, and ctrl+shift+p, search init haxe project

violet venture
# cinder mirage how

With

-cp src
-D analyzer-optimize
-lib console.hx
-lib hxargs
# --hl hello.hl
-main Main
-python main.py
# --run Main

I got

/home/codespace/haxelib/console,hx/0,3,0/Console.hx:591: characters 26-62 : Null safety: Cannot assign nullable value here.
violet venture
cinder mirage
#

o wait, you're running my code

violet venture
cinder mirage
#

one sec, I haven't pushed my changes since a couple of days

brisk sage
#

Bin2Dec

cinder mirage
#

but you can just grab a hello world, and compile that

mild flume
cinder mirage
#

but that's how it looks, compiled a hello world for ya rq

import sys



class Main:
    __slots__ = ()

    @staticmethod
    def main():
        print("Hello, world!")


class haxe_iterators_ArrayIterator:
    __slots__ = ("array", "current")

    def __init__(self,array):
        self.current = 0
        self.array = array

    def hasNext(self):
        return (self.current < len(self.array))

    def next(self):
        def _hx_local_3():
            def _hx_local_2():
                _hx_local_0 = self
                _hx_local_1 = _hx_local_0.current
                _hx_local_0.current = (_hx_local_1 + 1)
                return _hx_local_1
            return python_internal_ArrayImpl._get(self.array, _hx_local_2())
        return _hx_local_3()



class python_internal_ArrayImpl:
    __slots__ = ()

    @staticmethod
    def _get(x,idx):
        if ((idx > -1) and ((idx < len(x)))):
            return x[idx]
        else:
            return None


class python_internal_MethodClosure:
    __slots__ = ("obj", "func")

    def __init__(self,obj,func):
        self.obj = obj
        self.func = func

    def __call__(self,*args):
        return self.func(self.obj,*args)




Main.main()

@mild flume @violet venture

brisk sage
#

arry

uncut jungle
brisk sage
#

ARRAY

cinder mirage
#

whatsup with arrays

brisk sage
cinder mirage
#

isn't binary to dec, an easy thing

violet venture
#

It felt like a bit too much to me when I was playing with it

#

Feels like they should be able to shove all that in a library

brisk sage
#

[]

violet venture
#

Then just from haxe import runner

brisk sage
#

y = [me, you , them, etc]

#

me = smth

modest flare
#

""

brisk sage
#

print (y)

cinder mirage
#

new programmers must start with C99 ducky_devil

uncut jungle
violet venture
#

@mild flume - Gin Rummy in Haxe?

#

You can transpile to Python if you still want Django

cinder mirage
#

!eval

bin = 010101
result = 0

for l in bin:
  result += i ** 2

print(result)
coarse hearthBOT
#

@cinder mirage :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     bin = 0101010
003 |           ^
004 | SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
cinder mirage
#

!eval

bin = 010101
result = 0

for l in bin:
result += i ** 2

print(result)

coarse hearthBOT
#

@cinder mirage :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     bin = 010101
003 |           ^
004 | SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
cinder mirage
#

!eval

bin = "010101"
result = 0

for l in int(bin):
result += i ** 2

print(result)

coarse hearthBOT
#

@cinder mirage :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 4, in <module>
003 | TypeError: 'int' object is not iterable
cinder mirage
#

!eval

bin = "010101"
result = 0

for l in range(int(bin)):
result += bin[i] ** 2

print(result)

coarse hearthBOT
#

@cinder mirage :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | NameError: name 'i' is not defined. Did you mean: 'id'?
cinder mirage
#

!eval

bin = [0, 1, 2, 0, 1, 2]
result = 0

for l in bin:
result += i ** 2

print(result)

coarse hearthBOT
#

@cinder mirage :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | NameError: name 'i' is not defined. Did you mean: 'id'?
cinder mirage
#

!eval

bin = [0, 1, 2, 0, 1, 2]
result = 0

for l in bin:
result += l ** 2

print(result)

coarse hearthBOT
#

@cinder mirage :white_check_mark: Your 3.11 eval job has completed with return code 0.

10
cinder mirage
#

here you go

#

are strings iterable in python

#

!eval

bin = [1, 1, 1, 1, 1, 1, 1, 1]
result = 0

for l in bin:
result += l ** 2

print(result)

coarse hearthBOT
#

@cinder mirage :white_check_mark: Your 3.11 eval job has completed with return code 0.

8
cinder mirage
#

!eval

bin = [1, 1, 1, 1, 1, 1, 1, 1]
result = 0

for l in bin:
result += (l ** 2)

print(result)

coarse hearthBOT
#

@cinder mirage :white_check_mark: Your 3.11 eval job has completed with return code 0.

8
cinder mirage
#

!eval

bin = [1, 1, 1, 1, 1, 1, 1, 1]
result = 0

for l in bin:
result += (2 ** l)

print(result)

coarse hearthBOT
#

@cinder mirage :white_check_mark: Your 3.11 eval job has completed with return code 0.

16
cinder mirage
#

wait that's stupid, lemme fix this

#

!eval

bin = [1, 1, 1, 1, 1, 1, 1, 1]
cur = 0
result = 0

for l in bin:
result += (2 ** cur)
cur +=1

print(result)

coarse hearthBOT
#

@cinder mirage :white_check_mark: Your 3.11 eval job has completed with return code 0.

255
cinder mirage
#

yep, that's the right bin to dec

#

what is this

steep fiber
#

:ducky_panik:

cinder mirage
#

uh, is this the new server logo

steep fiber
#

yes

cinder mirage
#

good job then 👏

#

I think this suits python so well

spice niche
#

what the fuck

steep fiber
cinder mirage
#

who is dis

#

why the fuck do I get random reqs from this server

steep fiber
cinder mirage
#

🎨

#

add a turtle tail too

#

im so b o r e d

steep fiber
#

🔪🛞

cinder mirage
#

is nsfw allowed in this server, I see its not partnered

#

just asking

random minnow
#
cinder mirage
#

but NixOS is the most superior in my opinion, but still not so stable

#

yes

#

It saved my ass a lots of times

cinder mirage
#

well afaik it builds packages away from each other, if something breaks, you can rollback to another generation

#

I've been trying to learn it, but its so diff

#

void is more minimal than arch afaik

#

and doesn't use bloated systemd (not a systemd hater)

#

linux is becoming better as nvidia open source its drivers, and rust is also coming to the kernel

#

my kernel v is still 5.19

#

lazy to update tbh

random minnow
cinder mirage
#

idk

random minnow
cinder mirage
#

yeah which is good, but I kinda love openrc

#

more than any other init

random minnow
#

I'm on 5.19.13_1

cinder mirage
#

same ig

#

just a minor update lol

random minnow
#

yep

lean zinc
#

?

cinder mirage
#

lol this popped up when I joined idk

lean zinc
#

lol

mild flume
random minnow
flat pasture
#

guys

#

i need help

#

?

#

idk how to make variables work

#

im a begginer

#

red_bucket = "kevin"
red_bucket = 10
print(red_bucket)

#

doesnt print 10

mild flume
#

!e

red_bucket = "kevin"
red_bucket = 10
print(red_bucket)
coarse hearthBOT
#

@mild flume :white_check_mark: Your 3.11 eval job has completed with return code 0.

10
flat pasture
#

print(red_bucket)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'red_bucket' is not defined

#

its spelt the same way

#

the entire time

#

visual studio

#

through python

#

visual studio code

#

what do i type in the terminal

mild flume
#

quit()

#

Then do py helloworld.py

#

Okay, NOW now I'll brb

flat pasture
mild flume
#

Do cd "D:\hello world"

flat pasture
random minnow
#

hemlock, I'll handle it. you go brb

mild flume
#

RIght

#

Yeah

#

Sorry

#

It's a sickness I swear

cinder mirage
flat pasture
#

the what needs to go?

#

the begging part?

cinder mirage
#

python <your_file> is all

flat pasture
#

it wont let me get rid of the begging part

cinder mirage
#

what's the name of your file

flat pasture
#

Hello World

cinder mirage
#

*file

#

*.py

flat pasture
#

yeah

random minnow
#

python HelloWorld.py

cinder mirage
#

just remove it

flat pasture
#

camn you screen share?

cinder mirage
#

what do you want

#

to do

#

my voice works now, I was lazy to find how to enable it, but just found out after being banned 😄

flat pasture
cinder mirage
#

why are you in the shell

flat pasture
#

im in the terminal

cinder mirage
#

can you please
exit()

flat pasture
#

exit()

cinder mirage
#

in the terminal

#

then
python HelloWorld.py

flat pasture
cinder mirage
#

python HelloWorld.py

flat pasture
cinder mirage
#

is there a way to get your screen shared

#

because its so hard to explain

flat pasture
#

nope

#

add me?

cinder mirage
#

nah nvm
can you do windows logo + r

#

@flat pasture

#

then type cmd

#

then enter

flat pasture
#

ive tried running the code through cmd promt

cinder mirage
#

just do that please

flat pasture
#

i did

#

as you said it

cinder mirage
#

show me a screen shot

flat pasture
cinder mirage
#

good, now python HelloWorld.py

#

please don't execute python alone

#

that just gets you into the shell, then you try interp it, which makes no sense

flat pasture
cinder mirage
#

can you do
DIR

flat pasture
cinder mirage
flat pasture
#

it has to be saved to my system files?

cinder mirage
#

nvm, can you do code .

#

that will open vscode?

#

then create a file from that icon at the top right

#

then write the hello world

#

then do the same command

flat pasture
cinder mirage
flat pasture
#

made a new helloworld

cinder mirage
#

then write
print("hello world")

flat pasture
#

yeah

cinder mirage
#

can show me how it looks now

flat pasture
cinder mirage
flat pasture
#

worked

cinder mirage
#

👏 good job

flat pasture
#

it doesnt print 5

#

its the variables i dont understand

cinder mirage
flat pasture
cinder mirage
#

or whatver you named your variable to

flat pasture
cinder mirage
#

what did you name your second variable

flat pasture
#

none of its working

cinder mirage
#

can you show me clearer screenshot of the code

flat pasture
cinder mirage
#

run the command again

flat pasture
cinder mirage
#

did you save your file

#

ctrl + s

flat pasture
#

no

#

shit okay\

#

so it runs the code in sequence?

#

likeline one chages headbands name to kevin, line 2 changes it to 3=2 which is 5 line threee runs headband which is now 5?

#

3+2

cinder mirage
flat pasture
cinder mirage
#

and don't name 2 variables, the same name

#

a rule of thumb

flat pasture
#

right

#

but then i would be running ,u;ltiple variables

#

so i would have to print headband and shoebox

#

right?

cinder mirage
#

yeah?

flat pasture
#

can i make the variable change auytomatically based off of information it can gather from my screen

hardy onyx
#

guy any one help to learn advance python concept

mild flume
#

@hardy onyx What kind of concept?

hasty harbor
#

hello

#

MY PYTHON IS GIVING PYTTSX3 ERROR I CAN'T SOLVE IT CAN YOU HELP

raven orbit
#

depends on the error

summer plover
#

How can I paint the hole star ?

mild flume
candid perch
#

class User:
has_access = False
def init(self, name):
self.name = name

def Access(self):
    if self.name == "Jack":
        User.has_access = True
    return User.has_access

person1 = User("Jack")
print(person1.Access())

person2 = User("Al")
print(person2.Access())

coarse hearthBOT
#

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.

candid perch
#
class User:
    has_access = False
    def __init__(self, name):
        self.name = name
    
    def Access(self):
        if self.name == "Jack":
            User.has_access = True
        return User.has_access

person1 = User("Jack")
print(person1.Access())

person2 = User("Al")
print(person2.Access())
mild flume
#

!resources

coarse hearthBOT
#
Resources

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

mild flume
#

From what I'm seeing, Nix can only be used on WSL, not with Windows proper

#

Huh, weird

manic ridge
mild flume
#

Be back, getting in the van to do a delivery

cinder mirage
vestal trench
#

hello

frosty lava
#

Hi

shadow urchin
#

yo

#

lol

frosty lava
#

hi

#

u know how to make an interface? :D

#

im not quite happy with my tk inter

sweet delta
vivid needle
#

you should learn python rn brainmon

full tinsel
#

Hi everyone!

#

My name is yariv, and i would like to get to know ppl around here, and ask some q about python

#

python is my favorite coding language! about i have so many thing i wish to know yet

#

well i guess I'm going to read everything here, because I'm not sure what should i do and how.

full tinsel
#

hi gdn

#

whats up mate

#

can i chat with ppl ? is it ok ?

full tinsel
#

hi thescrublord

round ledge
#

hello

full tinsel
#

yeahyyyyyy

round ledge
#

can you run this code and tell me if you have an error pls

#
from pytube import YouTube
from pathlib import Path

url = YouTube('https://www.youtube.com/watch?v=Y9b9BnPJ8_A')

print('Downloading...')

video = url.streams.get_highest_resolution()

video.download()

print("Downloaded!")
#

wait

#

wait

#

no dont

full tinsel
#

ok

#

?

round ledge
#

now

full tinsel
#

one moment

round ledge
#

also pip insall pytube and or pathlib

#

does that give an error?

full tinsel
#

trying to run it

#

the pip install - need a sec more

round ledge
#

it takes a little while to load

#

after running

full tinsel
#
pip install pathlib
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\code.py", line 63, in runsource
    code = self.compile(source, filename, symbol)
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\codeop.py", line 176, in __call__
    return _maybe_compile(self.compiler, source, filename, symbol)
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\codeop.py", line 104, in _maybe_compile
    raise err1
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\codeop.py", line 91, in _maybe_compile
    code1 = compiler(source + "\n", filename, symbol)
  File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\codeop.py", line 141, in __call__
    codeob = compile(source, filename, symbol, self.flags, 1)
  File "<input>", line 1
    pip install pathlib
        ^
SyntaxError: invalid syntax
round ledge
#

pip install pathlib

#

run that^

full tinsel
#

File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\codeop.py", line 141, in call
codeob = compile(source, filename, symbol, self.flags, 1)
File "<input>", line 1
pip install pathlib
^
SyntaxError: invalid syntax

round ledge
#

no run that in your terminal

full tinsel
#

true

round ledge
#

what code editor do you use?

full tinsel
#

pycharm

#

i got it

#

one sec

round ledge
#

at the bottem of your screen it says terminal

#

open that and paste pip install pathlib

full tinsel
#

worked!

#

G:\python\scrublord\Scripts\python.exe "C:\Users\User\Documents\Python Scripts\scrublord\scrublord.py"
Downloading...

round ledge
#

it worked

#

did it download a video about henry stickman?

full tinsel
#
G:\python\scrublord\Scripts\python.exe "C:\Users\User\Documents\Python Scripts\scrublord\scrublord.py" 
Downloading...
Traceback (most recent call last):
561, in error
    return self._call_chain(*args)
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 494, in _call_chain
    result = func(*args)
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error

Process finished with exit code 1
#

so that means it doesn't work right?

round ledge
#

yes, it did not work

#

ok thanks

#

thats all

full tinsel
#

sure mate

full tinsel
#

@hazy tendon im here

#

im working right now on a simple project

#

and i would like some help with it

#

=/

olive echo
#

gtg meeting peace

sand kestrel
#

anyone able to help with some sqlalchemy jank?

#
con1 = sqlalchemy.create_engine('mysql+pymysql://xxxxx:xxxxxxxxxxxxx@x.xxx.xx.x:3306/db_xxxx')
con1.connect()

data.to_sql('bison', con1, if_exists='append', index=False)

con1.close()``` exits with sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1045, "Access denied for user 'xxxx'@'162-200-113-45.lightspeed.snantx.sbcglobal.net' (using password: YES)"),
I know im using the correct credentials cause im able to log into sql in terminal with them, but for some reason its not working with python?
#

@modest flare arma rocks

modest flare
cold trellis
#

👋🏼 goodluck with the data visualizations see you guys tommorow