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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,272
» Latest member: DataScientist071
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 29 Guest(s)
Google, Bing, AOL, Mojeek

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 169
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 157
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 127
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 173
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 350
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 69
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 115
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 364
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 208
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 322

 
  <_io.BufferedRandom name =
Posted by: Maryan - Oct-17-2020, 09:06 PM - Forum: General Coding Help - Replies (4)

Does anyone have experience with this kind of error? The app purpose is on click 'Upload Image' to select image and upload to the db as blob. I'm gett..... More

Print this item

  My first temperature converter
Posted by: TheLowEndTheory - Oct-17-2020, 07:47 PM - Forum: Homework - Replies (7)

NOTE: THIS IS A HOMEWORK, AND I AM NOT LOOKING FOR PEOPLE TO DO IT FOR ME!

Hi guys! in my programming class I am required to create a temperature c..... More

Print this item

  Is there a better way? Python parsing
Posted by: tlewick1 - Oct-17-2020, 04:40 PM - Forum: General Coding Help - Replies (1)

I've written the following code:
[python]import re
res_pos = r'(X)(\d+\.\d*)'
res_neg = r'(X-)(\d+\.\d*)'
def grab_pos(line, pattern=res_pos):
..... More

Print this item

  how to activate Enter key in text box
Posted by: astral_travel - Oct-17-2020, 04:07 PM - Forum: GUI - Replies (3)

Hi !

i tried the following:
[python]import tkinter as tk

window = tk.Tk()

greeting = tk.Label(text="hello everyone \n what's up")

greetin..... More

Print this item

  Did interpreter 'compile' all import modules(from thrid-party)
Posted by: jamesyuan - Oct-17-2020, 01:49 PM - Forum: General Coding Help - Replies (10)

Did interpreter 'compiles' all import modules(installed from third-party by pip) when a programme is running? I edited the code from site packages pat..... More

Print this item

  Insert blob into sqlite and retirve it
Posted by: Maryan - Oct-17-2020, 01:49 PM - Forum: GUI - No Replies

I'm struggling to find the solution for my problem. It's simple interface, button where user should select image, and the same image to be uploaded to..... More

Print this item

  Multithreading question
Posted by: amadeok - Oct-17-2020, 12:54 PM - Forum: General Coding Help - No Replies

Hello,
I'm working on a program to interpolate video frames taking advantage of multithreading or multiprocessing to better take advantage of the idl..... More

Print this item

  Newbie Start with Text or Table?
Posted by: abrogard - Oct-17-2020, 11:47 AM - Forum: General Coding Help - Replies (5)

I'm totally new. Going to write a little thing to keep one or two hundred strings maybe 250 chars long is all.

Better to write them to a text fil..... More

Print this item

  Phonetic transcriber
Posted by: Oderjunkie - Oct-17-2020, 06:19 AM - Forum: Data Science - No Replies

I'm a python beginner so please excuse me for any clear mistakes.

This is less of a "Why did i get this error?" question and more like a "How do i ..... More

Print this item

  python coding error
Posted by: isntitzee - Oct-17-2020, 04:54 AM - Forum: General Coding Help - Replies (1)

[python]#!/usr/bin/env python3
#The leap_year() function will take a year in "YYYY" format, and return True if the given year is a leap year, otherwi..... More

Print this item

  While True loop help
Posted by: Nickd12 - Oct-17-2020, 12:39 AM - Forum: General Coding Help - Replies (2)

so I'm working on an alarm for a virtual assistant the alarm is running in a while true loop while it waits for the time to go off. However I would li..... More

Print this item

  If Statement not working...Why?
Posted by: Milfredo - Oct-17-2020, 12:24 AM - Forum: General Coding Help - Replies (2)

Here is a snippet of code and what it produces. I don't understand what is going on.

[python]

def complete_form():

horses_names = []
for ..... More

Print this item

  Error Handling
Posted by: JarredAwesome - Oct-16-2020, 11:26 PM - Forum: General Coding Help - Replies (5)

Hey Everyone,

Does anyone have any good ideas for Error Logging?

Obviously, Try-Except will be used. but I am curious how you guys handle the ac..... More

Print this item

  Automating PyTables Dataset Creation and Append
Posted by: Robotguy - Oct-16-2020, 11:21 PM - Forum: Data Science - Replies (1)

In my script, I create several datasets manually:

