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,975
» Latest member: Schirag
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

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

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
4 hours ago
» Replies: 2
» Views: 167
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
11 hours ago
» Replies: 2
» Views: 802
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 843
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 538
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,911
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,315
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,890
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,310
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,237
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,559

 
  Online python repl?
Posted by: Gribouillis - Mar-25-2020, 02:01 PM - Forum: General Coding Help - Replies (4)

Does anyone know online python sites where you can

  1. Run code through a web browser
  2. Visualize or download matplotlib figures created by t..... More

Print this item

  Subprocess command working for one cmd and for cmd one not wrking
Posted by: PythonBeginner_2020 - Mar-25-2020, 01:52 PM - Forum: General Coding Help - No Replies

Hi All,
i hame on simple code.
same code is working when i am using customer specific tool command . but same code is not working on other command,..... More

Print this item

  VideoWriter unreadable output using tempfile
Posted by: fourtino2322 - Mar-25-2020, 01:37 PM - Forum: General Coding Help - Replies (1)

When I use opencv-python's VideoWriter to a local mp4 filepath, the code below works perfectly and the mp4 file is saved to disk. This save to disk op..... More

Print this item

  Create Node via ToolbarButtonClick
Posted by: Basti - Mar-25-2020, 01:30 PM - Forum: GUI - Replies (2)

Hi!
I'm new here and I'm hoping that you can help me a little bit here. Angel
I work with Python 3.7, pyqt 5.13.2 and [i]windows..... More

Print this item

  Make nested system directories based on an unsorted list?
Posted by: koebi - Mar-25-2020, 01:14 PM - Forum: General Coding Help - No Replies

Hello,

I am looking for a solution that I can make nested directories based on an unsorted list.

Here is a simplified example:

Input:..... More

Print this item

  Issue calling Chromedriver.exe
Posted by: KipCarter - Mar-25-2020, 12:19 PM - Forum: General Coding Help - Replies (5)

Back to my project this morning and my goal was to hide or auto close the window that Chromedriver pops up and doesn't bother to close. I had formatte..... More

Print this item

  ValueError: Found input variables with inconsistent numbers of sample
Posted by: robert2joe - Mar-25-2020, 11:10 AM - Forum: Data Science - No Replies

Dear all,

I am new to Python and I am trying to complete a piece of coursework that involves Support Vector Machines, Principal Component Analysis ..... More

Print this item

  Value Investing with Python
Posted by: nandini21 - Mar-25-2020, 11:10 AM - Forum: Data Science - No Replies

Hi there, is there anyone who has tried to implement a simple value investing strategy (Ben Graham/Piotroski) with backtesting using Python? Would you..... More

Print this item

  Problem with the environment
Posted by: rafal954 - Mar-25-2020, 09:30 AM - Forum: Data Science - No Replies

Welcome,
these are my first steps in Python.
I tried to get to the file with the '.yml' extension using Anaconda software.
I try to get there in th..... More

Print this item

  Python equivalent of Matlab code
Posted by: kwokmaster - Mar-25-2020, 09:29 AM - Forum: General Coding Help - Replies (1)

I am converting a section of Matlab code from others as my project and I have no idea what it is doing.

CC_horiz=bwconncomp(horiz_erode,8);
..... More

Print this item

  XML (utf-8) question
Posted by: DPaul - Mar-25-2020, 09:21 AM - Forum: General Coding Help - Replies (4)

Hi,
After a lot of reading an searching to no avail, this is my problem:

1. I can read & write xml files using ElementTree : no problems as long as i..... More

Print this item

  Scroll frame with MouseWheel
Posted by: Nemesis - Mar-25-2020, 09:04 AM - Forum: GUI - Replies (1)

Hi,

I would like to make a widget to pass picture with scroll button. Below is my code however I cannot pass images while scroll button is working...... More

Print this item

  What does * mean in the below line?
Posted by: Bhavika - Mar-25-2020, 07:28 AM - Forum: General Coding Help - Replies (3)

Print([*range(0, 20, 2)])

Print this item

  Improving my code for image recognition
Posted by: SheeppOSU - Mar-25-2020, 07:28 AM - Forum: Code Review - Replies (3)

I was trying to make a bot that would work through image detection. So I did it, and it works, but I came to ask for suggestion on how I can improve m..... More

Print this item

  Using variable from a class in another .py script
Posted by: keegan_010 - Mar-25-2020, 07:04 AM - Forum: General Coding Help - Replies (4)

Hi, I am trying to get a variable that I set in a class into another .py file. A snippet of the code below:
[python]
class Ui_MainWindow(object): #t..... More

Print this item

  cipher decryption tool
Posted by: nightfox82 - Mar-25-2020, 06:36 AM - Forum: General Coding Help - No Replies

Hi there,


New to the forum and new to learning python 3. So hi all :)

I'm studying ethical Hacking in my own time and have been..... More

Print this item

  Radar/minimap
Posted by: michael1789 - Mar-25-2020, 04:00 AM - Forum: Game Development - Replies (1)

I'm facing great frustration with making a minimap/radar that follows the player. It's an open space game and I really need to implement one.

Ever..... More

Print this item

  Guessing game
Posted by: kramon19 - Mar-25-2020, 02:47 AM - Forum: General Coding Help - Replies (1)

