#voice-chat-text-0

1 messages · Page 611 of 1

tidal salmon
rugged crag
#

Yeah why ask for Java support in a python server

tidal salmon
#

Well, this server is several times larger than Programming

#

and it has a great help system

crystal escarp
#

because python is great

tidal salmon
#

however at some point we have to limit the scope of what this server is for

tulip osprey
#

@tidal salmon stroke free 100% server

errant helm
#

I've found the Programming server to be more than toxic

#

Together Java is a good place for Java stuff

little topaz
#

hey

#

anyone can help me to fix my error?

rich garnet
#

what types of error

buoyant quarry
#

@little topaz

#

I'm starting now in python

little topaz
#

i do have problem in newer version of Pycharm

#

to setup environment

buoyant quarry
#

Pycharm?

little topaz
#

yeah

#

IDE

buoyant quarry
#

Ah yes

#

but is it more facile than python?

little topaz
buoyant quarry
#

if i knew fluent english it would be easier

#

lol

little topaz
#

i'm trying to fix it

buoyant quarry
#

and you can do that, am I right?

little topaz
#

i guess so

#

i will message if i can't

buoyant quarry
#

show positivity, I believe, you can

#

I'll go even more

#

@little topaz

#

👍

strange sparrow
#

@gentle flint Getting low fps of web cam during face-recognition but my task manager shows 0% utilization of GPU

gentle flint
#

sorry, I have no idea how to help with that

strange sparrow
#

sorry, I have no idea how to help with that
@gentle flint Ok np

wise cargoBOT
#

Hey @arctic orchid!

It looks like you tried to attach file type(s) that we do not allow (.zip). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .m4v, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp.

Feel free to ask in #community-meta if you think this is a mistake.

gentle flint
#

@obsidian inlet my question is
have you already got the formula and are you trying to implement it in python
or are you trying to get the formula

strange sparrow
#

so the formula that i ahve so far is that the first number is n-1 factorial so in perm(4) the 6 lists would have 1 as the first number then the second number is n-1 factorial / n-1 then the next two numbers keep switching
@obsidian inlet def permutation(lst):
if len(lst) == 0:
return []
if len(lst) == 1:
return [lst]
l = []
for i in range(len(lst)):
m = lst[i]
remLst = lst[:i] + lst[i + 1:]
for p in permutation(remLst):
l.append([m] + p)
return l

data = list('12')
for p in permutation(data):
print (p)

#

@strange sparrow thanks so much this is really helpful
@obsidian inlet if you're using intertools

#

l = list(permutations(range(1, 4)))
print l

#

ye but my teacher said only basic syntax allowed
@obsidian inlet ok

#

@obsidian inlet Is your problem solved?

#

ok

#

instead of list you want integer value as parameters

#

?

#

@obsidian inlet ok

strange sparrow
#

@obsidian inlet

#

def permutation(lst):
if len(lst) == 0:
return []
if len(lst) == 1:
return [lst]
l = []
for i in range(len(lst)):
m = lst[i]
remLst = lst[:i] + lst[i + 1:]
for p in permutation(remLst):
l.append([m] + p)
return l

def N(i):
data=[]
res=[]
for no in range(1,i+1):
data.append(no)
for p in permutation(data):
res.append(p)
print(res)

N(3)

#

O/P:[[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]]

still quartz
#

My profile picture from this song: porcupine tree the raven that refused to sing

mystic marlin
strange sparrow
#

@sudden ocean are you trying to do face_recognition?

sudden ocean
#

Yeah

#

Emotion recognition

strange sparrow
#

@sudden ocean why don't you use deepface library

past sail
#

⬆️ thats better

gentle flint
#

Bacha bāzī (Dari: بچه بازی‎, lit. "boy play"; from بچه bacheh, "boy", and بازی bazi "play, game") is a slang term in some parts of Afghanistan for a custom involving child sexual abuse between older men and young adolescent males or boys, who are called dancing boys. The custo...

#

Bacha posh (Persian: بچه پوش‎, literally "dressed up as a boy") is a cultural practice in parts of Afghanistan, in which some families without sons will pick a daughter to live and behave as a boy. This enables the child to behave more freely: attending school, escorting her ...

gentle flint
#

[a, b, c]

a:84573
b:-938
c:96

#

a:84573
c:96
b:-938

[a, c, b]

rigid nest
silver flint
#

# Error: ImportError: file <maya console> line 3: No module named shiboken #

rigid nest
#

LOP

gentle flint
#
# Error: ImportError: file <maya console> line 3: No module named shitbroken #
rigid nest
#

n

#

n >= 0 < k

gentle flint
#

0 <= j <= k

silver flint
#

from shiboken import wrapInstance

rich garnet
#

php is one of powerful language

gentle flint
#

it is a kludge consisting of multiple other kludges

rich garnet
#

facebook use php

#

hahahahaa

gentle flint
#

you support facebook?!?

#

?!?!?!?!?!

rich garnet
#

yes!

gentle flint
#

?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!

#

OUT

rich garnet
#

what did u thought that?

gentle flint
#

?

rich garnet
#

nothing leave it

gentle flint
#

k

rich garnet
#

am i funny that u are laughing?

gentle flint
#

I ain't laughing

#

ask IED_TRADER

rich garnet
#

ahhhhhh I see

whole bear
#

well

rich garnet
#

😆

gentle flint
#

btw php is even worse for servers

whole bear
#

php isnt that bad

gentle flint
#

yes it is

rich garnet
#

tbut to be honest java is hard to leARN

gentle flint
#

ik java sux

#

but until 2014 php didn't even have a formal fucking standard

whole bear
#

the only bad thing about php is preformance

#

what is this

#

a fucking crusad

rich garnet
#

anyway what is mysql @frozen coral

#

explain

whole bear
#

it is a database

rich garnet
#

not just vibing with u

errant helm
#

PHP does have some pretty big issues

gentle flint
#

ikr

#

also

rich garnet
#

what issues?

errant helm
#

There's a bunch at that link

#

and not all of them can be fixed

rich garnet
#

ok

whole bear
#

i agree thats why i dont use it

#

its pretty fucking weird

errant helm
#

my favourite one is one they fixed back in 5.6

rigid nest
#

the bizzzznessssssss of ssssssssadnessss

rich garnet
#

what does fuck mean?

errant helm
#

occasionally significant parens

silver flint
#

from shiboken import wrapInstance

whole bear
#

what is that

rich garnet
#

are u guys using discord from pc?

gentle flint
#

I am

whole bear
#

me too

rich garnet
#

ok wait a sec

#

i have to show u something

whole bear
#

from a browser

#

what

rigid nest
#

LOL

#

is php for real

#

i didn't even know this lvl of bs was possible

whole bear
#

LMFAO

rich garnet
#

i create my own site using php @gentle flint u wanna see?

gentle flint
#

no thanks

rich garnet
#

plz

gentle flint
#

ok fine just post it

errant helm
#

oh god, yeah, it's nuts

whole bear
#

@frozen coral i played with that too mush

rich garnet
rigid nest
#

btw guys, something that kept me up last night

gentle flint
#

502

#

