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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

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

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
6 hours ago
» Replies: 2
» Views: 310
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,343
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,746
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 721
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 969
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,032
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,069
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 642
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,621
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,846

 
  input function question
Posted by: barryjo - Jan-17-2022, 04:11 PM - Forum: General Coding Help - Replies (12)

I am going crazy and spent hours on this.
it seems my input function does not work.

I have a two line program

[python]x = input()
print(x)[/p..... More

Print this item

  Trying to change BLE name on pi
Posted by: korenron - Jan-17-2022, 12:08 PM - Forum: General Coding Help - No Replies

Hello,
I'm trying to make an app that will change the BLE name on command
this is what I have done:
[python]
"""Example of how to create a Periphera..... More

Print this item

  New Features In WP5.9 ; What Happens If One Sticks To A Old Theme?
Posted by: apollo - Jan-17-2022, 11:07 AM - Forum: Bar - Replies (1)

dear community, Smile

well honestly - this has nothing to do with Python - nothing with an IDE or with setup of Python on Linux or a Win-box. ..... More

Print this item

Photo homework - how make contrast stretching?
Posted by: tavadani - Jan-17-2022, 10:36 AM - Forum: Homework - No Replies

Hy guys.
I have a homework :

Write a program that gets a filename for its input, then looks for these human faces and prints each one in a separat..... More

Print this item

  How to check if a list is in another list
Posted by: finndude - Jan-17-2022, 09:33 AM - Forum: General Coding Help - Replies (4)

Hi All,

I have the below code:

[python]list_1 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]

win_1 = ["1", "2", "3", "4"]

if win_1 ..... More

Print this item

  Help with output from if statement
Posted by: fgaascht - Jan-17-2022, 09:00 AM - Forum: General Coding Help - Replies (6)

Hi,

I recently started learning Python programming and develop my skills by working on some various "script" to help me in my work as biologist.
..... More

Print this item

  Getting the maximum value:key pair from a dictionary
Posted by: sean1 - Jan-17-2022, 08:52 AM - Forum: General Coding Help - Replies (2)

I have a dictionary with 40 student names and their respective math scores {'Ines': 78, 'Mary': 42, 'Molly': 72, 'Maria': 83,} . How do I get Python t..... More

Print this item

  need help with input
Posted by: itguy - Jan-17-2022, 06:47 AM - Forum: General Coding Help - Replies (4)

I have written / modified a random password generator, and I need help with 1 part .

The part I need help with is:
if the user presses enter (leav..... More

Print this item

  how to port over data from a Calc-Table to a Calendar-Template - effectively
Posted by: apollo - Jan-17-2022, 12:59 AM - Forum: Bar - Replies (3)

hello dear Python-experts. Smile



today i have a question that has to to with calc. - i want to create a calendar - i have the following da..... More


Attached Files

Thumbnail(s)
   
Print this item

  Else
Posted by: lucasteixeira - Jan-17-2022, 12:44 AM - Forum: General Coding Help - Replies (1)

Does anyone know a python code in which the else facilitates the flow of the program or is essential in some way, for example without the code getting..... More

Print this item

Question Securing State Constitutions (USA) from University of Maryland > MariaDB .sql
Posted by: BrandonKastning - Jan-17-2022, 12:29 AM - Forum: Web Scraping & Web Development - Replies (1)

Securing State Constitutions (USA) from University of Maryland > MariaDB .sql

I have downloaded all State Constitutions in .txt forma..... More

Print this item

  How to convert 4 bytes to an integer ?
Posted by: GiggsB - Jan-16-2022, 11:53 PM - Forum: General Coding Help - Replies (11)

Hi, I am using SPI on Raspberry Pi (master) and collecting 4 bytes at a time. I need to convert this back to integer. How can I do it?
When I do it u..... More

Print this item

Question Securing King James Bible (KJV) + King James Bible 1611 (KJV1611) in MariaDB/MySQL
Posted by: BrandonKastning - Jan-16-2022, 10:54 PM - Forum: Web Scraping & Web Development - Replies (4)

Securing King James Bible (KJV) + King James Bible 1611 (KJV1611) in MariaDB/MySQL

I have the need to have King James Bible (KJV) in ..... More

Print this item

  automatically printing
Posted by: homg1968 - Jan-16-2022, 08:08 PM - Forum: General Coding Help - Replies (3)

When I am photographying at an event, I need to print as I take the image.
When I photograph, I connect a cable from the camera to my macbook Pro(tet..... More

Print this item

  General Knowledge Quiz in Python
Posted by: Cristopher - Jan-16-2022, 06:45 PM - Forum: Code sharing - Replies (1)

I've made a general knowledge quiz in Python with 10 multiple-choice questions. If you are bored or are up for a little game, this may be fun to play...... More

Print this item

  how do I return Max Test result + corresponding student name from an excel dataset?
Posted by: sean1 - Jan-16-2022, 02:54 PM - Forum: General Coding Help - Replies (3)

I have a dataset with column headers Student name, ID, Nationality and several test scores (one col per subject.) I have converted the columns to list..... More

Print this item

  Insert missing data in a dataframe
Posted by: amdi40 - Jan-16-2022, 02:12 PM - Forum: Homework - Replies (7)

Hello question about a time series again xd

I have a long time series, where I have data of rain intensity with a deltatime of 2 minutes, it does h..... More


Attached Files

.csv   example.csv (Size: 22.66 KB / Downloads: 373)
Print this item

  asyncio calls within sync function ( Websocket on_open)
Posted by: orion67 - Jan-16-2022, 10:09 AM - Forum: General Coding Help - No Replies

I am currently using a Websocket to get data from a SSEClient and send them using Websocket, the difficulty is that I also need to pilot an IO interfa..... More

Print this item

  Tkinter Weather App
Posted by: menator01 - Jan-16-2022, 01:55 AM - Forum: Code sharing - Replies (1)

I was intrigued by this post and thought I would make a tkinter weather app..... More

Print this item

  Function global not readable by 'main'
Posted by: fmr300 - Jan-15-2022, 10:46 PM - Forum: General Coding Help - Replies (1)

Wierd problem been trying to resolve for several hours - appreciate any help !

I'm runinng an ADC-sampler in a separate thread function, which log..... More

Print this item

  XML compare
Posted by: Nilis78 - Jan-15-2022, 08:03 PM - Forum: General Coding Help - Replies (1)

Im looking for a script what can compare xml and works simular as the compare function in notepad++.

Is there a script like that?

Print this item

  how to refer to a subset of a list
Posted by: Skaperen - Jan-15-2022, 06:59 PM - Forum: General Coding Help - Replies (4)

i have a function that is given a list and it stores a special value into the first position (index 0) of that list.
[code]
def store_special_value(..... More

Print this item

Information Need some help with simple coding!
Posted by: Jarno12 - Jan-15-2022, 05:00 PM - Forum: Homework - Replies (5)

I needed to create a code to get users age and name and then have the output (input examples John, 33) be Hello John! You were born 1989. current outp..... More

Print this item

  help with python mouse script
Posted by: z4rxxxx - Jan-15-2022, 04:39 PM - Forum: General Coding Help - No Replies

i created a mouse script to do some tasks for me and it runes well no problems
but when i bought rdp windows to run the script at windows server 201..... More

Print this item

Question How does one clean a populated table in MySQL/MariaDB? Copying values across tables?
Posted by: BrandonKastning - Jan-15-2022, 03:52 PM - Forum: Data Science - Replies (2)

How does one clean a populated table in MySQL/MariaDB? Copying values across tables?

I was using python, pandas, pymysql, sqlalchemy,..... More

Print this item

  Program for random sum
Posted by: Cristopher - Jan-15-2022, 03:04 PM - Forum: General Coding Help - Replies (7)

Hi,

I started learning Python yesterday. I'm trying to create a program that generates a sum of two random integers for the user to calculate. I wa..... More

Print this item

  I want to simplify this python code into fewer lines, it's about string
Posted by: mandaxyz - Jan-15-2022, 12:32 PM - Forum: General Coding Help - Replies (5)

Hi, I want to simplify this python code into fewer lines as possible, but I'm less experienced and I cannot do it:

[python]code = [0, 1, 0, 1, 0, 1..... More

Print this item

  What do i have to type in the IDLE shell to use this password manager program?
Posted by: MaartenRo - Jan-15-2022, 08:15 AM - Forum: General Coding Help - Replies (4)

Hi,

I am doing an assignment in a Python exercise book. I have to create a password manager program that can be used with a command line argument t..... More

Print this item

  tkinter toggle buttons not working
Posted by: Nu2Python - Jan-15-2022, 05:17 AM - Forum: GUI - Replies (26)

Hi All,

I am working on some code in tkinter for creating a small GUI to control relays with a simple toggle on/off button image. For some reason, ..... More

Print this item

  PySpark Equivalent Code
Posted by: cpatte7372 - Jan-14-2022, 08:59 PM - Forum: General Coding Help - No Replies

Hello Community,

I have coded the following logic into SQL as follows:

Join very_large_dataframe to small_product_dimension_dataframe on column ..... More

Print this item

  Forecasting with ARIMAX
Posted by: Scott - Jan-14-2022, 08:41 PM - Forum: Data Science - No Replies

Hi everyone,

I am trying to forecast GDP with an ARIMAX model but because it uses exogenous variables I cannot use the model to make forecasts beca..... More

Print this item

  Pairs of multiplied prime number--->N
Posted by: Frankduc - Jan-14-2022, 07:22 PM - Forum: General Coding Help - Replies (13)

Hello,

I cant fix this bug. I am trying to find pairs of prime numbers for a series of prime till N.

I get message errors:

Generate prime num..... More

Print this item

  Reading list items without brackets and quotes
Posted by: jesse68 - Jan-14-2022, 06:30 PM - Forum: General Coding Help - Replies (6)

These brackets and quotes always cause me grief.

If I create the list from reading a csv file then print the list, it prints with brackets...... More


Attached Files

.py   Pytest1.py (Size: 438 bytes / Downloads: 340)
.csv   csvtest2.csv (Size: 56 bytes / Downloads: 314)
Print this item

  Find last filled column in openpyxl
Posted by: Irv1n - Jan-14-2022, 06:22 PM - Forum: General Coding Help - Replies (2)

I work with excel file and know filename and sheet name of this file. How i can search last filled column and insert my data in next column of this fi..... More

Print this item

  Different out when using conda list and pip list
Posted by: Led_Zeppelin - Jan-14-2022, 06:05 PM - Forum: General Coding Help - Replies (1)

What does it mean when pip list and conda list return the same file in my case numpy, but with different versions?

pip list
numpy 1.20.2

conda ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 6 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576130
  Tutorial Requ... 497649
  Web Scraping ... 440075
  Newbie with P... 383869
  New Users Int... 366393
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+ 12089
buran 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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