Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,969
» Latest member: Zephlonix
» Forum threads: 38,730
» Forum posts: 175,552

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 31 Guest(s)
Google, Bing, Mojeek, AOL, Twitter, AOL, snippsat

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
2 hours ago
» Replies: 8
» Views: 407
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,803
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 667
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,203
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,771
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 664
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,161
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,137
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,428
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,979

 
  Help with homework
Posted by: bratme - Apr-28-2020, 05:20 PM - Forum: Homework - Replies (12)

I need help with this part for the code where i need to make a function that makes modification in the db file.

[python]@app.route('/update/<commit..... More

Print this item

  Can u see this code and tell whats wrong with it?
Posted by: AhmadKamal - Apr-28-2020, 04:43 PM - Forum: General Coding Help - Replies (14)

[python]### Age Advanced TEST ##
months = age * 12
weeks = months * 4
days = age - 365
unit = input("Choose you Format age (Months, Days, Weeks}")..... More

Print this item

  Cannot install CV2 on Ubuntu 18.04
Posted by: ErnestTBass - Apr-28-2020, 04:20 PM - Forum: General Coding Help - Replies (1)

I was trying to install Cv2 yesterday, and after a lot grinding by the computer the
output is as shown in the attached *.jpg file.

It seems th..... More

Print this item

  project help
Posted by: pkmnmewtwo - Apr-28-2020, 04:12 PM - Forum: Homework - Replies (6)

The inventory of the items for sale is growing and will continue to do so. It’s now no
longer practical to change the code’s internals every time an ..... More

Print this item

  PyDrive download file path
Posted by: MiniMinnow - Apr-28-2020, 03:01 PM - Forum: General Coding Help - No Replies

I had a bit of a problem with an app I'm making. I have managed to get the module 'Pydrive' to download a file from my google drive using drive API, ..... More

Print this item

  Python Class Problem
Posted by: JPCrosby - Apr-28-2020, 02:00 PM - Forum: General Coding Help - Replies (2)

I am trying to create a simple python programme that takes some user input and plots the data. So I decided to use a class to make the programme vers..... More

Print this item

  Install module with pip3 on a non root user
Posted by: matthewpintor2107 - Apr-28-2020, 12:20 PM - Forum: General Coding Help - Replies (1)

I am installing so many times in a server still encounter an error with the following message at the buttom:

PermissionError: [Errno 13] Permission..... More

Print this item

  average of values in dict with use of for
Posted by: Daromir - Apr-28-2020, 10:51 AM - Forum: Homework - Replies (8)

Hello,

Newbie here, so im sorry for all mistakes related to posting this.
I recently went through Udemy "Complete Python Course from Basics to Bri..... More

Print this item

  Why wont subprocess call work?
Posted by: steve_shambles - Apr-28-2020, 10:46 AM - Forum: General Coding Help - Replies (3)

I am interested in getting this snippet to work
but it uses call from subprocess module which is causing errors

[quote]Found 8 gists in 1 pages
..... More

Print this item

  Reason of the output
Posted by: himanshub7 - Apr-28-2020, 10:38 AM - Forum: General Coding Help - Replies (2)

The output of this program is
no
but I think it should be yes
because if condition is true when loop iterate last time(3rd time)

I know I am no..... More

Print this item

  Create GUI on MAC
Posted by: ju21878436312 - Apr-28-2020, 09:16 AM - Forum: GUI - Replies (2)

I would like to create a GUI for students using Mac Computers.
I am really new to it and wanted to check my procedure:

1. step: delete old python..... More

Print this item

  How to get Data-Taken For a Video file using Python
Posted by: ramprasad1211 - Apr-28-2020, 08:44 AM - Forum: General Coding Help - Replies (1)

Hi,

I've lot of video files which are captured using Sony Handycam. What I want is to organize them using python script. So I'm looking for a way t..... More

Print this item

  How to restart Python after input change
Posted by: ozstar - Apr-28-2020, 07:03 AM - Forum: General Coding Help - Replies (3)

Hi,

A nooby here :-)

I have a python .py file that gets its time to start and end its function, from a text file.

The .py file is manually i..... More

Print this item

  script works in windows but not in linux
Posted by: ovidius80 - Apr-28-2020, 05:39 AM - Forum: General Coding Help - Replies (2)

Hello everybody. I work in a project where we need to transfer a huge amount of data in ArangoDB. The data that need to be transferred are in the form..... More

Print this item

  translating lambda in function
Posted by: fabs - Apr-28-2020, 04:30 AM - Forum: General Coding Help - Replies (1)

hello everyone,

i am a python beginner and would like to understand a bit more about lambda, how to "read" it and when to use it instead of functio..... More

Print this item

  Connect Toplevel Radiobuttons to root Label/Entry widgets
Posted by: iconit - Apr-28-2020, 03:55 AM - Forum: GUI - Replies (2)

I'm stuck once again. The project I have is to build a score card to receive input as 8-10 contestants complete in answering 20 questions per match. T..... More

Print this item

  kill thread or process asap, even during time.sleep
Posted by: nanok66 - Apr-27-2020, 11:49 PM - Forum: General Coding Help - Replies (4)

Hi all,