bad gateway

whole bear
#

not found for me*

rigid nest
#

why was it ok in python 2.7 to True = False

#

but not ok in 3?

whole bear
#

wtf

#

well it makes sense

rich garnet
#

@gentle flint access ur camera

errant helm
#

They were just named values in python 2

#

they're keywords in python 3

#

iirc anyway

whole bear
#

exaclty

#

to make someone's day fucked up

rich garnet
#

that site was a hacking site that created by me

#

i can get ur photo if u access

gentle flint
#

I don't even have a webcam plugged in...

whole bear
#

are u making money of this

gentle flint
#

lol

rich garnet
#

ooh

#

😦

rigid nest
#

getting a picture is pretty gay tho

rich garnet
#

anyway i have ur ip

#

haha

severe elm
#

aahahaggaga

gentle flint
#

every single website you visit has your IP

whole bear
#

parkor

silver flint
rich garnet
#

i can scan ur ip by nmap

gentle flint
#

I could care less

whole bear
#

so what

rich garnet
#

anyway leave it

gentle flint
#

so you now know that I live in Amsterdam

whole bear
#

are u making money of this

gentle flint
#

wonderful

rich garnet
#

are u using machanical keyboard?

gentle flint
#

Yes

rich garnet
#

thats a huge sound

gentle flint
#

good

silver flint
rigid nest
#

LOL wtf is that dominoes bro doing

whole bear
#

lol

gentle flint
#

ain't you glad that you don't have to listen to this all day lol

rich garnet
#

are u using discord in tor?

gentle flint
#

imagine if you had to listen to this mechanical keyboard every single hour of your life

#

wouldn't you go absolutely hopping mad

rich garnet
#

i am fine

#

yayayayayya

#

break it

gentle flint
#

microphone has been placed under keyboard for added effect

whole bear
#

it acutlly sounds great in real life

rich garnet
#

break!!!

gentle flint
#

@whole bear thanks

whole bear
#

if its bothering u then send it to me

rich garnet
#

reverse question

whole bear
#

ur making money of this

rich garnet
#

thxxxx

whole bear
#

probably

rich garnet
#

no way haha

whole bear
#

i mean @rich garnet

rich garnet
#

no way i cant cuz i am using a tunel of ngrok

whole bear
#

i mean the data

rich garnet
#

i cloned some websites

#

like facebook

whole bear
#

its not that hard

#

show me

rich garnet
#

okay wait a sec

whole bear
#

use httrack

rich garnet
#

no

wise cargoBOT
#

Hey @rich garnet!

It looks like you tried to attach file type(s) that we do not allow (.zip). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .m4v, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .m4a.

Feel free to ask in #community-meta if you think this is a mistake.

whole bear
#

launch it online

#

im not downloading anything

#

for real

#

wait can u stream in discord

#

how

#

like twitch

#

so like skype

#

guys i cant use tensorflow

rich garnet
#

guys check this

whole bear
#

same time as me

rich garnet
#

?

whole bear
#

guys i have a slow connection i ment the guy that left

gentle flint
#

@whole bear did you literally downvote the suggestion in meta simply because yours got downvoted

#

don't you think that's a bit childish

whole bear
#

i was jk man

gentle flint
#

well, you weren't jk enough to not downvote

whole bear
#

you wont lose nothing

#

btw what happend to the meta chanel

gentle flint
#

The meta channel is for communicating to the moderators serious suggestions which you would like implemented in the server

whole bear
#

so did i just got kicked from it

gentle flint
#

idk

whole bear
#

oh nvm i got back

feral mural
#

~.~

burnt geyser
#

hi

silver flint
#

line 3: No module named shiboken autodesk maya

agile ether
#

@silver flint you sound depressed

agile ether
#

I'm not a burrito guy

#

yeah i love them

#

@iron spoke casually has a seizure while joining the vc

iron spoke
#

covid20

agile ether
#

Is no one gonna talk about how close covid was to being named covid-20

#

it was named on dec 31st

#

a mere few hours

iron spoke
#

oh shit

silver flint
#
['VoidPtr', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '__version_info__', 'base64', 'contextlib', 'createdByPython', 'delete', 'dump', 'functools', 'getAllValidWrappers', 'getCppPointer', 'invalidate', 'io', 'isValid', 'keyword', 'marshal', 'os', 'ownedByPython', 're', 'shiboken2', 'struct', 'sys', 'tempfile', 'textwrap', 'traceback', 'types', 'typing', 'wrapInstance', 'zipfile']```
silver flint
#

'wrapInstance'

#

wrapInstance(arg__1: 'size_t', arg__2: 'PyType') -> object

#

# Error: TypeError: file <maya console> line 9: You need a shiboken-based type. #

junior kayak
#

anybody know any java

tulip osprey
#

say , i saw django while making app there is this django-admin startapp myapp

#

but when i check website there is diffrent way to make app which inside the createfproject

#

folder

#

now im not so sure which way to make app using django

timber crypt
#

hello

obtuse tide
#

are there any crypto currency coders here?

whole bear
#

@obtuse tide What's your question?

errant zephyr
whole bear
#

actully this is a general chanel dont worry

placid violet
#

hello

graceful grail
#

./configure

#

make menuconfig

#

make -j17

#

make install

rigid nest
#

on startup, 500mb

whole bear
#

hi

rigid nest
#

hey

whole bear
#

e

wise cargoBOT
#

:x: According to my records, this user already has a mute infraction. See infraction #10807.

#

:incoming_envelope: :ok_hand: applied mute to @whole bear until 2020-08-12 20:25 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

whole bear
#

ello

silver flint
rigid nest
#
try:
    from PyQt4 import uic
    from PyQt4.QtCore import *
    from PyQt4.QtGui  import * 
    from PyQt4 import QtGui  
    import sip
    default = "pyqt4"
    logging.Logger.manager.loggerDict["PyQt4.uic.uiparser"].setLevel(logging.CRITICAL)
    logging.Logger.manager.loggerDict["PyQt4.uic.properties"].setLevel(logging.CRITICAL)
except: 
    try:
        import xml.etree.ElementTree as xml
        from cStringIO import StringIO
        import pysideuic, shiboken
        from PySide.QtGui  import * 
        from PySide.QtCore import *
        from PySide import QtGui
        default = "pyside"
        logging.Logger.manager.loggerDict["pysideuic.uiparser"].setLevel(logging.CRITICAL)
        logging.Logger.manager.loggerDict["pysideuic.properties"].setLevel(logging.CRITICAL)
    except:
        try:
            import xml.etree.ElementTree as xml
            from cStringIO import StringIO
            import shiboken2 as shiboken
            import pyside2uic as pysideuic
            from PySide2.QtGui     import * 
            from PySide2.QtCore    import *
            from PySide2.QtWidgets import *
            from PySide2 import QtGui
            default = "pyside2"
            logging.Logger.manager.loggerDict["pyside2uic.uiparser"].setLevel(logging.CRITICAL)
            logging.Logger.manager.loggerDict["pyside2uic.properties"].setLevel(logging.CRITICAL)
        except:
            print "PySide(2) and PyQt4 not found"
gentle flint
gentle flint
gentle flint
gentle flint
gentle flint
gentle flint
gentle flint
#
# -*- encoding: nocolon -*-

# Python without colons
if True
    for i in range(9)
        print('OMFG')
#

is valid python

rigid nest
#

LOL

silver flint
rigid nest
silver flint
gentle flint
#

no

#

noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

gentle flint
#

squeakers intensify

#

watch up to 1:52 from 1:30

thorn dagger
#

😂

#

40 year old virgins

gentle flint
#

everyone has muted you, @thorn dagger

thorn dagger
#

idc

gentle flint
#

k

thorn dagger
#

you cant

gentle flint
#

well, we have

thorn dagger
#

😂

gentle flint
#

so I don't know why you think we can't

thorn dagger
#

prove it

gentle flint
#

up to you to speak to deaf ears tho

thorn dagger
#

ahaha

gentle flint
#

why'd I bother

somber heath
#

@thorn dagger We all have you muted because we're talking with someone who has been recently bereaved and your behavior in the face of that is distasteful.

thorn dagger
#

that was my brother

somber heath
#

Case in point.

thorn dagger
#

unmute me i have one fr thing to say

gentle flint
#

tough

#

you had way too many missed chances

#

you aren't getting more

#

you should have said it then instead of being obnoxious

hallow roost
#

Hey guys, I'm new to python. I made a little program and was asking if someone can give me some feedback. I made it with some youtube help.. thanks 🙂

frozen coral
#

code

#

" ` "

