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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 39 Guest(s)
Bing, Facebook Dev, Applebot, Google

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 3
» Views: 79
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
11 hours ago
» Replies: 3
» Views: 92
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 67
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 98
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,040
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,554
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 182
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,194
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,438

 
  [Solved] unkown (to me) function def parm "name1:name2" syntax.
Posted by: MvGulik - Nov-11-2022, 09:49 AM - Forum: General Coding Help - Replies (5)

I came across a function definition (inside a class) which has a "name1: name2" part.
[python]def func(self, name1: name2):[/p..... More

Print this item

  how to silence this warning?
Posted by: Skaperen - Nov-11-2022, 05:24 AM - Forum: News and Discussions - Replies (7)

how to silence this warning?
[output]
lt1a/forums/2 /home/forums 5> box foo.py
+----<foo.py>---------------------+
| def foox(v): ..... More

Print this item

  code in a string?
Posted by: Skaperen - Nov-11-2022, 01:29 AM - Forum: News and Discussions - Replies (2)

has a way been worked out to have a block of source code be assigned to a string while also compiling the code as if that code was there without being..... More

Print this item

  [split] assignment help
Posted by: Shobana - Nov-11-2022, 01:24 AM - Forum: Homework - Replies (2)

Greetings from Shobana

Professionally I'm an "Admin cum HR" in a consulting company. I am new to IT world, and started my Data Science course. I h..... More


Attached Files

Thumbnail(s)
       
Print this item

  compiling with an undefined variable
Posted by: Skaperen - Nov-10-2022, 11:59 PM - Forum: News and Discussions - No Replies

while reviewing an old function/module i coded a few years ago, i realized that variable socket.AF_INET6 would not be defined..... More

Print this item

  Get User Mac Address ?
Posted by: JohnnyCoffee - Nov-10-2022, 07:04 PM - Forum: Networking - Replies (4)

I'm using the uuid module to try to capture the source mac address ( cleinte ). Using the code below locally I can get the source mac address (local d..... More

Print this item

  Webhook, post_data, GPIO partial changes
Posted by: DigitalID - Nov-10-2022, 04:38 PM - Forum: General Coding Help - Replies (2)

Okay,

I am a project oriented integrator, so I don't code on a regular basis, and I switch a lot between Arduino and Raspberry Pi, based on what th..... More

Print this item

  A combinations instance with random access
Posted by: Gribouillis - Nov-10-2022, 03:02 PM - Forum: Code sharing - No Replies

Instances of this class Combinations are slow replacements for itertools.combinations() if they are iterated. On the..... More

Print this item

  Plotting periodic function with fft
Posted by: schniefen - Nov-10-2022, 11:53 AM - Forum: Homework - No Replies

I want to plot a T-periodic function using a restricted set of Fourier coefficients. The function equals sin(x/tau) for 0<=x<(2*pi*tau) and 0 for (2*p..... More

Print this item

  pyinstaller false positives
Posted by: DPaul - Nov-10-2022, 09:37 AM - Forum: General Coding Help - Replies (2)

An executable produced by pyinstaller is automatically removed by my Norton antivirus.
I know this has been adressed by Buran (some time ago) and mult..... More

Print this item

  MultiThreading
Posted by: DPaul - Nov-10-2022, 06:55 AM - Forum: Bar - Replies (1)

Hi,
Not a showstopper or a bug, just a nice to have:
I basically use the multithreading code, proposed by Wavic:

[python]images = pathlib.Path('path_..... More

Print this item

  How to approach pyusb application arch
Posted by: m3atwad151 - Nov-10-2022, 06:11 AM - Forum: News and Discussions - No Replies

Hello,

I have a question relating to python and USB functionality. Right now I have an embedded product with a USB 2.0 full speed HID interface. ..... More

Print this item

  Using Python for communications
Posted by: PreservedKillich - Nov-10-2022, 05:31 AM - Forum: News and Discussions - Replies (4)

Greetings,

I need to setup communications between a computer running Windows and and the UART of a TI TMS320F28388D microcontroller running C/FreeR..... More

Print this item

  Get session id from users ?
Posted by: JohnnyCoffee - Nov-10-2022, 12:53 AM - Forum: News and Discussions - No Replies

I'm developing a distributed software (in python) that I intend to run on the web (browser) and I came across a question about session id? For this, I..... More

Print this item

  Error on basic Post API, FastAPI
Posted by: marlonbown - Nov-09-2022, 11:42 PM - Forum: General Coding Help - Replies (1)

Hello, I am writing a POST API.
My intention is to retrieve an IP address and save into a database.

When I go to Postman and I hit the API endpo..... More

Print this item

  Choosing Python web host?
Posted by: Crododo - Nov-09-2022, 07:37 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

Can python web pages be hosted on any hosting servers like Hostinger, bluehost… do I need to look for anything specific or it will work on ever..... More

Print this item

Question Help with function - encryption - messages - NameError: name 'message' is not defined
Posted by: MrKnd94 - Nov-09-2022, 05:28 PM - Forum: General Coding Help - Replies (4)

Hello!

I'm trying to encrypt messages using the Caesar Cipher. I've made a function for it. This is the code for it:

[python]def encrypt(message..... More

Print this item

  multiprocessing phash from every frame in folder
Posted by: flash77 - Nov-09-2022, 01:39 PM - Forum: General Coding Help - Replies (17)

Hello,

with great support from this forum I'm working on a tool which can detect hangers in a Super8-Film.

I need some support in using multipro..... More

Print this item

  create my exception to my function
Posted by: korenron - Nov-09-2022, 12:52 PM - Forum: General Coding Help - Replies (2)

Hello,
I have a function that read data after a I split the message , and sometime I get wrong message-- which lead to wrong data input
I want to ..... More

Print this item

  Understanding Python classes
Posted by: PythonNewbee - Nov-09-2022, 10:17 AM - Forum: General Coding Help - Replies (3)

Hi People

Please help me understand Python classes a bit better.
This code does not do what I want it to do, which is changing the value of class ..... More

Print this item

  Where can I get loooads of simple homework questions for kids?
Posted by: omar - Nov-09-2022, 10:09 AM - Forum: Homework - Replies (3)

My son is learning Python at college.
He has trouble understanding verbal questions - very simple basic ones.

I've spent hours and hours with him...... More

Print this item

  Getting error when running "MINUS" between 2 databases
Posted by: marlonbown - Nov-09-2022, 04:36 AM - Forum: General Coding Help - Replies (4)

Goal: Keep content of TableA except items listed on TableB.

I am getting the following error. Code is below. Can you please let me know if you see ..... More

Print this item

  How to run code again in module ?
Posted by: rajamani - Nov-09-2022, 02:42 AM - Forum: General Coding Help - Replies (2)

Hi all,
I'm a new to python and coding.

How to run back the code when a user chooses an option ?

- the code i have currently-
[python]
print..... More

Print this item

  python multiple try except block in my code -- can we shorten code
Posted by: mg24 - Nov-08-2022, 07:18 PM - Forum: General Coding Help - Replies (10)

Hi Team,

I am new in python, used functional programming, not perfect in oop concept yet.

In below task I have used try except block for handlin..... More

Print this item

  Basic SQL query using Py: Inserting or querying sqlite3 database not returning data
Posted by: marlonbown - Nov-08-2022, 07:03 PM - Forum: General Coding Help - Replies (3)

Hello, can someone assist here please:
When I run the program below, I expect table to be created and record inserted into the database.
However whe..... More

Print this item

Star python exception handling handling .... with traceback
Posted by: mg24 - Nov-08-2022, 06:17 PM - Forum: General Coding Help - Replies (3)

Hi Team,

I am using below code getting error message.
But I want error properly line by line. I wan to print that error properly line by line.

..... More

Print this item

  Another program runs
Posted by: bho68 - Nov-08-2022, 05:07 PM - Forum: General Coding Help - Replies (7)

I am JUST learning Python. In my learning, I wrote a Rock, Paper Scissors program. It worked great.

BUT... Now when I am trying to write other pr..... More

Print this item

  Messagebox
Posted by: rturus - Nov-08-2022, 03:33 PM - Forum: General Coding Help - Replies (8)

Why can't I see the messagebox when input is not a, b, or c? I am sure there is a good reason but I guess I can't find out yet.

Thanks.

[python..... More

Print this item

Sad Python classes
Posted by: PythonNewbee - Nov-08-2022, 02:00 PM - Forum: General Coding Help - Replies (4)

Hi People

I have some difficulty with classes in Python.
I want to call a method, belonging to class A, from class B. I looked at online examples ..... More


Attached Files

.py   agent5.py (Size: 3.36 KB / Downloads: 258)
Print this item

  Implementing a Lowpass Filter
Posted by: Madridista - Nov-08-2022, 12:07 PM - Forum: Data Science - Replies (5)

I have data from a IMU Sensor. I have file an Excelfile samplesdata where the data of the IMU Sensor is export. In samplesdata There is ..... More

Print this item

Question Unwanted execution of unittest
Posted by: ThomasFab - Nov-08-2022, 10:12 AM - Forum: General Coding Help - Replies (9)

Hi Guys,

I`m trying to learn unit testing with the unittest libary.


I have created this modules:

Print this item

  Print phenomenon
Posted by: DPaul - Nov-08-2022, 10:11 AM - Forum: Bar - Replies (8)

Hi,
I came across a "bug" that was hard to find.
Found it, but found no good explanation of the why.
[python]
try:
do_stuff_1
Print(resul..... More

Print this item

  openpyxl convert data to float
Posted by: jacklee26 - Nov-08-2022, 05:20 AM - Forum: General Coding Help - Replies (13)

i have problem-related with excel, it seems like convert from txt to excel the data is a string not float. Is there any solution to convert it to floa..... More


Attached Files

Thumbnail(s)
   
Print this item

  python move folders and subfolders not working
Posted by: mg24 - Nov-08-2022, 12:06 AM - Forum: General Coding Help - Replies (5)

Hi Team,

I am trying to move folders and subfolders. from one location to another.
I want to override folders.

getting error :
raise Error("De..... More

Print this item

  a bunch of modules to import
Posted by: Skaperen - Nov-07-2022, 07:16 PM - Forum: General Coding Help - Replies (2)

i have a bunch of modules to import. their names are created by some code that uses a number in range(10,301) to make them. what is the most practic..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 8 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 11 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578681
  Tutorial Requ... 509088
  Web Scraping ... 441836
  Newbie with P... 385787
  New Users Int... 375040
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Today
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday

User Panel Messages

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