I have been reading about the many ways to kill a thread in this[url=https://python-forum.io/thread-26312.html]..... More

Print this item

  letter translator (or someting)
Posted by: Obsilion - Apr-27-2020, 11:48 PM - Forum: General Coding Help - Replies (4)

i'm trying to make a translator (i'm not sure that's called translator) that changes every letter to it's equivalent in it's alternative version(for e..... More

Print this item

  Modules
Posted by: menator01 - Apr-27-2020, 10:27 PM - Forum: General Coding Help - Replies (3)

I was just wondering how big the program needs to be before you just create modules to import? What is the common practice on that subject?
Thank

Print this item

  What is the purpose of this append command!
Posted by: Captain_farrell - Apr-27-2020, 09:10 PM - Forum: General Coding Help - Replies (4)

[python]
def square(x):
return x * x


def my_calculation(x, y):
result = []
for i in y:
result.append(x(i))
return r..... More

Print this item

  Final Project (Databases, GUI, and Classes)
Posted by: poochenthecreator - Apr-27-2020, 08:46 PM - Forum: Homework - Replies (1)

I'm frankly lost on where to even start. The teacher has BARELY taught us how to structure databases using SQLite in Python and now she wants it to be..... More

Print this item

  sequence slicing problem
Posted by: qliu - Apr-27-2020, 08:14 PM - Forum: General Coding Help - Replies (4)

Hello everyone, I have a simple question about sequence slicing and do not get why the following happens, please help me with that:
A very simple que..... More

Print this item

  SMTPlib help
Posted by: tpolim008 - Apr-27-2020, 07:07 PM - Forum: General Coding Help - Replies (4)

Hello, I'm stuck at this point and looking for some help. I am trying to get the text file that my script creates, then email that out as an attached ..... More

Print this item

  combobox
Posted by: Agusben - Apr-27-2020, 06:04 PM - Forum: GUI - Replies (1)

I have a problem with a Combobox.
I want a Label to appear when a specific value is selected in the Combobox.

[python]
from tkinter import *
f..... More

Print this item

  Need urgent help in this question of Automata Programming Paradigm
Posted by: Satvik - Apr-27-2020, 05:32 PM - Forum: Homework - Replies (5)

The question is; Write a deterministic automata code for the language with ∑ = {0, 1} accepts the only input 101.

My classmate sent the following cod..... More

Print this item

  Permision problem pip
Posted by: Jules - Apr-27-2020, 03:55 PM - Forum: General Coding Help - Replies (6)

Hi,
when I'm triying to do something with pip like download or do an update I have this error code or similiar but with another file :

1#
[erro..... More

Print this item

  Problems - buttons w icons not scrolling
Posted by: kraco - Apr-27-2020, 12:54 PM - Forum: GUI - Replies (11)

Hi, can someone please help me. I am new to Python and I am having problems with scrollbars not scrolling my buttons in window1, only the background n..... More

Print this item

  List in Python 3.8
Posted by: AnwarulKabir - Apr-27-2020, 12:24 PM - Forum: General Coding Help - Replies (3)

I am a novice python programmer. I was learning and practicing the List data structure in python 3.8. To place my certain query I will take help from ..... More

Print this item

  excel data erase
Posted by: d8a988 - Apr-27-2020, 10:04 AM - Forum: Data Science - Replies (1)

I am trying to write new data to excel, however, this code erases the old one.
Is there a way to slightly modify this code without erasing the old da..... More

Print this item

  unsupported operandtype(s) for -: 'list' and 'int'
Posted by: Lakkad - Apr-27-2020, 10:02 AM - Forum: General Coding Help - Replies (2)

Here is the basic code.

for a in range(1, 5):
for b in range(0+[a*2]-2],2*a)
print(b)

It shows error unsupported operandtype(s) for..... More

Print this item

  Here what is the meaning of span=(1,2) ,match='1'?
Posted by: srisrinu - Apr-27-2020, 09:48 AM - Forum: General Coding Help - Replies (1)

I just want to know what is the meaning of span=(1,2) ,match='1'

import re
print(re.search(r'[0-9]','$100'))
[output]<re.Ma..... More

Print this item

  Indentations
Posted by: macfanpl - Apr-27-2020, 08:59 AM - Forum: General Coding Help - Replies (10)

Im on Mac in VSCode.

When I try to import function from another file and do from x import y all I get is red underline under [inli..... More

Print this item

  Problem about image and button
Posted by: scotesse - Apr-27-2020, 08:03 AM - Forum: GUI - Replies (5)

Hi,
I am doing a project on Tkinter, and I am facing 2 problems :

1- When I define a class and insert an image, it doesn't work. But, when I jus..... More

Print this item

  Installing Python Application
Posted by: pplgf - Apr-27-2020, 06:45 AM - Forum: General Coding Help - Replies (3)

I am a novice Python user and am hoping to get help installing a program. Please let me know if this is the right place to post.

I got the code her..... More

Print this item

  Pystray help
Posted by: steve_shambles - Apr-27-2020, 04:39 AM - Forum: General Coding Help - Replies (5)

I'm looking into using Pystray because it is cross platform.
I find the docs pretty confusing.

I h..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 2 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577294
  Tutorial Requ... 500479
  Web Scraping ... 440968
  Newbie with P... 384998
  New Users Int... 369425
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8176
snippsat 7370
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Zephlonix Today
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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