whole bear
#

'''why are you small grapefruit'''

wise cargoBOT
#

Hey @hallow roost!

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

whole bear
#

why are you small grapefruit

hallow roost
#

'''test'''

whole bear
#

<html> why you are a small grapefruit </html>

hallow roost
#

Test

#

python -m pip install SomePackage

#

WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available.

frozen coral
#

python -m pip install -U pip

#

python -m pip install auto-py-to-exe

#

auto-py-to-exe

hallow roost
#

pip install auto-py-to-exe

frozen coral
hallow roost
frozen coral
hallow roost
#

Currently, PyInstaller does not support Python 3.8 fully - some side effects may occur when using PyInstaller with Python 3.8. You can fix this by using an earlier version of Python.

Read more here.

dim wagon
#

ida pro

#

worldwide

silver flint
#

cereal

#

import cereal

hallow roost
somber heath
#

requests, re

#
    print(f'The variable, each, is now {each}')```
final path
#
for l in list
somber heath
#

list('apple') == ['a', 'p', 'p', 'l', 'e']

#

list being a builtin function, not an iterable.

silver flint
somber heath
#

_list = ['e', 'x', 'a', 'm', 'p', 'l', 'e']

#
    print(v)```
#
e
x
a
etc```
#

Third party library for web scraping: BeautifulSoup

#

People like it.

granite field
#

hey guys, I have this

executor = futures.ThreadPoolExecutor(max_workers=10)```
how can i get the retrieve the worker id when i run it
like how can i distinguish which worker is which worker ?
when i run this
```py
executor.submit(methodToRun)```
somber heath
#

__name__

#

as in

#
    main()```
#

So that when your main thread is run, it executes main, but when it's a child process, a worker thread, it doesn't execute main.

granite field
#
while True:
    for _ in range(10):
        time.sleep(2)
        executor.submit(methodToRun)
    time.sleep(300)```
#
def main():
    while True:
        for _ in range(10):
            time.sleep(2)
            executor.submit(methodToRun)
        time.sleep(300)
    
if __name__ == '__main__':
    main()```
final path
#

guys im gonna go peace. hope i see u again]

granite field
#
def methodToRun(timeToSleep):
    time.sleep(timeToSleep)```
#

anonymouse @nocturne swift

nocturne swift
granite field
#
    wait_for = [

        for i in range(10, 0, -1)
    ]

    for f in futures.as_completed(wait_for):
        print('main: result: {}'.format(f.result()))
    workersWork = executor.submit(methodToRun)
    futures.wait(workersWork)```
#

@somber heath

somber heath
#
import time

def hold(arg):
    time.sleep(arg)
    print(arg)
    
def main():
    with futures.ThreadPoolExecutor(max_workers=1) as executor:
        for i in range(10):
            future = executor.submit(hold, i)
    
if __name__ == '__main__':
    main()```
#

See, if the time.sleep worked as expected, it would count up properly.

#

Instead, it'll count slower and slower.

#

Because time.sleep blocks everything from executing, because threads.

nocturne swift
#

later.. gtg

granite field
#

@nocturne swift peace

#
x = threading.Thread(target=thread_function, args=(1,), daemon=True)```
whole bear
#

Hello, Kc.

#

do you want any help?

frozen coral
#
    amount = int(input("how many usernames do you want to generate --> "))

    numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']

    low_case = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
                'i', 'j', 'k', 'm', 'n', 'o', 'p', 'q',
                'r', 's', 't', 'u', 'v', 'w', 'x', 'y',
                'z']
    dot = ['.']

    all_characters = numbers + dot + low_case

    for i in range(amount):
        print(amount)
        gen = itertools.permutations(all_characters, 3)
        output = open('username.txt', 'a+')
        output.write(gen + "\n")
somber heath
#
    for each in itertools.product(all_characters, repeat=3):
        file.write(''.join(each)+'\n')```
frozen coral
#

TypeError: can only concatenate tuple (not "str") to tuple

#

('0', '1', '2')

#

numbers = '0123456789'

low_case = "abcdefghijklmnopqrstuvwxyz"

dot = '.'
#

('a', 'b', 'c')

gentle flint
#

any suggestions?

#

@somber heath will that do

rich heart
#

my hovercraft is full of eels

#

Oh my god

rich heart
#

Yes, I know

#

I promptly watched it again

gentle flint
#

lol

quasi condor
#

@earnest crag can you mute your mic

olive sentinel
#

@regal gorge Please stick to English on this server, thanks.

regal gorge
#

ох щит, хер ви го а gay ин

olive sentinel
#

!tempban 252788456248442880 7d That does not sound pleasant (ох щит, хер ви го а gay ин). I'm not sure what it means, but since I just asked you to speak English, I guess you're just here to make trouble.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @regal gorge until 2020-08-20 12:32 (6 days and 23 hours).

balmy nymph
#

Whatcha doing?

quasi condor
#

Gdude is streaming Risk of Rain

#

i'm hiding from work

olive sentinel
#

I'm just here because of voice troll reports

balmy nymph
#

The top-down dungeon game?

#

Fair 'nuff

quasi condor
#

it's not top down

#

it's 3d

#

well - Risk of Rain 2 is 3d

#

Risk of Rain 1 was side on I think

balmy nymph
#

Okay

still silo
barren citrus
#

ох щит, хер ви го а gay ин is oh shit, here we go again but written with cyrillic chararacters btw

#

w8

#

it means oh shit, here we go, a gay in but written in cyrillic characters @olive sentinel

