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: samuelshlzeo7159
» Forum threads: 38,730
» Forum posts: 175,551

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 30 Guest(s)
Google, Bing, AOL, Facebook, Applebot

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

 
  Stop if statement from running
Posted by: KieranPage - May-05-2020, 03:41 PM - Forum: General Coding Help - Replies (3)

im knew to python and have started work on a small project

[python]import random
strength = random.randint(1,100)
health = random.randint(1,100)..... More

Print this item

  Control a combobox from another python file PyQt5
Posted by: prath - May-05-2020, 03:22 PM - Forum: GUI - No Replies

I am a python beginner, using Qt designer for creating GUI in Python and using 3 different files for now. Main, GUI and Control. I need to control the..... More

Print this item

  [split] script: remove all "carriage return" from my json variable
Posted by: pete - May-05-2020, 02:36 PM - Forum: General Coding Help - Replies (2)

I am doing a get request for the api call to verify the values but I am having assert error due to white space \n which is in the json api call. How ..... More

Print this item

  Get average of multiple threads
Posted by: Contra_Boy - May-05-2020, 02:15 PM - Forum: General Coding Help - Replies (1)

Hi,
Is there a way to get the average of all the requests. I am able to get the response time per execution as below(running as a loop). But is there..... More

Print this item

  Append not working
Posted by: WiPi - May-05-2020, 02:12 PM - Forum: General Coding Help - Replies (3)

Hi guys,

