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,273
» Latest member: Astrobert
» Forum threads: 38,788
» Forum posts: 175,860

Full Statistics

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

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Astrobert
1 hour ago
» Replies: 0
» Views: 19
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
3 hours ago
» Replies: 2
» Views: 131
best way to learn python
Forum: News and Discussions
Last Post: mamta25
5 hours ago
» Replies: 5
» Views: 3,061
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 187
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 174
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 132
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 178
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 355
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 73
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 376

 
  Appending to list of list in For loop
Posted by: nico_mnbl - Sep-25-2020, 03:30 PM - Forum: General Coding Help - Replies (2)

Hello,

I have question regarding for loops and appending to a list in that loop. In a for loop, I am trying to append a list to a list of lists. With..... More

Print this item

  New to programming, loop question
Posted by: tomyan - Sep-25-2020, 03:28 PM - Forum: General Coding Help - Replies (1)

Hi, can anyone please explain the for loop here?
[python]
def is_palindrome(s):
s = s.replace(" ", "")
for i in range(0, int(len(s)/2)):
..... More

Print this item

  AttributeError: 'str' object has no attribute 'name'
Posted by: deathsperance - Sep-25-2020, 03:23 PM - Forum: General Coding Help - Replies (4)

Trying to grab an excel file from azure blob store and put into azure sql server instance. it was working and suddenly stopped. It was running on a co..... More

Print this item

  pyinstaller
Posted by: rami84 - Sep-25-2020, 02:40 PM - Forum: General Coding Help - No Replies

Hello
i can't make an exe file for this script
[python]
import xlsxwriter
name = input("Enter Name: ")
age= input("Enter age: ")
workbook = xl..... More

Print this item

  Electron wave function
Posted by: NUMA01 - Sep-25-2020, 01:23 PM - Forum: Code sharing - No Replies

Plotting of wave functions for an electrons quantum numbers (n,l ,ml) using spherical harmonics.
The first plot shows the probability of different di..... More

Print this item

  Free space loss 3D Plot
Posted by: scimi - Sep-25-2020, 12:31 PM - Forum: General Coding Help - Replies (1)

Hello everyone
I have the function:

[python]#free space loss calculation
def fspl(d, f):
x = 4*math.pi
ls = 3*10**8
result = 20*math.log..... More

Print this item

  Scientific Computing Examples
Posted by: NUMA01 - Sep-25-2020, 12:23 PM - Forum: Code sharing - Replies (1)

Basic exercises of calculations and plotting.
[python]from scipy import *
from pylab import *
from math import *
import sys
import matplotlib.py..... More

Print this item

  Python greater than equal to comparison operator
Posted by: Ilangos - Sep-25-2020, 12:22 PM - Forum: General Coding Help - Replies (4)

Dear All,

This question might sound very basic and simple. However, I'm confused over the output which I'm getting in python 3.8.0 terminal.

O..... More

Print this item

  Creating a circular matrix with one input
Posted by: omnisierra - Sep-25-2020, 11:35 AM - Forum: Homework - Replies (18)

Hi everyone, I have a homework and couldn't solve the following question:

[size=small]Out an n×n table filled with numbers from 1 to n^2 in a spira..... More

