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,402
» Latest member: LewisByday
» Forum threads: 38,826
» Forum posts: 176,039

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 31 Guest(s)
Bing, Applebot, Google

Latest Threads
Gichardaxora
Forum: General Coding Help
Last Post: LewisByday
40 minutes ago
» Replies: 0
» Views: 11
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
9 hours ago
» Replies: 2
» Views: 183
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
9 hours ago
» Replies: 29
» Views: 15,744
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
9 hours ago
» Replies: 8
» Views: 3,666
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 182
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 150
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,195
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 227
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,637
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 307

 
  Referencing a fixed cell
Posted by: Mark17 - Dec-17-2020, 06:05 PM - Forum: General Coding Help - Replies (2)

This line of code is giving a Traceback:

ES_skel['Pct_Return']=100*(ES_skel['Close']-ES_skel['Close'][0])/ES_skel['Close'][0]
T..... More

Print this item

  For Loop with List Comprehension
Posted by: muzikman - Dec-17-2020, 05:39 PM - Forum: General Coding Help - Replies (25)

Is this the easiest way to get the format below? I just hate hard coding the value x + 1, might as well just insert the digit 1. What if I didn't know..... More

Print this item

  Global - local variables
Posted by: Motorhomer14 - Dec-17-2020, 04:45 PM - Forum: General Coding Help - Replies (11)

Hello All

I am struggling with using local or global variables. I want to change a variable from 0 to 1 and vis versa within a function when someth..... More

Print this item

  Unpacking a list
Posted by: Mark17 - Dec-17-2020, 03:44 PM - Forum: General Coding Help - Replies (3)

Here's some code:

