Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [Solved by deanhystad] Create a zip file using zipfile library
Post: RE: Create a zip file using zipfile library

Thank you so much **smile** by adding the argument "arcname" solved the problem arcname=os.path.join("images/", image_name)
DZ_Galaxy General Coding Help 2 1,164 Aug-17-2022, 04:57 PM
    Thread: [Solved by deanhystad] Create a zip file using zipfile library
Post: [Solved by deanhystad] Create a zip file using zip...

Peace Hi everyone when I create a zip file, it takes all the folders and adds them to the zip file "user/files/programs/day44/img.png" what I want is to store only the last folder "day44/img.png" wi...
DZ_Galaxy General Coding Help 2 1,164 Aug-17-2022, 03:35 PM
    Thread: beginner and need help with python
Post: RE: beginner and need help with python

you can specify a condition only with if and elif if i == 6: print("we have 6 juice") elif i == 0: print("we have no juice") elif i == 1 or i == 2: print("you have 1 or 2 juice") else: pri...
DZ_Galaxy Homework 13 5,672 Oct-15-2019, 04:03 PM
    Thread: Need help with "unsupported operand type(s)"
Post: RE: Need help with "unsupported operand type(s)"

Hello 1- Line 7: The return type the input() function is a string so adding the str on the RemoveNameNumber variable is useless. 2- Line 10: The variable RemoveNameNumber has a string value because ...
DZ_Galaxy General Coding Help 6 5,357 Oct-13-2019, 10:32 PM
    Thread: beginner and need help with python
Post: RE: beginner and need help with python

hello probably you didnt understand the while & For & range and if statement well as there are a lot of tutorials online, when you dont understand something on a channel just write the functi...
DZ_Galaxy Homework 13 5,672 Oct-13-2019, 09:36 PM

User Panel Messages

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