Hello everyone, I am new to python and decided to create a guessing game. So imported the random module and the user must guess a number between 1 - 9..... More

Print this item

  Replace XML tag and write to the same file
Posted by: krish216 - Mar-24-2020, 11:26 PM - Forum: General Coding Help - Replies (4)

Hello,

I have a xml file with name "binary.xml" with below contents- Need to replace the value of tag identity from ABCDEFG to some new value e.g. ..... More

Print this item

  Calculate the multiple of a number
Posted by: pythonuser1 - Mar-24-2020, 10:27 PM - Forum: Homework - Replies (7)

Hello,

[python]
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Les nombre multiples de n compris entre 1 et 60
def multiple(n):
for i in range(1,61)..... More

Print this item

  Test program returns int (I want int) and real one returns tuple (not wanted)
Posted by: chesschaser - Mar-24-2020, 09:55 PM - Forum: GUI - Replies (16)

Hi everyone!

I'm having a problem coding a search function. I want to search a tkinter Listbox in Python 3 on Windows. I use itembox.size() to get..... More

Print this item

  I came across a problem and I am stuck on it
Posted by: Fraher123 - Mar-24-2020, 09:44 PM - Forum: Homework - Replies (3)

I was given two files one with a person name and their rating which I put into a dictionary and then one with the author's names and their books they'..... More

Print this item

  Problem running script within console
Posted by: koepjo - Mar-24-2020, 09:11 PM - Forum: General Coding Help - Replies (3)

Hi there,

I'm using Anaconda 3.x and Spyder 4.1.1.

I'm trying to interpreted the script

import numpy
.

This works while exe..... More

Print this item

  Reminder
Posted by: AuthorCliment - Mar-24-2020, 09:08 PM - Forum: GUI - Replies (2)

I was trying to create reminder based on scheduled time. I used classes for switching among pages.
The idea of hole program is: First page - select t..... More

Print this item

  Counter to keep track how many times values in a list appear in each row in a column
Posted by: chief - Mar-24-2020, 08:14 PM - Forum: Data Science - No Replies

[python]

import pandas as pd


words = [
"robot",
"automation",
"collaborative",
"Artificial Intelligence",
"technology..... More

Print this item

  Create a program that PING a list of IPs
Posted by: skaailet - Mar-24-2020, 07:29 PM - Forum: General Coding Help - Replies (7)

Could somebody help me creating a program that Ping a list of IP adresses and save thta result of that Pinf in a text file in order to have a historic..... More

Print this item

  the picture disappears
Posted by: berckut72 - Mar-24-2020, 07:07 PM - Forum: GUI - Replies (1)

Hello!
Tell me, please ... I move the picture in the class using a separate method, and when the picture receives the last coordinate, then it disapp..... More

Print this item

  Win32API Troubles
Posted by: daaaabs - Mar-24-2020, 06:53 PM - Forum: General Coding Help - Replies (2)

Hi, so I've had this code that caused the mouse cursor to move in a specific pattern. I ran it via Windows Powershell via the following steps:

- r..... More

Print this item

  Converting PNG to TIFF (pillow?)
Posted by: gw1500se - Mar-24-2020, 06:31 PM - Forum: General Coding Help - Replies (4)

I need to convert a PNG file to TIFF. I am looking at pillow but it does not seem to have that capability. Am I looking in the wrong place or is there..... More

Print this item

  Read and save file in chucksize
Posted by: zinho - Mar-24-2020, 06:08 PM - Forum: General Coding Help - Replies (3)

I need read a txt file using chuncksize, after save into xlsx.

[python]
import os, sys
import pandas as pd
import xlwings as xw


caminho = o..... More

Print this item

  python pandas to html with formatting
Posted by: slangswinger - Mar-24-2020, 05:38 PM - Forum: Data Science - No Replies

I have a project where I am creating a multiple html tables from pandas dataframes.

Currently I have a pandas dataframe which contains a combination ..... More

Print this item

  Simple question concerning python dot notation.
Posted by: miner_tom - Mar-24-2020, 05:14 PM - Forum: General Coding Help - Replies (1)

Hi, I do understand a fair amount about object oriented programming. But the following convention using dot notation eludes me.

Although the follow..... More

Print this item

  Hockey Data Project
Posted by: Joeylax54 - Mar-24-2020, 05:13 PM - Forum: Web Scraping & Web Development - Replies (8)

Hello! I am currently working on a project relating to retrieving data from the NHL API and have been able to pull from a single team but I can't figu..... More

Print this item

  Theory behind referencing a dictionary rather than copying it to a list
Posted by: sShadowSerpent - Mar-24-2020, 04:58 PM - Forum: General Coding Help - Replies (2)

Hi there, I ran into a problem working with appending a dictionary to a list today. I eventually managed to figure out that appending a dictionary to ..... More

Print this item

  Need Help With A Problem I Have Come Across
Posted by: finndude - Mar-24-2020, 04:15 PM - Forum: General Coding Help - Replies (10)

Hello Users.

I have wrote this simple login and registartion program:

[python]import os
from os import path

def start():
startup = inpu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 4 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... 11 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [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...
Most views
  The best Prog... 577351
  Tutorial Requ... 500685
  Web Scraping ... 441010
  Newbie with P... 385051
  New Users Int... 369542
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Schirag Today
Jacobjoift Today
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday

User Panel Messages

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