[Python]
print()
print('This program will print out a set containing all colors from color_list_1 {"White", "Black", "Red"} tha..... More

Print this item

  Christmas Tree (Why is it like that ?)
Posted by: GaivSo - Dec-17-2020, 02:16 PM - Forum: General Coding Help - Replies (2)

Hello everyone,
I'm trying to do a christmas tree but I encouter some problems...


[python]stairs = int(input("Number of stairs for the Chr..... More

Print this item

Star Why does it exit?
Posted by: Oshadha - Dec-17-2020, 11:02 AM - Forum: General Coding Help - Replies (1)

I was making an app, that takes input and writes it in a csv file.
But when I run, it just exits.
Script,
[python]from tkinter import*
import time..... More

Print this item

  Turtle circle
Posted by: Fabio87 - Dec-17-2020, 10:59 AM - Forum: Homework - Replies (3)

Hi everybody !

I am trying to learn Python and I got three exercises:

Write a procedure for drawing a circle given the center and radius (with t..... More

Print this item

  Change property of custom Object
Posted by: Sancho_Pansa - Dec-17-2020, 10:53 AM - Forum: GUI - No Replies

Hello,

In my application I use a customized Widget, developed previously by someone.
Here is the code of this customized widget:

[python]from t..... More

Print this item

Sad [split] HELP ME DEBUG - Who wants to be a millionaire Game
Posted by: Beetoh - Dec-17-2020, 10:20 AM - Forum: Homework - Replies (1)

Can someone help code for this
i. Have a player view only one question at a time. Please note that a question must also consist of its multichoice a..... More

Print this item

  What causes this pop-up to trigger?
Posted by: Oshadha - Dec-17-2020, 04:40 AM - Forum: GUI - Replies (2)

Script,
[python]from tkinter import*
import random
import time

local_time = time.asctime(time.localtime(time.time()))#Get local time (TIME)

r..... More

Print this item

  Running A Parser In VSCode - And Write The Results Into A Csv-File
Posted by: apollo - Dec-17-2020, 12:28 AM - Forum: General Coding Help - Replies (5)

hi there - good day dear python-experts.


running a parser in VSCode - and write the results into a csv-file
i ve got a tiny error on a

[co..... More

Print this item

  returning values in for loop
Posted by: Nickd12 - Dec-16-2020, 10:56 PM - Forum: General Coding Help - Replies (4)

in my example i would like to return the whole list with it being in a function instead i am only getting 1 as a return.
However when its not in a fu..... More

Print this item

Sad Function defined by branches
Posted by: antoniogalante - Dec-16-2020, 09:28 PM - Forum: General Coding Help - Replies (1)

hello, I'm having some difficulty creating a program. It consists of the following, I need to create a graph of a function defined by branches, and th..... More

Print this item

  How to create a column with periodic entries?
Posted by: Mark17 - Dec-16-2020, 08:42 PM - Forum: General Coding Help - Replies (2)

I'm trying to create a stock chart but with date on the x-axis, it's a black blur because the dataframe has 3407 entries.

So... what I'm thinking o..... More

Print this item

  Understanding Regex Groups
Posted by: matt_the_hall - Dec-16-2020, 07:16 PM - Forum: General Coding Help - Replies (5)

Hello,

I'm trying to get a better understanding of regex capturing groups, because my python script is not executing as expected, based on what I und..... More

Print this item

  How to execute several fonctions at the same time
Posted by: yoyo - Dec-16-2020, 06:15 PM - Forum: Homework - Replies (3)

hello,
I have a python project where I should use this fonction to make musics.
[python]
from simpleaudio import *
import numpy as np

def sound..... More

Print this item

  Customizing QMessageBox
Posted by: arbiel - Dec-16-2020, 05:41 PM - Forum: GUI - Replies (1)

Hi

QMessageBox can be displayed with translated-to-french standard english labels. Is it possible to customize the labels to display specific phras..... More

Print this item

  How decode asn1 hex value using asn1tools
Posted by: C3PO - Dec-16-2020, 04:06 PM - Forum: General Coding Help - Replies (1)

I'm trying to decode the following ASN1 message using Python

[inline]b'\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x02\x89G\x11\x00\x1a\x01\x00\x1..... More

Print this item

  while loop
Posted by: newcode123 - Dec-16-2020, 12:01 PM - Forum: Homework - Replies (3)

I want to write a program that gives the following outputs with the Python while loop.
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
I can't find a way how to..... More

Print this item

  Check datastream in ser2net
Posted by: kottes - Dec-16-2020, 11:39 AM - Forum: Networking - Replies (1)

In a linux modem I use the program ser2net. The connection to a extern host is made via port 2000. I need to check if there is a datastream through t..... More

Print this item

  Can't properly shape an array
Posted by: maaaa2401 - Dec-16-2020, 11:26 AM - Forum: General Coding Help - Replies (3)

Hello everybody. I'm running a script where I'm trying to predict with sklearn the values of a variable, called involvement (measured as a number from..... More

Print this item

  How to paste several lines of codes to the Python console
Posted by: 22_alias - Dec-16-2020, 11:05 AM - Forum: News and Discussions - Replies (13)

I'm not sure in which part of the forum to post this (as this is not really code related).

I used to be able to do this until very recently. Now wh..... More

Print this item

  Duplex pipes
Posted by: GrahamL - Dec-16-2020, 09:44 AM - Forum: General Coding Help - No Replies

Hi
I have created to projects for a client and server user named pipes by following the code here
..... More

Print this item

  Search Engine
Posted by: nman52 - Dec-16-2020, 09:21 AM - Forum: General Coding Help - Replies (1)

Can anybody tell me what are the steps to create a search engine such as google? I've read that it involves using python libraries such as beautiful s..... More

Print this item

  Becoming a Self-Taught Programmer: Cory Althoff Interview
Posted by: Evrone - Dec-16-2020, 08:49 AM - Forum: News and Discussions - No Replies

Cory Althoff is an author, speaker, and startup advisor. Book Authority called his book The Self-Taught Programmer one of the greatest software books ..... More

Print this item

  [For Hire][Remote Team: India Based]
Posted by: sandeep_canopus - Dec-16-2020, 07:20 AM - Forum: Jobs - No Replies

Canopus is one of the fastest-growing software and Data Science/analytics solution provider with clients across industries. We leverage experience in ..... More

Print this item

  Py2exe and pycryptodome
Posted by: reks2004 - Dec-16-2020, 05:50 AM - Forum: General Coding Help - Replies (5)

Hello,

I have problem with compiling application by py2exe.
Application uses Crypto libs (pycryptodome). My setup.py
[python]from distutils.core ..... More

Print this item

  urllib.request
Posted by: ericmt123 - Dec-16-2020, 04:29 AM - Forum: General Coding Help - Replies (2)

I am trying to find a way to count the number of character that appears on the screen as the user would see it. My code gives me a little bit of infor..... More

Print this item

  i'm going to full screen width
Posted by: Skaperen - Dec-16-2020, 03:18 AM - Forum: News and Discussions - Replies (8)

i've been told that a good reason to limit width of code, length of lines, to shorter than 80. such as 71, an old punch card limit used by the mainfra..... More

Print this item

  In this function y initially has no value, but a call to foo() gives no error. Why?
Posted by: Pedroski55 - Dec-16-2020, 03:07 AM - Forum: General Coding Help - Replies (8)

This is from Reuven Lerner's book Python Workout.

I don't really understand why I don't get an error when no value is passed to y.
Or why, the sec..... More

Print this item

Question Python + Google Sheet | Best way to update specific cells in a single Update()?
Posted by: Vokofe - Dec-16-2020, 02:10 AM - Forum: General Coding Help - Replies (1)

Hi all,

I am learning how to use Python + Google Sheet API to update GoogleSheet

I read the developers guide on spreadsheets().values().update()..... More

Print this item

  Reading Serial data
Posted by: Moris526 - Dec-15-2020, 09:45 PM - Forum: General Coding Help - Replies (6)

Hi.

Im sending data (a 3 digit number and a letter like ¨423 A¨) from PC to Raspberry zero via serial through USB gadget mode.

Im using this ..... More

Print this item

  AttributeError: 'NoneType' object has no attribute 'next'
Posted by: loves - Dec-15-2020, 08:56 PM - Forum: General Coding Help - Replies (2)

The question is Given the head of a linked list, remove the nth node from the end of the list and return its head.

My code:
[pyth..... More

Print this item

  Digit recognizer web app with Flask
Posted by: lorenzophys - Dec-15-2020, 07:37 PM - Forum: Code sharing - No Replies

I made a digit recognizer web app using Flask and Tensorflow to train the model. It's my first Flask program, so it's very simple. Apart from python, ..... More

Print this item

  Reading coordinates in tiff images using PyQt
Posted by: hobbyist - Dec-15-2020, 06:40 PM - Forum: GUI - Replies (21)

Hello, I am very new to PyQt. I need to build an application where I should load a .tiff images of UAV/sat (around 400 MB), and when I place somewhere..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Gichardaxora 40 minutes ago LewisByday LewisByday General Codin...
  a function to watch files 9 hours ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 9 hours ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 9 hours ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
Most views
  The best Prog... 580501
  Tutorial Requ... 520286
  Web Scraping ... 442810
  Newbie with P... 387030
  New Users Int... 386893
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
LewisByday Today
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday

User Panel Messages

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