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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,832

Full Statistics

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

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: Pedroski55
35 minutes ago
» Replies: 7
» Views: 109
New to python and coding
Forum: Homework
Last Post: jefsummers
6 hours ago
» Replies: 6
» Views: 172
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
7 hours ago
» Replies: 0
» Views: 41
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 347
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 108
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 238
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 377
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 147
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,641
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 244

 
  Gmail Sent email LIMIT
Posted by: Johnse - Apr-27-2021, 02:11 AM - Forum: General Coding Help - Replies (5)

Hello,

I created a program, it sends email fine.
However there is a limit (100) in the number of emails it can send before it crashed and gives ..... More

Print this item

  copyright in docstr?
Posted by: Skaperen - Apr-26-2021, 10:38 PM - Forum: News and Discussions - Replies (5)

is it safe and appropriate to put a copyright notice and license terms in the docstr after a line describing the basic purpose of the code?

for exa..... More

Print this item

  How to deal with self and __init__ in function
Posted by: MrFloyd_telomerase - Apr-26-2021, 08:08 PM - Forum: General Coding Help - Replies (1)

I am sorry for naive questions, I am new to python.

I am trying to understand how to deal with self when I am trying to understand a function whic..... More

Print this item

  Load the data from multiple source files to one table
Posted by: amy83 - Apr-26-2021, 07:22 PM - Forum: General Coding Help - Replies (2)

Hi Experts,
Have requirement as below. Our clients are going to place multiple files(.xls,.csv, .txt,etc..) in one share drive. Our Python script nee..... More

Print this item

Question convert unlabeled list of tuples to json (string)
Posted by: masterAndreas - Apr-26-2021, 06:06 PM - Forum: General Coding Help - Replies (4)

Say i have a list of unlabeled tuples which i want to convert to JSON
Where each tuple is an object (of the same type) which represents a user
the fir..... More

Print this item

  Forum rules on posting a new separate question in one of your own threads
Posted by: Yoriz - Apr-26-2021, 04:48 PM - Forum: Board - Replies (1)

I have created this thread on knoxvilles_joker's behalf reference the following quote

[quote="knoxvilles_joker" pid='141191' dateline='1619382748']..... More

Print this item

  How to get value in Dataframe given row & column values?
Posted by: moonlight - Apr-26-2021, 04:38 PM - Forum: General Coding Help - Replies (1)

Hi there! Newbie here. I hope to get some help on a Python code.
Given a table (Stock Info) which has lots and lots of rows…How do I code to find the..... More

Print this item

  How to design a save file format?
Posted by: philipbergwerf - Apr-26-2021, 03:59 PM - Forum: General Coding Help - Replies (5)

The situation is an alternative music notation app. I've created a program in which you edit the save file directly; lilypond like notation app. But n..... More

Print this item

  [Matplotlib] Data Visualization with Matplotlib Tutorial
Posted by: MK_CodingSpace - Apr-26-2021, 03:14 PM - Forum: Tutorial Requests and Submissions - No Replies

I am developing a Matplotlib Tutorial series on my Youtube Channel. Please check o..... More

Print this item

  pexpect startup help
Posted by: korenron - Apr-26-2021, 03:01 PM - Forum: General Coding Help - Replies (2)

Hello ,
as I understand using pexpect will help me run a "program" inside python
for example run bluetoothctl in pi and run command insdie this in..... More

Print this item

  Pushbutton in ANSA
Posted by: Aishaf - Apr-26-2021, 12:12 PM - Forum: GUI - Replies (2)