frozen coral
#
    infile = open('username', 'r')
    for line in infile:
        line = infile.readlines()

        getting_acc = requests.get('https://www.instagram.com/' + line)```
still silo
#
with open("username") as f:
    ....
#

foo
bar
baz

frozen coral
#
def list_gen():

    all_characters = 'abcdefghijklmnopqrstuvwxyz.0123456789'

    with open('username', 'a+') as username:
        for each in itertools.product(all_characters, repeat=3):
            username.write(''.join(each) + '\n')
oblique ore
#

hi

barren citrus
#

hello

still silo
#
with open("username") as f:
    for line in f:
        line = line.rstrip("\n")
        ....
#
line = line.strip()
#

foo\tbar\t\t

#

"".join([url, line])

#
120 > foo = "barbaz"

121 > bar = "bopbip"

122 > timeit s = foo + bar
102 ns ± 5.15 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

123 > timeit s = "".join([foo, bar])
201 ns ± 12 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
#

but... with longer strings

#
126 > foo = string.ascii_lowercase * 100

127 > bar = string.ascii_lowercase * 100

128 > timeit s = foo + bar
376 ns ± 9.99 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

129 > timeit s = "".join([foo, bar])
498 ns ± 7.32 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
frozen coral
#

import itertools

still silo
#

(26 + 11) ^ 3

frozen coral
#

451844

still silo
#

146 > x
      'abcdefghijklmnopqrstuvwxyz0123456789.'
#

145 > len(list(itertools.product(list(x), repeat=3)))
50653

frozen coral
#

def list_gen():

all_characters = 'abcdefghijklmnopqrstuvwxyz.0123456789'

with open('username', 'a+') as username:
    for each in itertools.product(all_characters, repeat=3):
        username.write(''.join(each) + '\n')
still silo
#

147 > x = string.ascii_lowercase + string.digits + "."

frozen coral
#

    all_characters = 'abcdefghijklmnopqrstuvwxyz.0123456789'

    with open('username', 'a+') as username:
        for each in itertools.product(all_characters, repeat=3):
            username.write(''.join(each) + '\n')
still silo
#
with open("username", "w") as username:
    for each in ....:
        print(each, file=username)
#
with open("username", "w") as f:
    for each in ....:
        print(each, file=f)
frozen coral
#

('a', 'a', 'y')

#

('9', '5', 'g')

#

username.write(''.join(each) + '\n')

still silo
#

print("".join(each), file=username)

frozen coral
#

50653

still silo
#
156 > for each in list(itertools.product(list(x), repeat=3)):
          print("".join(each))
          break

aaa
near turret
#

Hi

still silo
#
>>> print list(product(*A))
[(1, 3), (1, 4), (1, 5), (2, 3), (2, 4), (2, 5), (3, 3), (3, 4), (3, 5)]
#

<possibilities> ^ (number of digits)

oblique ore
#

do u guys think i need a mask if im walking around

#

@still silo @frozen coral

spark sun
#

@devout kite

devout kite
#

what

spark sun
#

ひま?

#

u free?

devout kite
#

ひまじゃありません。

spark sun
#

!rule 4

wise cargoBOT
#

4. This is an English-speaking server, so please speak English to the best of your ability.

spark sun
#

jk...

#

わかりました。

hallow roost
#

root = Tk()

loginframe = Frame(root, height= 500, width= 500)
loginframe.grid(columnspan=3)

name = Entry(root, bg="red")
name.grid(row=0, column=0)

password = Entry(root, bg="yellow")
password.grid(row=0, column="1")

login.button = Button(root)
login.grid(row=1, column=0)

register.button = Button(root)
register.grid(row=1, column=1)


root.mainloop()```
rigid nest
#

loginButton

#

registerButton

#

login_button

#

myButt

#

yourButt

#

this.thing

#

login_button.grid

#

login_button

#

.

#

x.y

#

grid()

#

grid(row, column, x, y, z)

#

mybutton.grid(args)

#

Employee 1

#

email, a name an age

hallow roost
rigid nest
#
'''
Classes allow us to logically group our functions and data (methods and attributes)
in a way that's easy to reuse and rebuild. 
Methods = Functions associated with a class
'''

'''
Say we have an application for our company and we want to represent our
employees in our Python code
'''

class Employee:

    add_year = 1 # class variable
    num_of_emps = 0

    def __init__(self, first, email, age): # instance variables are unique to each instance
        self.first = first
        self.email = email
        self.age = age
        Employee.num_of_emps += 1 # instead of self, we refer to the class variable
        # because there is no use case where total number of employees would be different
        # for any given namespace
    
    def returnAll(self):
        return '{}, {}, {}'.format(self.first, self.email, self.age)
    
    def applyOlder(self): #
        self.age = int(self.age) + self.add_year

    @classmethod
    # within this method, we are working with the class rather than the instance of a class
    def applyOlderAmount(cls, amount):
        cls.add_year = amount


emp_1 = Employee('Elias', 'elias@elias.com', '26')
emp_2 = Employee('Test', 'test@test.com', '99')
#
print(emp_1.age)
print('This is my class variable add_year: {}'.format(Employee.add_year))
emp_1.applyOlder()
print(emp_1.age)
print('Accessing emp_1 with dunder dict: {}'.format(emp_1.__dict__)) # printing namespace of employee no.1
print('Accessing Employee class with dunder dict: {}'.format(Employee.__dict__)) # notice class contains add_year var


print('Employee class variable add year: {}'.format(Employee.add_year))
print('Emp_1 namespace variable add year: {}'.format(emp_1.add_year))
print('emp_2 add_year variable falls back to class variable: {}'.format(emp_2.add_year))

print('Number of employees: {}'.format(Employee.num_of_emps)) # two becausee two namespaces

Employee.applyOlderAmount(2)
# we are now working with the class rather than the instance
# thus, being the same thing as Employee.add_year = x, but now, we are using the class method
# to do that instead.
print(emp_1.add_year)
print(emp_2.add_year)
oblique ore
#

holy crap thats complicated

hallow roost
#

yap... xD

rigid nest
#
class Employee:
    
    raiseAmount = 1.04

    def __init__(self, first, last, pay):
        self.first = first
        self.last = last
        self.email = first + '.' + last + '@email.com'
        self.pay = pay

    def fullname(self):
        return '{} {}'.format(self.first, self.last)

    def apply_raise(self):
        self.pay = int(self.pay * self.raiseAmount)

    def __repr__(self):
        '''
        __repr__ is meant to be an unambiguous representation of the object
        and should be used for debugging and logging.
        try to display something you can copy and paste back into python code that
        will recreate that same object
        '''
        return "Employee('{}', '{}', {})".format(self.first, self.last, self.pay)

    def __str__(self):
        '''
        __str__ is meant to be a more readable representation of the object
        and is meant to be displayed to the user
        '''
        return '{} - {}'.format(self.fullname(), self.email)

    def __add__(self, other):
        #self left side of addition, other right side of addition
        return self.pay + other.pay
    
    def __len__(self):
        return len(self.fullname())
#
str()
#

add()

#

len()

#

len(emp_1)

hallow roost
rigid nest
graceful forum
#

k

hallow roost
#

class Parrot:
species = "bird"