I have used this several times before and I simply cannot see what I am doing wrong here.
Previous code has extracted a list of data (da..... More

Print this item

  Indirectlty convert string to float in JSON file
Posted by: WBPYTHON - May-05-2020, 01:51 PM - Forum: Data Science - Replies (6)

Hi,

I need to get rid of " from a JSON file

I have a JSON file like this:

[python]

{
"type": "FeatureCollection",
"features": [..... More

Print this item

  Add validation (regex) to QTableWidget cells
Posted by: mart79 - May-05-2020, 12:51 PM - Forum: GUI - No Replies

Hi all,

I have a table (see below example) and want to add a regex validation to each cell in column 0 and [inlin..... More

Print this item

  How to manage multiple datasets in Python
Posted by: ThePhantom - May-05-2020, 12:48 PM - Forum: General Coding Help - Replies (2)

Hi guys,

I have a question regarding how to manage multiple datasets in Python in a smart way. Let's say I have 3 .h5 file containing data I want t..... More

Print this item

  Linear regression doubt - Urgent
Posted by: kumarants - May-05-2020, 12:45 PM - Forum: Data Science - Replies (6)

Please clarify below error and support me to resolve this

My code is:

[python]import pandas as pd
import numpy as np
from sklearn import line..... More

Print this item

  Colossus - The Greatest Secret in the History of Computing
Posted by: ThomasL - May-05-2020, 11:41 AM - Forum: News and Discussions - No Replies

Hi everyone,

are you a computer nerd?
have you ever asked yourself what was the first computer?
do you want to know about the people who were the..... More

Print this item

  nexwiz installation error
Posted by: asmasattar - May-05-2020, 11:00 AM - Forum: Data Science - No Replies

Installing a nxwiz gives an error. I am not understanding the issue
python_version < "3.8"->pytest==5.1.2->nxviz) (3.1.0)
ERROR: yotta 0.20.5 requir..... More

Print this item

  Get input directly as a number?
Posted by: Pedroski55 - May-05-2020, 10:56 AM - Forum: General Coding Help - Replies (4)

In my little, amateurish Python routines, I often need to get a number as input, so I do:

[quote]num = input('just enter a number ')
startNum = i..... More

Print this item

  Twitter follower network
Posted by: gugatcgwgf - May-05-2020, 10:08 AM - Forum: General Coding Help - Replies (2)

Hello everybody,

I have the following problem: For a research project I have to create a network map of of a list of twitter accounts. In order to ..... More

Print this item

  Inheritance problem
Posted by: DPaul - May-05-2020, 10:04 AM - Forum: General Coding Help - Replies (18)

I have 2 classes sphereclass.py and cubeclass.py , containing respective methods for calculating volume,etc...
Then i make a third class "geometrycla..... More

Print this item

  Help to fix PYTHON CODES
Posted by: LLNT13 - May-05-2020, 09:47 AM - Forum: Game Development - Replies (2)

[size=medium]I'm a beginner and I'm coding "Snake game". This is what I copied paste from the Internet and self-coded. This system did run but the sco..... More

Print this item

  Tkinter
Posted by: JamesGunn - May-05-2020, 08:50 AM - Forum: GUI - Replies (2)

Hello

I'm trying to create a crude "fade in" for some writing using the "label" widget.

I've created a "loop" using "root.after(100,Loop)", each..... More

Print this item

  Prevent a PDF from being edited using Python?
Posted by: PythonNPC - May-05-2020, 07:43 AM - Forum: General Coding Help - Replies (1)

Hello,

My question is simple,
I am using ReportLab to generate PDFs.

My question is that can I encrypt the PDFs in such a way that they can be ..... More

Print this item

  WSGI Multi processing.
Posted by: simbha - May-05-2020, 05:56 AM - Forum: Web Scraping & Web Development - Replies (1)

I am using WSGI module for running a RESTful interface application. Application is running fine. When i use a multiple requests simultaneously , from ..... More

Print this item

  regex on json file
Posted by: senaint - May-05-2020, 05:45 AM - Forum: General Coding Help - Replies (12)

I'm trying to match a regex expression to the value of Id in a json file. My goal is to iterate over a bunch of json files in a directory and replace ..... More

Print this item

  self def
Posted by: Agusben - May-05-2020, 05:28 AM - Forum: General Coding Help - Replies (2)

I have a problem with a function and the "self" statement.

[python]
from tkinter import *
import turtle
from math import cos,sin,pi

root = Tk..... More

Print this item

  How to take group of numbers summed in groups of 3...
Posted by: jaguare22 - May-05-2020, 05:05 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm very new to coding but already have a practical need. This is way over my head but I thought I'd see if someone might be interested in ..... More

Print this item

  calling strftime does not display current time
Posted by: tonytech - May-05-2020, 04:27 AM - Forum: General Coding Help - Replies (2)

Hello,

I have a working automatic top off system for my fish tank with the code below. It works great and replenishes water successfully. The problem..... More

Print this item

  Will not print in command prompt
Posted by: PandaCode - May-05-2020, 03:50 AM - Forum: General Coding Help - Replies (12)

Hello,

My instructor has us write a simple code using Atom to run in command prompt. When the instructor ran his code in the video it displayed the i..... More

Print this item

  values on graph
Posted by: mecds - May-05-2020, 01:43 AM - Forum: General Coding Help - No Replies

Hi All,

I'm currently studying how to create graphs. My problem is, I can't show y axis values in my graph. My code is the below

[python]##
imp..... More

Print this item

  Pyinstaller help
Posted by: jacovb13 - May-05-2020, 01:03 AM - Forum: General Coding Help - Replies (7)

Im attempting to make a python file I made into a .exe file I installed pyinstallerusing the command:

pip install pyinstaller

it said it install..... More

Print this item

  Counting Vowels in Python
Posted by: sapphosvoice - May-05-2020, 01:01 AM - Forum: Homework - Replies (1)

Hey friends, I'm trying to do a Python course on Coursera, but I just can't pass one of the assignments because I am so confused by the following ques..... More

Print this item

  Learn Python 3 In 24 Hours
Posted by: fuzzy_tech - May-05-2020, 12:46 AM - Forum: Tutorial Requests and Submissions - Replies (2)

[i]Hello, if you are really serious about learning the all powerful and awesome python programming language within a very short time frame then, I edg..... More

Print this item

  XlsxWriter and Python inheritance
Posted by: aquerci - May-04-2020, 10:38 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I have some issues with my code that I can't solve, and an improvment that I can't to implement. my head is splitting.. I'm really stuck wit..... More


Attached Files

Thumbnail(s)
   
Print this item

  Need help with Neural network code
Posted by: AsRycka - May-04-2020, 10:24 PM - Forum: Homework - Replies (3)

[b]Hello, I am new in python. Need help with neural network code.

I have data in .xlxs file. Dimensions 7027x65.
This is data file
..... More

Print this item

  Is there a way to plot pandas dataframes using Plotly, with Tkinter?
Posted by: jbitsch - May-04-2020, 10:21 PM - Forum: GUI - No Replies

I'm a big fan of plotly, and has recently started to use Tkinter for GUI's.

Is there a way to plot pandas dataframes using Plotly, with Tkinter?
..... More

Print this item

  How can and I read and write css files
Posted by: SheeppOSU - May-04-2020, 10:07 PM - Forum: News and Discussions - Replies (2)

I want to read and write with css files, but I don't know how I would do this since I get an error when I try to use redlines with a ..... More

Print this item

  Is there a way to not terminate a running thread in python
Posted by: Contra_Boy - May-04-2020, 08:03 PM - Forum: General Coding Help - Replies (3)

Hi All,
I have a use case where i am executing my script for a set duration. I wanted to know if there is a way to not terminate a running thread and..... More

Print this item

  How can I speed up my openpyxl program reading Excel .xlsx files?
Posted by: deac33 - May-04-2020, 08:02 PM - Forum: General Coding Help - No Replies

Like many folks I need to read both .xls files (I call them S files, using xlrd) and .xlsx files (the X files, using openpyxl), in both cases files of..... More

Print this item

  AttributeError: module 'collections' has no attribute 'namedtuple'
Posted by: epgs1975 - May-04-2020, 07:51 PM - Forum: General Coding Help - Replies (2)

i am starting in python. in my command prompt, py gives the following
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (A..... More

Print this item

  Sound from the tkinter.messagebox
Posted by: tedarencn - May-04-2020, 07:48 PM - Forum: GUI - Replies (2)

Hey Guys,
I created one simple notebook now, When I click the button "message button" likes Author, version and copyright, the windows sound. But I c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 4 hours ago tester_V Pedroski55 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... 577288
  Tutorial Requ... 500446
  Web Scraping ... 440964
  Newbie with P... 384997
  New Users Int... 369397
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 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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