Hi everyone,
I am using python to create a gui interface in the software ANSA.
I want to add a pushbutton which is created using this layout:
[pyth..... More

Print this item

  Take first Elements of sublists
Posted by: quest - Apr-26-2021, 11:15 AM - Forum: General Coding Help - Replies (2)

This is my list:

list_of_lists = [[1, 2], [3, 4]]
I want to group of elements of sublists:

[python]
list_of_lists = [[1, ..... More

Print this item

  Create Dynamic For Loop
Posted by: quest - Apr-26-2021, 10:55 AM - Forum: General Coding Help - Replies (3)

Hello
My number of sublists is in this line:

        number_of_sublist=sum(len(x) for x in incoming)
      
And I want to ..... More

Print this item

  Get Azure activity logs using python script
Posted by: raham3406 - Apr-26-2021, 10:17 AM - Forum: General Coding Help - Replies (4)

Hi ,
I am working on an assigment to get azure activity logs using python scirpt.

Can anyone have idea how to do that?

Print this item

  pulling multiple lines from a txt
Posted by: IceJJFish69 - Apr-26-2021, 10:10 AM - Forum: General Coding Help - Replies (3)

Howdy,

So basically the task is to pull rows from a text and do some math on them

I understand how to do the math part but I'm lost on how I can..... More

Print this item

  online courses
Posted by: Naheed - Apr-26-2021, 07:19 AM - Forum: News and Discussions - Replies (2)

Which free online courses are good for learning the Python programming language?

Print this item

  Stemming Problem
Posted by: adzg1 - Apr-26-2021, 05:34 AM - Forum: Homework - Replies (1)

I need to create a stemming problem for an assignment but my problem is I can't figure out how to loop the conditions so all words are stemmed as much..... More

Print this item

  How to convert images to 8-bit pixel art using Python.
Posted by: srivastavavyom1991 - Apr-26-2021, 03:18 AM - Forum: Tutorial Requests and Submissions - Replies (2)

I created a small Python tutorial that explains how you can convert images to 8-bit Pixel art. The tutorial covers three different methods which use t..... More

Print this item

  Is there a better way to print uname information?
Posted by: EkaCaesium - Apr-26-2021, 12:40 AM - Forum: General Coding Help - Replies (4)

I'm currently trying to print the uname() results from the os module in a nice, readable manner.

Printing the uname() results directly like so isn'..... More

Print this item

  f-string as a docstr
Posted by: Skaperen - Apr-25-2021, 06:35 PM - Forum: News and Discussions - No Replies

what would happen if i used an f-string as a docstr?

Print this item

  simple function problem
Posted by: stereokim123 - Apr-25-2021, 03:22 PM - Forum: Homework - Replies (5)

def fruit(melon, pear) :
(

)
  return result
print(fruit(10, 5))
print(fruit(6, 4)) 
hey guys, i'm trying to make a calculati..... More

Print this item

  Wanted to tag azure resources with creator name
Posted by: raham3406 - Apr-25-2021, 02:24 PM - Forum: General Coding Help - No Replies

Hi ,

Am beginner in Python dont have background.

Trying to create/update tags for azure resources with creator name, Need help in doing that. ..... More

Print this item

  Exclude unwanted match-result
Posted by: jimsxxl - Apr-25-2021, 01:57 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello guys!
I encountered a situation which i think is good to learn.
I get 2 matches when im trying to find_all with Selenium.
Im trying to scrape..... More

Print this item

  Help with Websocket-Client Module - Infinite Loop
Posted by: CluelessChris - Apr-25-2021, 01:53 PM - Forum: Networking - No Replies

I need some help with the Websocket-Client (documentation). I have written a program to permanen..... More

Print this item

  logger option , where is the file?
Posted by: korenron - Apr-25-2021, 12:49 PM - Forum: General Coding Help - Replies (1)

Hello ,
I notice in many examples there is a logger
[python]
import loggin
logger = logging.getLogger('localGATT')
logger.setLevel(logging.D..... More

Print this item

  Bluetooth send message after connecting?
Posted by: korenron - Apr-25-2021, 11:40 AM - Forum: General Coding Help - Replies (2)

Hello,
I'm running python on my PI-Zero
and I want to the following :
1. be able to change the BLuetooth name from the code (NOT BLE , simple\ru..... More

Print this item

Photo Windows 10 PowerShell doesn't work
Posted by: Amy - Apr-25-2021, 09:37 AM - Forum: General Coding Help - Replies (3)

This is the first day for me to learn python.
I don't know why PowerShell can't show my code.
file:///C:/Users/%E6%9E%97%E5%96%86/Desktop/%E5%B1%8F%..... More

Print this item

  Python generics: How to infer generic type from class attribute?
Posted by: Thoufak - Apr-25-2021, 09:31 AM - Forum: General Coding Help - No Replies

Let's say I have a number of requests types each of which correspond to exactly one reponse type. Each request is represented as a subclasse of the Re..... More

Print this item

  If match not found print last line
Posted by: tester_V - Apr-25-2021, 04:22 AM - Forum: General Coding Help - Replies (2)

Greetings!
I need to print the last line of a file if a match (second match) not found.
I'm printing all the lines with "match-2" for each "match-1"..... More

Print this item

  _tkinter.TclError: can't invoke "destroy" command: application has been destroyed
Posted by: knoxvilles_joker - Apr-25-2021, 03:34 AM - Forum: GUI - Replies (6)

Still sorting through how to make a splash window close automatically after application starts

I think it has to do with the way I have to format t..... More

Print this item

  Beginner dumb questions related to job search
Posted by: Nata444 - Apr-25-2021, 01:50 AM - Forum: News and Discussions - Replies (5)

Posted this in the wrong forum, sorry. Don't see how to delete it.

Hi, all,

This will be a weird post but I'm really hoping to get answers.

So, ..... More

Print this item

  Synchronizing tkinter with serial baud rate
Posted by: xbit - Apr-25-2021, 01:21 AM - Forum: GUI - Replies (3)

I am creating an appplication, for displaying my arduino serial data that i receive.

However, my application has bugs.

Sometimes, after some tim..... More

Print this item

  Can I use Python in ns3 simulator to create an IGP routing protocol?
Posted by: leemao - Apr-24-2021, 10:55 PM - Forum: Networking - Replies (1)

Hello,

I would like to know if it's possible to code an OSPF-based routing protocol in Python in ns3 simulator ?

Otherwise, what are your sugges..... More

Print this item

  More elegant way to remove time from text lines.
Posted by: Pedroski55 - Apr-24-2021, 10:24 PM - Forum: General Coding Help - Replies (6)

I have 10 text files and 10 mp3s

The text files have some lines with no time headers, but most lines look like this:

[11:29.53]Good morning, everyon..... More

Print this item

  Prevent urllib.request from using my local proxy
Posted by: spacedog - Apr-24-2021, 08:55 PM - Forum: General Coding Help - No Replies

Using the code below I can still pull a page from the web. Where you see:
'xxxx'

Should be a valid proxy.
[python]proxy_handler = urllib.request..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 35 minutes ago paul18fr Pedroski55 General Codin...
  New to python and coding 6 hours ago lary_p jefsummers Homework
  Please guide me to comple... 7 hours ago pbkurd pbkurd General Codin...
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [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...
Most views
  The best Prog... 578935
  Tutorial Requ... 510248
  Web Scraping ... 441959
  Newbie with P... 385971
  New Users Int... 376857
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday
Jessicaadams Yesterday

User Panel Messages

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