#

    # class attribute
    species = "bird"

    # instance attribute
    def __init__(self, name, age):
        self.name = name
        self.age = age
whole bear
#
def create_pipe():
    random_pipe_pos = random.choice(pipe_height)
    bottom_pipe = pipe_surface.get_rect(midtop=(700, random_pipe_pos))
    top_pipe = pipe_surface.get_rect(midbottom=(700, random_pipe_pos - 300))
    return bottom_pipe, top_pipe


def move_pipes(pipes):
    for pipe in pipes:
        pipe.centerx -= 5
    return pipes
#

def addition(2)

#

2+2

#

return 4

silver flint
hallow roost
whole bear
#

yo guys

#

whats this?

#

what are you guys doing?

#

yo! u guys are hacking instagram?

faint oriole
#

just came here to say hi

#

u guys seem chill

#

well once i feel bettter i can talk

hallow roost
#

lmao

#

@faint oriole whats up?

frozen coral
#

igcse

#

International General Certificate of Secondary Education

hallow roost
#

root = Tk()

loginframe = Frame(root, height= 250, width= 250)
loginframe.grid(columnspan=2)

name = Entry(root, bg="red")
name.grid(row=0, column=0)

password = Entry(root, bg="yellow")
password.grid(row=0, column="1")

login_button = Button(root, text="Log In")
login_button.grid(row=1, column=0)

register_button = Button(root, text="Register now!")
register_button.grid(row=1, column=1)

root.mainloop()```
frozen coral
#

a Python class is for defining a particular type of object. Because Python objects can have both function and data elements, Python classes define what methods can be used to change the state of an object. They also indicate what attributes the object can have.

hallow roost
#

def class

#

?

frozen coral
#
  "A basic example class that returns a function object"
  def b(self):
    return "this is an example class"
gentle flint
#

M# (pronounced em sharp) is a code generation tool and a domain-specific language that can be used to create websites and web applications. It can translate entities and page definitions to ASP.NET Web Forms and MVC and C# code which in turn form the user interface and busines...

whole bear
gentle flint
#

The Z notation is a formal specification language used for describing and modelling computing systems. It is targeted at the clear specification of computer programs and computer-based systems in general.

silver flint
#

PHPython

gentle flint
#

@frozen coral oi w0t

#

where'd you go

hallow roost
whole bear
hallow roost
#

hey

#

seleniumhq?

#

never used it

#

whats the problem?

frozen coral
#

username = "whatever"
response = requests.get("https://instagram.com/" + username + "/")
if response.status_code == 404 :
    #the username isn't taken```
#

<h2>Sorry, this page isn't available.</h2>

gentle flint
#

@whole bear how are you trying to import it?

#

sure

#

that's not a problem with selenium

#

otherwise it would say that selenium was not found

#

but I can try to help you with this instead

#

So, you are trying to call webdriver.Chrome(PATH), where PATH has already been defined

#

However, webdriver is part of selenium

#

so you need to call it as a subfunction of selenium

#

so selenium.webdriver.Chrome(PATH) instead of webdriver.Chrome(PATH)

#

Alternatively, you could directly import webdriver by doing
from selenium import webdriver

#

in that case, webdriver has been imported

#

and then you can call stuff directly via webdriver

#

so then you can do webdriver.Chrome(PATH)

#

w0t

#

what is your chrome version?

#

k

#

there you are

#

your chrome needs updating

#

actually, no wait

#

stop

#

you are on stable

#

do not update your chrome

#

your chrome driver anticipates an update in chrome, but that update is not yet available for the general user

#

yeah

#

I'm looking at how you do that

#

yes

#

exactly

#

but idk how you need to downgrade that driver

#

ah, look

#

they have exactly the same problem

#

read the answers

#

pick the best one

#

woot woot

#

glad it did

frozen coral
#
from bs4 import BeautifulSoup


getting_acc = requests.get('https://www.instagram.com/afwewaefawdfwaef')

data = getting_acc.text

soup = BeautifulSoup.

findings = soup.find("<h2>Sorry, this page isn't available.</h2>")

print(findings)```
rigid nest
#

string

#

x = [1,2,3,4,5]
y - [1,3]

#

if y in x:
return True

whole rover
#

I use Apple!

rigid nest
whole rover
#

am 16

#

oh shit wait

#

no i'm 17

#

now

#

🙂

#

!server

wise cargoBOT
#

Server information
Created: 3 years, 7 months and 5 days ago
Voice region: europe
Features: ANIMATED_ICON, COMMUNITY, NEWS, VIP_REGIONS, WELCOME_SCREEN_ENABLED, PARTNERED, INVITE_SPLASH, VANITY_URL, DISCOVERABLE, BANNER

Channel counts
Category channels: 26
News channels: 6
Text channels: 175
Voice channels: 63
Staff channels: 43

Member counts
Members: 85,624
Staff members: 78
Roles: 119

Member statuses
status_online 10,685
status_idle 5,579
status_dnd 4,313
status_offline 65,047

void hare
#

HOUSING_URL = DOWNLOAD_ROOT + "/datasets/housing/housing.tgz"

#
    os.makedirs(housing_path, exist_ok=True)
    tgz_path = os.path.join(housing_path, "housing.tgz")
    urllib.request.urlretrieve(housing_url, tgz_path)
    housing_tgz = tarfile.open(tgz_path)
    housing_tgz.extractall(path=housing_path)
    housing_tgz.close()```
hallow roost
#

IndentationError: unexpected indent what does that mean? terminal is giving me this error with this code:

#
self.LogIn = tk.Button(self.root, overrelief="raised", relief="groove", width=22, padx=10, pady=25, text="Register now",
                                command=lambda: self.new_window(RegisterPage)).pack()
whole rover
#
Modcast Podcast

A podcast by moderators for moderators! With guests from around the industry we'll cover topics like growth, bad actors and more in our fortnightly episodes.

fickle palm
whole bear
frosty lodge
fickle palm
#

pip install MySQL_python==1.2.2

frosty lodge
whole bear
fickle palm
#

pip install -U wxPython==4.0.7.post2

#

May be post your question on that subreddit

prime horizon
fickle palm
#

cd directory_of_hello.py

whole bear
#
# Game loop
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            sys.exit()

        # Get input
        if game_active:
            direction = get_direction()
            print(direction)
#
def get_direction():
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_w:
            return "w"
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_s:
            return "s"
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_a:
            return "a"
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_d:
            return "d"
    else:
        pass
fickle palm
#

def get_direction(event):

whole bear
fickle palm
#

direction = get_direction(event)

whole bear
fickle palm
prime horizon
#

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

whole bear
#
import pygame
import sys


def get_direction(event):
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_w:
            return "w"
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_s:
            return "s"
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_a:
            return "a"
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_d:
            return "d"
    else:
        pass


def move_snake():
    if direction == "w":
        pass


snake_coords = [480, 320]


game_active = True

screen = pygame.display.set_mode((960, 640))
background_color = (20, 120, 60)
screen.fill(background_color)
pygame.display.set_caption("Snake")


snake_surface = pygame.transform.scale(pygame.image.load("Assets/Snake_segment.png").convert_alpha(), (16, 16))