[python] import tables
dset1 = f.create_earray(f.root, "dataset1", atom=tables.Fl..... More

Print this item

  list trouble
Posted by: rediska - Oct-16-2020, 10:41 PM - Forum: General Coding Help - Replies (3)

hello, im new to python and having some trouble with lists. im trying to change all the values in a list to 0 but when tring the range function it onl..... More

Print this item

  beginner question about lists and functions
Posted by: sudonym3 - Oct-16-2020, 10:15 PM - Forum: General Coding Help - Replies (5)

hi there

I have just started teaching myself python.

I wanted to create a small bit of code that would include a function that would take a li..... More

Print this item

  merge dataframes
Posted by: imatiasmb - Oct-16-2020, 08:11 PM - Forum: General Coding Help - Replies (1)

Hi,

I need to merge this two dataframes:

df1
[python]pais año cantidad
0 Chile 2000 10
1 Chile 2001 11
2 Chile 2002 ..... More

Print this item

  Passing Variables between files.
Posted by: victorTJ - Oct-16-2020, 08:08 PM - Forum: General Coding Help - Replies (3)

I have these two files
Main.py
[python]# Script displays my organizations I have access to.
import os

os.chdir('/Users/virgi/Dropbox/Drop..... More

Print this item

  pyGPs code problem
Posted by: pygauss10 - Oct-16-2020, 07:26 PM - Forum: General Coding Help - Replies (5)

(**English is not my native language; please excuse typing errors.)
I just installed a site package pyGPs(via 'pip install pyGPs', you can also downl..... More

Print this item

  Adding “import sys” to Python
Posted by: Yevgen1991 - Oct-16-2020, 07:23 PM - Forum: General Coding Help - Replies (5)

Hi all!

I have the script which I load into one program:

[b] import requests
import sys
sourceip = sys.argv[1]
url = "https://..... More

Print this item

  Find Mismatch Between Two Strings
Posted by: Omid - Oct-16-2020, 07:06 PM - Forum: Homework - Replies (8)

Hello,

Please help me with this:

The function has two parameters, str1 and str2, and should return:

0 if both are identical (Dog and dog)
1 ..... More

Print this item

  Using Firebase In Python
Posted by: Harshil - Oct-16-2020, 06:00 PM - Forum: General Coding Help - No Replies

Main Problem:

  1. I Want to how to send user email verification and password-reset email using firebase
Details:

Print this item

  Terminating Subprocesses and Threads while they're calculating
Posted by: lvlanson - Oct-16-2020, 05:46 PM - Forum: General Coding Help - Replies (4)

I am working on a larger project, where I have 2 Threads (same process) and one separate process. One of the threads is the gui, the other thread is a..... More

Print this item

Question Telegram bot - Problem with proxies and web server
Posted by: NoNameoN - Oct-16-2020, 05:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi everybody I want to use this script https://github.com/attakercyebr/TelegramView-hack4lx-V2 but if I try to start it i have only a lot of errors.
..... More

Print this item

  Looping if condition isnt met
Posted by: finndude - Oct-16-2020, 05:04 PM - Forum: General Coding Help - Replies (6)

[python]
elif time_limit_ask[0] == "r" or time_limit_ask[0] == "R":
def random_questions():
test_1 = input ("enter number ")
..... More

Print this item

  Python ValueError The value of a Series is abmbiguous
Posted by: nhl66pens - Oct-16-2020, 04:40 PM - Forum: General Coding Help - Replies (2)

I have a function that loops through a dataframe and then loops through the Booking Statuses (there are 6 possible) and looks to see if the value of t..... More

Print this item

Lightbulb Help with Tempature Conversion Program
Posted by: booponion - Oct-16-2020, 04:13 PM - Forum: General Coding Help - Replies (3)

I was given an assignment to traslate a program from javascript to Python (I don't know Javascript) and then to add in 2 while statements. I haven't m..... More

Print this item

  How to get my Python SocketServer work parallely?
Posted by: testsid - Oct-16-2020, 02:58 PM - Forum: Networking - No Replies

Hi

I have made a multithreaded Python socket server.

It supports multiple socket client connections. However, it serves the client only synchron..... More

Print this item

  Multi-Indexing in Single Column
Posted by: illmattic - Oct-16-2020, 02:11 PM - Forum: Data Science - Replies (2)

Hello,

I'm trying to create a more visually appealing dataframe and so I want my index to be broken down into categories with different headings.I ..... More

Print this item

  Can't open Amazon page
Posted by: Pavel_47 - Oct-16-2020, 01:13 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

Here is simple code that get error:
[python]from urllib.request import urlopen
from bs4 import BeautifulSoup

url = 'https://www.amazon...... More

Print this item

  Sorting list of names using a lambda (PyBite #5)
Posted by: Drone4four - Oct-16-2020, 12:46 PM - Forum: General Coding Help - Replies (2)

Working on CodeChallenges’ PyBite #5, here is the list I am working with:

[python]names = ['arnold schw..... More

Print this item

  capture pytest results to a file
Posted by: maiya - Oct-16-2020, 12:44 PM - Forum: General Coding Help - Replies (2)

Hi,

[python]
my_test.py::test_001_mytest PASSED [ 50%]
my_test.py::test_002_mytest PASSED ..... More

Print this item

  Better Way to Monitor Time Request.
Posted by: bill_z - Oct-16-2020, 12:43 PM - Forum: Code Review - Replies (2)

Being new to Python, but not to programming, I’m concerned with efficiency regarding CPU cycles. My project is to collect data then write it out to a..... More

Print this item

  I Wish....
Posted by: ATARI_LIVE - Oct-16-2020, 12:07 PM - Forum: Bar - No Replies

I wish I have this(picture) for my Atari 800XL 8 bit com..... More

Print this item

  Pylint more Fast
Posted by: leandrogmuller - Oct-16-2020, 11:11 AM - Forum: General Coding Help - Replies (2)

How can I become the PYLINT more fast.
I need to check sources during development, but the pylint expend 8 seconds to check the source.

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579108
  Tutorial Requ... 511303
  Web Scraping ... 442068
  Newbie with P... 386133
  New Users Int... 378460
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday

User Panel Messages

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