Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: ValueError: I/O operation on closed file problem
Post: ValueError: I/O operation on closed file problem

import random import discord from discord.ext import commands cad = commands.cad() my_files=[discord.File('A:\\mar\\as.jpg'), discord.File('A:\\mar\\sa.jpg'), discord.File('A:\\mar\\ar.jpg')] chosen...
aliwien General Coding Help 0 2,129 Apr-23-2021, 05:50 PM
    Thread: Random pictures from a file
Post: Random pictures from a file

Hello I'm trying to create a discord bot and I'm stuck one subject. I want to share a random photo from a folder when someone write in the chat specific words. For example when someone write 'dog', ı ...
aliwien General Coding Help 2 4,352 Apr-23-2021, 11:37 AM
    Thread: Type help
Post: Type help

def sayısal(Vs, Vi): return Vs - Vi def artış(x, r): y = x*((r/100)+1) return y h = 1 a = float(input('Number of cases: ')) b = float(input('Percentage increase: ')) c = sayısal(artış(a,...
aliwien Homework 1 1,985 Mar-16-2021, 04:36 PM
    Thread: Help me about loops
Post: RE: Help me about loops

(Mar-15-2021, 02:11 PM)buran Wrote: So, what have you tried so far? What particular problem you cannot solve on your own? I wrote the code below. As you can see, I could write the b column but I cou...
aliwien Homework 3 2,125 Mar-15-2021, 02:24 PM
    Thread: Help me about loops
Post: Help me about loops

Hello everybody, I want the project about loops and I need your help. My desire is: (a) (b) 1) 150 2) 300 3) 450 4) 600 My purpose increment columns a and b in the same while code. I'll appreciate it ...
aliwien Homework 3 2,125 Mar-15-2021, 01:57 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020