clock = pygame.time.Clock()


pygame.init()

# Setting up screen


# Game loop
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            sys.exit()

        # Get input
        if game_active:
            direction = get_direction(event)
            print(direction)
            move_snake()

        # draw_snake()
    screen.blit(snake_surface, snake_coords)

    pygame.display.update()
    clock.tick(60)
#
import pygame
import sys


def get_direction():
    if event.key == pygame.K_w:
        return "w"
    if event.key == pygame.K_s:
        return "s"
    if event.key == pygame.K_a:
        return "a"
    if event.key == pygame.K_d:
        return "d"
    else:
        pass


def move_snake():
    if direction == "w":
        pass


snake_coords = [480, 320]


game_active = True

screen = pygame.display.set_mode((960, 640))
background_color = (20, 120, 60)
screen.fill(background_color)
pygame.display.set_caption("Snake")


snake_surface = pygame.transform.scale(pygame.image.load("Assets/Snake_segment.png").convert_alpha(), (16, 16))

clock = pygame.time.Clock()


pygame.init()

# Setting up screen


# Game loop
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            sys.exit()

        # Get input
        if event.type == pygame.KEYDOWN:
            direction = get_direction()
            print(direction)
            move_snake()

        # draw_snake()
    screen.blit(snake_surface, snake_coords)

    pygame.display.update()
    clock.tick(60)
#
import pygame
import sys


def get_direction():
    if event.key == pygame.K_w:
        return "w"
    if event.key == pygame.K_s:
        return "s"
    if event.key == pygame.K_a:
        return "a"
    if event.key == pygame.K_d:
        return "d"
    else:
        pass


def move_snake():
    if direction == "w":
        pass


snake_coords = [480, 320]


game_active = True

screen = pygame.display.set_mode((960, 640))
background_color = (20, 120, 60)
screen.fill(background_color)
pygame.display.set_caption("Snake")
direction = "none"

snake_surface = pygame.transform.scale(pygame.image.load("Assets/Snake_segment.png").convert_alpha(), (16, 16))

clock = pygame.time.Clock()


pygame.init()

# Setting up screen


# Game loop
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            sys.exit()

        # Get input
        if event.type == pygame.KEYDOWN:
            direction = get_direction()
            print(direction)
            move_snake()
    print(direction)


    screen.blit(snake_surface, snake_coords)

    pygame.display.update()
    clock.tick(60)
fickle palm
#
def square_fun(num):
    return num*num
#

square_fun(6)

#

x=6

#

square(x)

whole bear
#

list = [1, 2]

#

list (???) = [2,2]

fickle palm
#

L = [2,3,4,5]

#

L[2] = 10

deep sleet
#

hay

#

@tidal salmon i dint get u

tidal salmon
#

you're in the code help voice channel so I asked if you needed help

deep sleet
#

yes

#

i need

#

how to make games in this

#

python

#

@tidal salmon

tidal salmon
deep sleet
#

okoooo

quasi condor
#

@somber heath you're Australian, but I'm sure I see you in voice chat during normal UK hours

#

how do you manage it?

somber heath
#

By having an untethered sleep schedule.

quasi condor
#

yeah - that's kinda the answer I was expecting

somber heath
#

It'll drift forward and sometimes it'll stick in a groove for a while. Sometimes it'll invert.

quasi condor
#

Mine is usually fucked unless I'm working as well - I feel like the idea that 11-7 is the natural sleeping pattern is somewhat of a lie

somber heath
#

I was normal until the first holidays of secondary school. After that, well... terning6

whole bear
tall grail
quasi condor
#

I'm not in Voice chat - but this server can't/shouldn't help with downloading youtube videos. @tall grail

#

!ytdl

wise cargoBOT
#

Per PyDis' Rule 5, we are unable to assist with questions related to youtube-dl, commonly used by Discord bots to stream audio, as its use violates YouTube's Terms of Service.

For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2019-07-22:

The following restrictions apply to your use of the Service. You are not allowed to:  

