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,956
» Latest member: alxpetrovo2272
» Forum threads: 38,727
» Forum posts: 175,527

Full Statistics

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

Latest Threads
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
6 hours ago
» Replies: 2
» Views: 128
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Today, 03:45 AM
» Replies: 3
» Views: 186
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 01:04 AM
» Replies: 0
» Views: 371
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,434
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,424
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 302
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 757
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 967
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,225
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,425

 
  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

  regex.findall that won't match anything
Posted by: xiaobai97 - Sep-24-2020, 07:32 AM - Forum: General Coding Help - Replies (1)

hi, I am not sure why my regex code is not working for finding Malaysian phone number, can anyone helps to check? would be highly appreciate. When I u..... More

Print this item

  error while installing any library using pip in windows
Posted by: AkashKansal - Sep-24-2020, 07:21 AM - Forum: General Coding Help - Replies (1)

pip install jsonlib
Collecting jsonlib
Using cached jsonlib-1.6.1.tar.gz (43 kB)
Building wheels for collected packages: jsonlib
Building whee..... More

Print this item

  How to break a loop in this case?
Posted by: Blainexi - Sep-24-2020, 05:01 AM - Forum: General Coding Help - Replies (10)

I got this to work, but when I press s to stop the script, it will keep running the marketloop() function till end before stopping. My question is tha..... More

Print this item

  Python for next loop
Posted by: sow2010 - Sep-24-2020, 03:13 AM - Forum: General Coding Help - Replies (1)

I am new to python and trying to code for the below logic but not sure how to do it using for next loop

Colum1 Colum2 col 3 Col4
1234 111 Str1 50..... More

Print this item

  KeyError
Posted by: Jorgeasf85 - Sep-24-2020, 01:55 AM - Forum: General Coding Help - Replies (2)

Hello,

I'm currently trying to learn python for career purposes. I was trying to do a few tests to my new recent skills but, unfortunately, I not e..... More

Print this item

  Installing Help
Posted by: Infinity - Sep-23-2020, 11:59 PM - Forum: General Coding Help - Replies (2)

I am trying to install 3 party modules but in command prompt when i type python--version its not giving an output however when i type the same command..... More

Print this item

  Python variable and function usage at a time
Posted by: prasanthbab1234 - Sep-23-2020, 11:18 PM - Forum: Homework - Replies (14)

Create a variable called my_sum that has a value of 10 + 31. However, instead of adding the numbers directly in my_sum, set my_sum to be the result of..... More

Print this item

  single input infinite output problem
Posted by: Chase91 - Sep-23-2020, 09:36 PM - Forum: General Coding Help - Replies (2)

This is my first time using a forum so sorry if my educate is not great, but i could use some help. I'm trying to have my program give a single outpu..... More

Print this item

  How to make elements return sorted?
Posted by: notsoexperienced - Sep-23-2020, 07:27 PM - Forum: General Coding Help - Replies (4)

I want my elements to be sorted in a particular manner.
[python]
laiks = driver.find_elements_by_class_name("event-date-time__time")
time.sleep(3)
sp..... More

Print this item

  Obscure Error
Posted by: ErnestTBass - Sep-23-2020, 06:29 PM - Forum: General Coding Help - Replies (4)

When I ran some python 3.73 code I got the following error.


[error]

ValueError Traceback (most recent call last..... More

Print this item

  List Comparing problem with GUI
Posted by: ardvci - Sep-23-2020, 06:10 PM - Forum: GUI - Replies (5)

Hello, I've been trying to compare two lists too see if one has substring
Let's say
AA=["Beautiful","Day"]
BB = ["Beau"]
I want to write a code th..... More

Print this item

  having issues with the int() function
Posted by: megu - Sep-23-2020, 02:52 PM - Forum: Homework - Replies (2)

Hi I'm currently working through an exercise and having trouble with it

The problem is,
Write a program which repeatedly reads numbers until the..... More

Print this item

  Help me out?
Posted by: hhydration - Sep-23-2020, 02:47 PM - Forum: Homework - Replies (5)

I need help creating a boolean function that will return True if the input has an odd number of digits. No luck so far. Anyone know how to do it, with..... More

Print this item

  merging dataframe into another on a specific row
Posted by: danlin123 - Sep-23-2020, 02:42 PM - Forum: Data Science - No Replies

I have two dataframes as follows.

1) DF 1 (result extracted from running SQL query on dataset '20200602')
It is 2 rows x 3 columns (the 1ist row i..... More

Print this item

  How to melt dataframe multiple columns to one column
Posted by: Mekala - Sep-23-2020, 02:37 PM - Forum: General Coding Help - Replies (1)

Hi,
I have below dataframe, I want to melt all columns to one column. I use below code, but some thing I am missing


[python]import pandas as pd..... More

Print this item

  Editing a txt document using python
Posted by: duckredbeard - Sep-23-2020, 02:25 PM - Forum: General Coding Help - Replies (3)

I have a program that monitors a DHT11 temperature sensor and logs the data to a txt document. The program loops every 3 minutes, so it gets a new li..... More

Print this item

  Python3 binary tree not replacing parent nodes with child nodes
Posted by: Aspect11 - Sep-23-2020, 02:22 PM - Forum: General Coding Help - No Replies

So I am trying to create a binary tree within python using classes but I have gotten stuck on this last bit.

[python]def deleteNode(self, node, dat..... More

Print this item

  Network check...
Posted by: ATARI_LIVE - Sep-23-2020, 09:09 AM - Forum: Networking - Replies (2)

Need the codes...

I am looking for to check the network is up or down and/or check ping which quickly to check instead of waiting.

Because I do ..... More

Print this item

  create loop of subplot plotly dash without hardcode
Posted by: tonycat - Sep-23-2020, 08:40 AM - Forum: General Coding Help - No Replies

How can I make dash/plotly subplot, without repeating the subplot code ?

like :
stock_list = [ "MA","V","MSFT","AMZN","AAPL","TSLA"]
drawcha..... More

Print this item

  What to use with simple calculations
Posted by: Milfredo - Sep-23-2020, 07:25 AM - Forum: Data Science - Replies (6)

I'm writing a horse race handicapping program. I have numbers generated by a horse's previous performances. I read those into the program. Then I need..... More

Print this item

  Struggling with variables
Posted by: pythonstudy00 - Sep-23-2020, 04:54 AM - Forum: Homework - Replies (1)

Hey I am studying Python new to it and trying to write a program short code that checks which numbers divide evenly into 1241... tried this but just c..... More

Print this item

  Solve a system of linear equations with binary variables
Posted by: lopeslimagabriel - Sep-23-2020, 03:36 AM - Forum: General Coding Help - Replies (3)

I'm having trouble defining an algorithm that can solve a system of linear equations with binary variables.
Example given the following system of lin..... More

Print this item

  Add label to matplotlib function
Posted by: Pedroski55 - Sep-23-2020, 12:20 AM - Forum: General Coding Help - Replies (2)

I am learning a bit about matplotlib here..... More

Print this item

  Copy mp3 file multiple times and rename
Posted by: Mar10 - Sep-22-2020, 11:34 PM - Forum: General Coding Help - Replies (4)

Hi, I need to copy a mp3 file and make 6 additional copies for a total of 7 mp3 files, Each mp3 file needs to have the file number beginning from numb..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  extracting data from a us... 6 hours ago Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Today, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576865
  Tutorial Requ... 499432
  Web Scraping ... 440640
  Newbie with P... 384613
  New Users Int... 368588
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
alxpetrovo2272 Today
Jamirul Today
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday

User Panel Messages

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