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,248
» Latest member: kai_cow2710
» Forum threads: 38,779
» Forum posts: 175,815

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: mamta25
2 hours ago
» Replies: 2
» Views: 75
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
2 hours ago
» Replies: 4
» Views: 131
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 281
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 260
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 99
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,612
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 199
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 182
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,058
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,419

 
  Conversion of ['a', 'b'] to { 'letter': 'a,b' }
Posted by: Roman_Y - Sep-13-2021, 01:10 PM - Forum: General Coding Help - Replies (2)

Dear Experts!
Please advise how to convert(to take the A and from [this list]):

['A', 'B']
and update the 'letter' in {this di..... More

Print this item

  Trying to understand Pymunk
Posted by: Prithak - Sep-13-2021, 11:59 AM - Forum: General Coding Help - Replies (1)

Here I have some code:

[python]
import pygame
import pymunk
import sys

pygame.init()

screen = pygame.display.set_mode((1280,720))
clock =..... More

Print this item

  Auto increament in Entry field. in tkinter GUI
Posted by: cybertooth - Sep-13-2021, 06:57 AM - Forum: General Coding Help - Replies (7)

Hi all,
I have made a form in Tkinter to make entries in MySql database. I would like the Sr. No. entry box to display the next available number. i.e..... More

Print this item

  Plot arrays against each other
Posted by: fabstr1 - Sep-13-2021, 06:48 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a question of how I can plot the two arrays against each other from the link below. The array on the top should be plotted against t..... More

Print this item

  LoRaWAN anybody experimenting with this?
Posted by: Larz60+ - Sep-13-2021, 01:09 AM - Forum: Bar - Replies (2)

I have been following the advancements of LoRaWAN over the past few years, because the concept of a tiny little transceiver operating WAN without inte..... More

Print this item

  Jupyter Notebook as IDE
Posted by: bytecrunch - Sep-12-2021, 07:41 PM - Forum: General Coding Help - No Replies

Hello everyone,

Installing the Anaconda distro installs a PYthon interpreter, modules, libraries as well as the Jupyter Notebook IDE. Jupyter uses ..... More

Print this item

  Simple Recursive-Descent Parser - Python 3.7
Posted by: WannaBePythonDev - Sep-12-2021, 05:09 PM - Forum: Code Review - Replies (4)

Hello.
I'm implementing some logic system from ground up using this framework: https://www.logicthrupython.org/api/index.html

Now, for implementing t..... More

Print this item

  is and '==' i'm confused
Posted by: hshivaraj - Sep-12-2021, 02:58 PM - Forum: General Coding Help - Replies (6)

Hi all

[python]
>>> a = "this is test string"
>>> b = "this is test string"
>>> a == b
True

>>> a is b
False

>>> a = "test"
>>> b = "te..... More

Print this item

  int infinity
Posted by: Skaperen - Sep-12-2021, 02:48 PM - Forum: General Coding Help - Replies (2)

i could use an int infinity. i need the number infinity to do some compares. of course, float infinity works fine with > and < ..... More

Print this item

  Getting "name 'get_weather' is not defined error and no json_data returned?
Posted by: trthskr4 - Sep-12-2021, 02:45 PM - Forum: General Coding Help - Replies (6)

I'm stumped again. Been trying different ways of getting this to work and its solution is evading me. LOL
Just learning and am running Python 3.9.7
M..... More

Print this item

  Python Programmer looking for work
Posted by: Johndg20 - Sep-12-2021, 04:04 AM - Forum: Jobs - Replies (1)

To all,
I have somewhat of an awkward background with a MS and a Phd (abd) in Molecular Biology worth 20+ years of intense research experience at..... More


Attached Files

.docx   John Griner DS Resume_2_This_One.docx (Size: 31.93 KB / Downloads: 3)
Print this item

  exception handling by default
Posted by: Skaperen - Sep-11-2021, 10:02 PM - Forum: News and Discussions - Replies (4)

i am making a function which does something that may raise an exception. normally i would have the caller handle the exception. but i have cases whe..... More

Print this item

  New to python and need help with spacing
Posted by: pmorgan39339 - Sep-11-2021, 08:00 PM - Forum: General Coding Help - Replies (12)

I am trying to create a script that will take the users input and arrange the input in this manner. GIS being what the user input is. NOTE: I had to p..... More

Print this item

  numpy 2-dimentional
Posted by: rwahdan - Sep-11-2021, 04:54 PM - Forum: Data Science - Replies (3)

I am trying to learn numpy and I am trying to print some data as shown below:

[python]

import numpy as np

names = np.array([["Rami", "Taher",..... More

Print this item

  Embed Google Maps in PyQt6 Widget
Posted by: Raures - Sep-11-2021, 01:33 PM - Forum: GUI - Replies (2)

Hi. I am trying to make a widget that embeds Google Maps but I can't find any module that would help me do so. I've searched the web, tried to find so..... More

Print this item

  pymysql can't do SELECT *
Posted by: Pedroski55 - Sep-11-2021, 04:54 AM - Forum: General Coding Help - Replies (3)

I use pymysql to collect homework. Works great:

[python]def mysqlRemote(clas, weeknr):
# To connect remote MySQL database
conn = pymysq..... More

Print this item

  Error in the files last 8 lines
Posted by: Led_Zeppelin - Sep-10-2021, 05:09 PM - Forum: General Coding Help - Replies (2)

When I try to run thee below code:

[code]
'''
Script to run time series models against all data in the \data folder.

Author: @Josh
'''
impor..... More

Print this item

  sorting a list of lists by an element
Posted by: leapcfm - Sep-10-2021, 03:13 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a list of lists that I want to sort, something like :

[python]data = [[0,False,'c'], [0,True,'z'], [1,False,'P'], [0,True,'A']][/pyt..... More

Print this item

  unpacking list
Posted by: wardancer84 - Sep-10-2021, 02:08 PM - Forum: General Coding Help - Replies (2)

hi,

test script...

[python]
#!/usr/bin/env python3

#test_lst = [('IP', '172.17.10.147'), ('IP', '172.16.88.57'), ('IP', '172.16.12.147')]
t..... More

Print this item

  Functions: Recursion
Posted by: OmegaRed94 - Sep-10-2021, 11:55 AM - Forum: General Coding Help - Replies (4)

Good day, Dear Pythonistas
I have the following problem:

Write a function sequence(n) that will print out a sequence of numbers without using ..... More

Print this item

  [SOLVED] Input parameter: Single file or glob?
Posted by: Winfried - Sep-10-2021, 10:57 AM - Forum: General Coding Help - No Replies

Hello,

As input parameter, I need to allow users to give either a single file (input.txt) or glob (*.txt).

The following code only supports glob..... More

Print this item

  Dictionnary indexing error
Posted by: Ander - Sep-10-2021, 10:19 AM - Forum: General Coding Help - Replies (6)

Hello, i try to animate a character with 3 frames named "playerf1", 2 and 3, in a "player animation" folder.
I use pygame but that is not at the origi..... More


Attached Files

Thumbnail(s)
   
Print this item

  Sample labels from excel file in order to put them on x-axis and y-axis of a plot
Posted by: hobbyist - Sep-10-2021, 07:43 AM - Forum: General Coding Help - Replies (11)

Hello, I have an excel file with two columns, the 1st includes dates/datetimes and the 2nd includes temperatures. The number of rows are 100. I want t..... More

Print this item

  catboost
Posted by: dawid294 - Sep-10-2021, 07:19 AM - Forum: General Coding Help - Replies (1)

Hello can you help me , I tried install catboost but i have issue. I use jupyter notebook. Thank you

from catboost import CatBoostClassifier
from..... More

Print this item

  Help with storing temp data for each day then recording min/max in app.
Posted by: trthskr4 - Sep-10-2021, 03:51 AM - Forum: General Coding Help - Replies (3)

Hello, I just started trying to learn programming 3 days ago. I'm following online courses and researching about 4-6 hours a day. I'm one of those w..... More

Print this item

  Remove Specific Columns when the number of columns is greater than a specific value
Posted by: CuriousOne - Sep-09-2021, 09:17 PM - Forum: General Coding Help - No Replies

I need to remove 2 columns (column 41 and 42) from a row when the column count within a segment of the row is > 42. I'm extremely new to Python. How w..... More

Print this item

  Package cannot be loaded into PBS queue file
Posted by: emersonpl - Sep-09-2021, 07:24 PM - Forum: General Coding Help - Replies (1)

The skopt package (https://scikit-optimize.github.io/stable/install.html) was installed on a cluster I use.

When I run the code in python directly in..... More

Print this item

  Pysimplegui - Windows location
Posted by: jamesaarr - Sep-09-2021, 03:47 PM - Forum: GUI - Replies (7)

Hello All,

I'm making a program using PySimpleGUI, and unlike my previous programs, I'm looking to make the windows appear in the same place as the..... More

Print this item

  changing key names in nested dict
Posted by: wardancer84 - Sep-09-2021, 03:15 PM - Forum: General Coding Help - Replies (6)

hi,

nested dict:

[python]
'identity': {'AIX_REG_CLIENT_VER': '0.1-alpha',
'HOSTNAME': 'sag01147',
'SYSTEM_NAME':..... More

Print this item

  is there a way to mention port range or search for port dynamically with qConnection
Posted by: Creepy - Sep-09-2021, 03:15 PM - Forum: General Coding Help - No Replies

Hi,

Current connection I have

qconnection.Qconnection(host='xyz',port=5000,username=usr,password=pwd)
Looks like port keeps ..... More

Print this item

  Avoiding Re-login
Posted by: Goodsayan - Sep-09-2021, 01:53 PM - Forum: General Coding Help - No Replies

hi,

I try to use this
https://github.com/ping/instagram_private_api

I managed to successfully login to my account with
[python]
from instag..... More

Print this item

  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH
Posted by: Led_Zeppelin - Sep-09-2021, 01:06 PM - Forum: General Coding Help - Replies (1)

When I run the following code, I get this error. I am not sure what it means or how to correct this error.

[code]
import numpy as np
from datetim..... More

Print this item

  How to terminate a loop in python with button in GUI
Posted by: Joni_Engr - Sep-09-2021, 07:58 AM - Forum: GUI - Replies (6)

Hi, in my GUI I have a function with a while loop inside which is ruining when START button is pressed. The function drive a microcontroller continuou..... More

Print this item

  BeautifulSoup returning text as N/A
Posted by: tantony - Sep-08-2021, 11:06 PM - Forum: Web Scraping & Web Development - Replies (6)

I'm trying to get the text value from the below html, so I should be getting FFT606, but when I run my Python code I'm getting n/a. Please help.

[..... More

Print this item

  CPU recommendation for Python (11900K or 5950X)
Posted by: MangirdTea - Sep-08-2021, 08:21 PM - Forum: General Coding Help - Replies (2)

Dear friends.

In Python, i have 10 different Python projects and my PC is running 7/24 only for 10 Python projects continuously.
But my PC is slo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 2 hours ago lary_p mamta25 Homework
  Help with Serial.write in... 2 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578830
  Tutorial Requ... 509833
  Web Scraping ... 441914
  Newbie with P... 385912
  New Users Int... 376058
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10

User Panel Messages

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