1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service;  (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;  

3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;  

9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
tall grail
#

@quasi condor Yea! I have heard about it before.

#

Thats the issue!

#

@somber heath My mic died! It was nice talking to you! Thanks for helping me!

somber heath
#

👍

severe elm
#

@whole bear your volume is really low

#

i have you on 200% and it's still hard to understand you

whole bear
#

Hi, Kimchi Man.

severe elm
#

hi

whole bear
#

sorry, where are you from?

severe elm
#

turkey

whole bear
#

does turkey use chinese?

severe elm
#

no they don't

whole bear
#

but why you?

severe elm
#

oh yeah i believe that it says "Drunk Man"

#

taiwanese discord friends

#

...

#

@fickle palm are you here?

whole bear
#

yeah, I see.
the chinese seems to mean that.

#

but your english name also is name strang.

severe elm
#

yeah it's Kimchi

#

ahahahha

#

wdym

#

your name is also strange

whole bear
#

haha, right.

#

so what question do you have?

#

I mean your issue.

severe elm
royal gull
#

can somebody help me in googles coding challenge on 16th aug??

prime horizon
#

!resorces

#

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

prime horizon
#

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

severe elm
#

BRB

prime horizon
#

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

queen wedge
#

hilarious

faint oriole
#

ikr

faint oriole
#

wwow chat hasnt chanbeed

ruby wind
#

!e ```py
l = lambda: print('_' * 50)
bStr = lambda s: bin(int.from_bytes(s.encode('utf-8'), byteorder = "big" )).lstrip('0b').rjust(24, '0')

msg = "~~"
print('\x01')
msg = msg.encode('ascii', errors = "replace")
txt = ""
for i in range(0, len(msg), 2):
print(msg[i:i+2])
h = int.from_bytes(msg[i:i+2], byteorder = "big")
t = chr(h)
print(bin(h)[2:])
print(bStr(t))
txt += t

wise cargoBOT
#

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

jovial meadow
#

Your code is far too complex, if you just want to convert a byte string to another, use decode.

print(msg.decode('ascii'))
print(msg.decode('utf-8'))
somber heath
ruby wind
stuck furnace
#

@ruby wind @jovial meadow Sorry, just joined. What are you trying to do? I might be able to help.

#

Can't talk on mic as it's late here.

ruby wind
#

!e ```py
a1 = 'a'
a2 = 'b'

b2i = lambda x: int.from_bytes(x, byteorder = "big")
b = lambda x: bin(b2i(x)).lstrip('0b').rjust(8, '0')

t1 = b(a1.encode('ascii'))
t2 = b(a2.encode('ascii'))

print(f"{t1}\n{t2}")

final = (t1 + t2)

print("\nConcat:", final)

t = int(final, 2)
print(chr(t))

wise cargoBOT
#

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

crimson light
#
def shorten(text: str, length: int = 2048) -> str:
    text = text[:length]
    while text[-1] != string.whitespace:
        text = text[:-1]
    
    return text
#
def shorten(text, length = 2048):
    text = text[:length]
    while text[-1] != string.whitespace:
        text = text[:-1]
    
    return text
#
/**
 * This is Javadoc for the MyClass class
 */
public class MyClass {
    
}
#
.idea/ # ignore this folder and all its contents
cheese.* # ignore all files that have a name of cheese and a dot
crimson light
#
The `Integer` class wraps a valye of the primitive type `int` in an object.
zinc crane
#

I´ve

ruby wind
#

= I have

fossil pond
#

éé

crimson light
#

I've
I´ve
I`ve

zinc crane
#

´ apóstrofe

ruby wind
#

'

crimson light
#

á = a acute

zinc crane
#

I´ve

#

???

fossil pond
#

I`ve

#

I've

zinc crane
#

I've

stuck furnace
#

@fossil pond Spanish has an official organization that decides how the language should be used, but English doesn't

dim wagon
#

Jumper

zinc crane
#

The girl on Jumper is the same girl in The O.C the series

dim wagon
#

ohh

zinc crane
#

ohh
@dim wagon You have tu wacht Memento

dim wagon
#

okey

zinc crane
ruby wind
#

hello world > 驨ꍬ啯𒁷ꍲᕤ

zinc crane
#

Venezuela

ruby wind
dapper meteor
#

i dont know what language this video is speaking

stuck furnace
#

Hi everyone

dapper meteor
#

Hello

stuck furnace
#

Can't talk on mic as it's like 3am here

dapper meteor
#

thats unfortunate

static pebble
#

Hi, guys,

stuck furnace
#

I'm basically nocturnal

dapper meteor
#

during quarantine i have also turned nocturnal

zinc crane
stuck furnace
#

yeah, the lack of routine seems to do that

ruby wind
#

𒁬

dapper meteor
#

i don't know why it is such hard work to create a new rountine. usually it dhould only take a month

#

to create a habit

stuck furnace
#

@ruby wind I think that symbol is cuniform

#

Cuneiform was one of the earliest systems of writing, invented by Sumerians in ancient Mesopotamia. It is distinguished by its wedge-shaped marks on clay tablets, made by means of a blunt reed for a stylus. The term cuneiform comes from cuneus, Latin for "wedge".Emerging in Su...

ruby wind
#

cake fish

dapper meteor
#

turtle sandwich

ruby wind
#

im not seeing it

dapper meteor
#

i see a fish but i dont see a cake fish

stuck furnace
#

bye @zinc crane

ruby wind
#

the left part looks like a cake

#

like its 3d kinda

dapper meteor
#

that looks like a sideways house

#

or shed

ruby wind
#

hm

dapper meteor
#

wait i got one

#

it looks like a swordfish that has a supressor on the sword part

ruby wind
#

lmao yee

zinc crane
#

Bya, please dont kidnap me. guten Nacht

frozen coral
#
from stem import Signal
from stem.control import Controller


proxies = {
    'http': 'socks5://localhost:9050',
    'https': 'socks5://localhost:9050'
}


def renew_tor_ip():
    with Controller.from_port(port=9051) as controller:
        controller.authenticate()
        controller.signal(Signal.NEWNYM)


for i in range(0, 15):
    renew_tor_ip()

    x = requests.get('https://api.ipify.org', proxies=proxies)
    print(x.text)
#

@bleak lotus

bleak lotus
frozen coral
#

AMD drivers compatible with Windows 10:

AMD Radeon R9 Series Graphics
AMD Radeon R7 Series Graphics
AMD Radeon R5 240 GPU
AMD Radeon HD 8000 Series Graphics for OEM systems
AMD Radeon HD 8000M Series Graphics for notebooks
AMD Radeon HD 7000 Series Graphics
AMD Radeon HD 7000M Series Graphics for notebooks
AMD A4-7000 Series, A6-7000 Series, A8-7000 Series, A10-7000 Series APUs
AMD A6 PRO-7000 Series, A8 PRO-7000 Series, A10 PRO-7000 Series APUs
AMD E1/A4/A10 Micro-6000 Series APUs
AMD E1/E2/A4/A6/A8-6000 Series APUs​
AMD Radeon HD 6000 Series/AMD Mobility Radeon HD 6000 Series Graphics
AMD Radeon HD 5000 Series/AMD Mobility Radeon HD 5000 Series Graphics

#

(AMD Radeon HD 6000 Series/AMD Mobility Radeon HD 6000 Series Graphics)

bleak lotus
#

Processeur i5 2400 3.10 GHz

jovial meadow
#
from pynput import keyboard

def on_press(key):
    global break_program
    if key == keyboard.Key.end:
        print('end pressed')
        break_program = True
        return False

if __name__ == "__main__":
  break_program = False
  with keyboard.Listener(on_press=on_press) as listener:
    while break_program is False:
      start()
  listener.join()
rigid nest
#

nice

#

thanks

bleak lotus
#

I will come back

frozen coral
#
hostname = "google.com" #example
response = os.system("ping -c 1 " + hostname)

#and then check the response...
if response == 0:
  print hostname, 'is up!'
else:
  print hostname, 'is down!'
#
from stem import Signal
from stem.control import Controller


proxies = {
    'http': 'socks5://127.0.0.1:9050',
    'https': 'socks5://127.0.0.1:9050'
}


def renew_tor_ip():
    with Controller.from_port(port=9051) as controller:
        controller.authenticate()
        controller.signal(Signal.NEWNYM)


x = requests.get('instagram.com', proxies=proxies)
print(x.text)
rigid nest
#

xD

jovial meadow
jovial meadow
frozen coral
rigid nest
#

<3

#

LOL

#

na

median locust
#

Are you guys streaming your code somewhere?

#

OK

#

how are you doing @sick pendant ?

#

Oh yeah!

sick pendant
#

I'm good, thanks

median locust
#

👍

sick pendant
#

what about you ? @median locust

median locust
#

Yeah I am familiar with pyTests and had tried it before but it was a long ago.

#

and I have a python project to discuss about

#

yes! I know it's a bit messy there

#

Adel how familiar are you with NLP ?

sick pendant
#

@median locust Not much

#

I haven't worked much in machine learning

median locust
#

Okay, I had a project that I was working around

#

Machine Learning

#

Ahh Okay

sick pendant
#

yeah, nlp uses machine learning now.... right ?

median locust
#

yeah! Sorta getting the text and then using something inbetween Machine Learning Algos and NLP stuff/

#

Anyways cool

frozen coral
#
db=sqlite3.connect('test.db')
try:        
    cur =db.cursor()
    cur.execute('''CREATE TABLE student (
    StudentID INTEGER PRIMARY KEY AUTOINCREMENT,
    name TEXT (20) NOT NULL,
    age INTEGER,
    marks REAL);''')
    print ('table created successfully')
except:
    print ('error in operation')
    db.rollback()
db.close()
frozen coral
#

In computer science, a tail call is a subroutine call performed as the final action of a procedure. If the target of a tail is the same subroutine, the subroutine is said to be tail-recursive, which is a special case of direct recursion.

#
from stem import Signal
from stem.control import Controller


proxies = {
    'http': 'socks5://127.0.0.1:9050',
    'https': 'socks5://127.0.0.1:9050'
}


def renew_tor_ip():
    with Controller.from_port(port=9051) as controller:
        controller.authenticate()
        controller.signal(Signal.NEWNYM)


x = requests.get('http://instagram.com', proxies=proxies)
print(x.text)
little ridge
#

<h1 style="color: #22cbcb"> somthing </h1>

wispy idol
frozen coral
#

SpeechRecognition

raw mica
frozen coral
#
feed = sc.MicrophoneFeed()
detector = sc.AmplitudeDetector(feed, threshold=17000000)
for clap in detector:
    # do something
    print(clap.time)```
wispy idol
whole rover
#

lol one seceond

#

oop gotta hop

frozen coral
mighty drum
#

Given two numbers n and m,

#

with element from range(n)

#

all lists of length m

#

range(4)=[0,1,2,3]

#

and m=5

#

a valid list would be

#

[3,2,0,2,0]

#

there should be in total m^n

#

such lists

frozen coral
#

import itertools

mighty drum
#

list(itertools.combinations_with_replacement(range(n),m))

#

no those are ordered

frozen coral
mighty drum
#

list(itertools.product(range(m),repeat=n))

frozen coral
#

35

mighty drum
#

35**3

#

[0,1,2]

#

0
1
2
......

#

00
01
02
10
11
12
20
21
22
....

#

00
01
02
00
01
02
02
00
01
02

10
11
12
10
11
12
10
11
12

20
21
22
20
21
22
20
21
22

#

3

#

3*3

#

333

#

m^n

errant helm
frozen coral
#

April 16, 1162

frozen coral
#

`

#

`

mighty drum
#

finally got these fucking matplotlib indices to work

#

here's all the functions from a domain of size n to a codomain of size m

jovial meadow
#

pluralsight

umbral glade
#

big four

jovial meadow
#

leetcode

umbral glade
#

cleverqazi

latent void
#

h

wraith ridge
velvet compass
somber heath
#

@granite field from threading import Event Event.wait(n)

granite field
#
with ThreadPoolExecutor(max_workers=10) as executor:```
#
executor = ThreadPoolExecutor(max_workers=10)```
#
def methodToRun():
    global instanceNumber
    global youHaveAlreadyVoted
    global totalVotes

    prox = Proxy()
    chosenProxy = getProxy()
    generatedUser = randomUserGenerator()

    prox.proxy_type = ProxyType.MANUAL
    prox.ssl_proxy = chosenProxy

    capabilities = webdriver.DesiredCapabilities.CHROME
    prox.add_to_capabilities(capabilities)
    opts = Options()
    opts.add_argument("user-agent=" + generatedUser)
    opts.add_extension("C:\\Users\\Administrator\\PycharmProjects\\voting\\webrtc block.crx")```
jovial meadow
granite field
fringe bramble
jovial meadow
wise cargoBOT
#

Hey @placid bluff!

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

gentle flint
#
(
    (
        lambda __, ___, ____, _____: getattr(
    __builtins__,
    ().__class__.__name__[__ << __]
    + ().__iter__().__class__.__name__[(__).__rmul__(-1)]
    + [].__class__.__name__[____ % ___]
    + chr(_____)
    + ().__class__.__name__[__ >> __],
        )
    )(
        (lambda _: _).__code__.co_nlocals,
        (lambda _, __: _ | __).__code__.co_nlocals,
        (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals,
        (
    (lambda _, __, ___: _ & __ & ___).__code__.co_nlocals.__rmul__(
        (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals
    )
    + (True.__rmul__((lambda _, __: _ | __).__code__.co_nlocals))
        ).__rmul__(
    (
        lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
    _ % __
        )
        >> ((___ * ____) << _____ // ______)
        | _______
    ).__code__.co_nlocals
        ),
    )
)(
    (
        lambda __, ___, ____, _____, ______: hex.__class__.__name__[
    ___.__rmul__(____ * _____) - ______
        ].upper()
        + hex.__class__.__name__[___.__rmul__(____ * _____) - _____ - ______]
        + hex.__class__.__name__[___] * 2
        + hex.__class__.__name__[___.__rmul__(____ * _____)]
        + chr(__.__rmul__(___) + _____)
        + Warning.__qualname__[______ - True]
        + hex.__class__.__name__[___.__rmul__(____ * _____)]
        + Warning.__qualname__[_____]
        + ().__class__.__name__[___]
        + {}.__class__.__name__[______ - True]
        + chr(__.__rmul__(___) + ___)
    )(
        (
    lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
        _
    )
        ).__code__.co_nlocals,
        (lambda _, __, ___: _).__code__.co_nlocals,
        (lambda _, __, ___, ____: _).__code__.co_nlocals,
        (lambda _, __: _).__code__.co_nlocals,
        (lambda _: _).__code__.co_nlocals,
    )
)
#

prints Hello World

whole bear
#

yesterday it was 104 f

#

degree

gentle flint
#

White-tailed spiders are spiders native to southern and eastern Australia, and so named because of the whitish tips at the end of their abdomens. The body size is up to 18 mm, with a leg-span of 28 mm. Common species are Lampona cylindrata and Lampona murina. Both these speci...

somber heath
#

Dinner time.

gentle flint
#

k

wind cobalt
#

Enjoy!

timber crypt
#

hi

gentle flint
#
(
    (
        lambda __, ___, ____, _____: getattr(
    __builtins__,
    ().__class__.__name__[__ << __]
    + ().__iter__().__class__.__name__[(__).__rmul__(-1)]
    + [].__class__.__name__[____ % ___]
    + chr(_____)
    + ().__class__.__name__[__ >> __],
        )
    )(
        (lambda _: _).__code__.co_nlocals,
        (lambda _, __: _ | __).__code__.co_nlocals,
        (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals,
        (
    (lambda _, __, ___: _ & __ & ___).__code__.co_nlocals.__rmul__(
        (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals
    )
    + (True.__rmul__((lambda _, __: _ | __).__code__.co_nlocals))
        ).__rmul__(
    (
        lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
    _ % __
        )
        >> ((___ * ____) << _____ // ______)
        | _______
    ).__code__.co_nlocals
        ),
    )
)(
    (
        lambda __, ___, ____, _____, ______: hex.__class__.__name__[
    ___.__rmul__(____ * _____) - ______
        ].upper()
        + hex.__class__.__name__[___.__rmul__(____ * _____) - _____ - ______]
        + hex.__class__.__name__[___] * 2
        + hex.__class__.__name__[___.__rmul__(____ * _____)]
        + chr(__.__rmul__(___) + _____)
        + Warning.__qualname__[______ - True]
        + hex.__class__.__name__[___.__rmul__(____ * _____)]
        + Warning.__qualname__[_____]
        + ().__class__.__name__[___]
        + {}.__class__.__name__[______ - True]
        + chr(__.__rmul__(___) + ___)
    )(
        (
    lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
        _
    )
        ).__code__.co_nlocals,
        (lambda _, __, ___: _).__code__.co_nlocals,
        (lambda _, __, ___, ____: _).__code__.co_nlocals,
        (lambda _, __: _).__code__.co_nlocals,
        (lambda _: _).__code__.co_nlocals,
    )
)
rigid nest
#

print([Hello World])

gentle flint
#

print('hello world!')