Print this item

  Tic Tac Toe, Python, code won`t run
Posted by: malinsimone - Sep-25-2020, 11:10 AM - Forum: General Coding Help - Replies (8)

Hi,

I am completely new to programming and am strugling with my assignment Tic Tac Toe in Python code. Can somebody please help me by pointing out ..... More

Print this item

  Sync It v0.60
Posted by: steve_shambles - Sep-25-2020, 10:17 AM - Forum: Code sharing - No Replies

I have just updated my little systray app for Windows to V0.60,
adding a profiles feature and other small improvements.

[img]https://1.bp.blogspot..... More

Print this item

  create new variable that sums the array
Posted by: prasanthbab1234 - Sep-25-2020, 09:38 AM - Forum: Homework - Replies (3)

Hi Folks,

Could you please help me to understand how to create new variable that sums the array

create another variable that sums the array arg..... More

Print this item

  blockblobservice
Posted by: dakke - Sep-25-2020, 09:03 AM - Forum: General Coding Help - Replies (1)

Hi,

The following import of BlockBlobService

from azure.storage.blob import BlockBlobService
yields the error message: Import..... More

Print this item

  jupyter notebook
Posted by: varsh - Sep-25-2020, 08:56 AM - Forum: General Coding Help - No Replies

hi,
I installed jupyter notebook through pip.
$ pip install jupyterlab
$ jupyter notebook
[C 14:25:06.690 NotebookApp] No such file or directory: ..... More

Print this item

  Youtube Vedio Recommendation
Posted by: thousif - Sep-25-2020, 07:07 AM - Forum: Web Scraping & Web Development - Replies (3)

I am new to python
I want python code for recommendation of specific vedio (Using Youtube API)
any one please help me in this regard

Print this item

  Print max numbers in a list
Posted by: jimmoriarty - Sep-25-2020, 07:04 AM - Forum: General Coding Help - Replies (1)

So, guys, i'm having a problem with my code. What i need to do is take grades of n students and put on a list, and take their grades e put on otherlis..... More

Print this item

  Openpyxl: Excel formula & condition formatting removed
Posted by: JaneTan - Sep-25-2020, 07:02 AM - Forum: General Coding Help - No Replies

I need to read and write to an xlsm excel file. I used the below

[python]import openpyxl
file='....xlsm'
wb=openpyxl.load_workbook(file, data_onl..... More

Print this item

  Totally beginner PLease Help
Posted by: Infinity - Sep-25-2020, 05:37 AM - Forum: General Coding Help - Replies (1)

file:///C:/Users/Aseem/Desktop/Screenshot%20(247).png..... More

Print this item

  Do I have to pass 85 variables to function?
Posted by: Milfredo - Sep-25-2020, 05:06 AM - Forum: General Coding Help - Replies (10)

Have a problem with a function. I am reading from a data frame and when the condition is met, I am putting data into a two dimensional array. There ar..... More

Print this item

  Absolute beginner am I missing something?
Posted by: kamren - Sep-25-2020, 01:55 AM - Forum: General Coding Help - Replies (7)

I am just starting to learn python and I am watching a tutorial.
They are showing a basic code
[python]name = input("what is your name" )
Print ("..... More

Print this item

  NameError when calling a class method
Posted by: mfreudenberg - Sep-24-2020, 09:07 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm currently starting to learn python (have already programming experience with c#).

For my first project i wanted to write a script, that ..... More

Print this item

  Bluetooth problem
Posted by: Lad - Sep-24-2020, 07:26 PM - Forum: General Coding Help - No Replies

I am a new with bluetooth in Python. I wanted to use the following program that sends a file.
I wanted to send a file from laptop to a cell phone.
..... More

Print this item

  Code for reload windows services
Posted by: azura1003 - Sep-24-2020, 07:21 PM - Forum: Code Review - Replies (4)

Hi guys,

I'm an IT administrator the coding is not my strength.
I have created a script to reload automatically some program that run has services..... More

Print this item

  user inputing data until in range
Posted by: Omer_ - Sep-24-2020, 07:01 PM - Forum: General Coding Help - Replies (1)

How can I make the function to repeat until user enter value in the range and only then to break ?

[python]

def scale(freq):
freq = i..... More

Print this item

  guizero repeat command
Posted by: pdihawk - Sep-24-2020, 06:59 PM - Forum: GUI - Replies (2)

I am new to guizero and Python in general but I'm fighting my way through it and I think I'm almost there.

Essentially, I'm making a barcode compar..... More

Print this item

  TensorFlow
Posted by: samuelbachorik - Sep-24-2020, 05:49 PM - Forum: General Coding Help - Replies (3)

Hello dear users i am trying to install tensorflow with command - pip install tensorflow
I am getting this error-

[python]C:\Users\Samuel>pip inst..... More

Print this item

  Recommendation - Mac v Windows
Posted by: lasek723 - Sep-24-2020, 05:37 PM - Forum: Bar - Replies (11)

Hi there,

I have an old MacBook now - late 2011. I can't install some of the programs needed to code - I'm a newbie.

It's time for an upgrade...... More

Print this item

  Uses cases for list comprehension (encountered while doing PyBite #77)
Posted by: Drone4four - Sep-24-2020, 05:25 PM - Forum: General Coding Help - Replies (3)

For as long as I have been studying Python, I encounter other forum members and all kinds of guides around the web who use list comprehension. It’s ac..... More

Print this item

  getting back both: the map and the data from a request via overpass-turbo.eu
Posted by: apollo - Sep-24-2020, 02:37 PM - Forum: General Coding Help - No Replies

for a little (!) project i need to have the data (in DB ) and the maps-

this request delivers the Map

[python][timeout:600];
area["ISO3166-1"="..... More

Print this item

  Get 5 most unique combinations of elements in a 2D list
Posted by: wanttolearn - Sep-24-2020, 02:18 PM - Forum: Homework - Replies (1)

Hi,
I have a problem with this particular question. I will have randomly generated 2D lists e.g.: list=[[2],[0,3],[0,1],[1,2,4,5],[1,6,10],[],[7,8],[..... More

Print this item

  Bulk add column to dataframe
Posted by: sambanerjee - Sep-24-2020, 01:38 PM - Forum: General Coding Help - Replies (1)

Hi:

I am trying to add a few columns to a dataframe - here is the code


[python]
import import_ipynb
import talib
import numpy
import yfi..... More

Print this item

  Using my REPL to bisect numbers and lists with classes (PyBite #181)
Posted by: Drone4four - Sep-24-2020, 01:10 PM - Forum: General Coding Help - Replies (2)

Here is what the PyBite #181 exercise is calling for:

[quote] Complete the add method of the Ordered..... More

Print this item

  Very new to Python
Posted by: bliengme - Sep-24-2020, 12:36 PM - Forum: General Coding Help - Replies (2)

This was copied from a book but gives several errors. Help!
[python]
from math import exp
def bisection(f,a,b,tol= 1e-3):
if f(a)*f(b) > 0:
..... More

Print this item

  Difference () and []
Posted by: macfanpl - Sep-24-2020, 10:57 AM - Forum: General Coding Help - Replies (3)

I need to know whats the difference in:

something()
and
something[]

Print this item

  Tkinter/turtle doevents
Posted by: DPaul - Sep-24-2020, 07:59 AM - Forum: GUI - No Replies

In Turtle you can allow the user to click inside the app window to trigger some action.
i.e. : onclick() event, returning the x,y position of the mou..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 1 hour ago Astrobert Astrobert General Codin...
  PyQt6 QWidgets and system... 3 hours ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 5 hours ago dutch mamta25 News and Disc...
  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...
  [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...
Most views
  The best Prog... 579117
  Tutorial Requ... 511382
  Web Scraping ... 442078
  Newbie with P... 386143
  New Users Int... 378530
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 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Astrobert Today
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday

User Panel Messages

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