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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,580

Full Statistics

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

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
5 hours ago
» Replies: 1
» Views: 73
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 2
» Views: 98
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,538
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 101
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 223
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,051
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 464
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,096
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,170
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 854

 
  want to get package documentation from pip without installing
Posted by: Skaperen - Aug-11-2019, 06:20 AM - Forum: News and Discussions - Replies (2)

way back when i was getting started with Python i saw the specs of a DNS query library the would let me do any kind of DNS query including setting any..... More

Print this item

  finding the integral of probability density function
Posted by: Staph - Aug-11-2019, 04:31 AM - Forum: Data Science - Replies (3)

Given a probability density function (pdf) like this

pdf = skew_norm_pdf(x,location,scale,SKEW_PARAMS[0])

how can I find the integral for this p..... More

Print this item

  simple GUI-chat Bot with csv log of conversation
Posted by: ronblue77 - Aug-10-2019, 11:42 PM - Forum: Code sharing - No Replies

hello everyone... i'm new here and a beginner in python

here is a code of a simple chatbot with GUI and it saves the conversation in CSV file calle..... More

Print this item

  Problem Discord Bot Python
Posted by: Kint - Aug-10-2019, 09:39 PM - Forum: General Coding Help - Replies (4)

Hello guys I'm trying to create a Discord bot, using python language, I recently started studying this language so I'm asking for help in this forum...... More

Print this item

  codebreaker exercise visualsteps
Posted by: ivobrugman - Aug-10-2019, 08:12 PM - Forum: Code sharing - Replies (4)

HI,

Just starting out with python. Throught my book, a real basic book from visual steps I came to make below code. I think I understand all the wo..... More

Print this item

  Multiple wall collision in pacman
Posted by: rustyjoe - Aug-10-2019, 07:43 PM - Forum: Game Development - Replies (4)

Hi, I'm trying to replicate pacman with pygame. I want to make the player move wherever he wants but on one condition: if he's too near the wall I hav..... More

Print this item

  Bit masks
Posted by: leodavinci1990 - Aug-10-2019, 05:59 PM - Forum: General Coding Help - Replies (1)

Hi, So I am writing this small program to determine door access allowed to users.
[python]#create a special no. for storing an RFID card that determi..... More

Print this item

  Passing an argument by reference
Posted by: Exsul - Aug-10-2019, 03:12 PM - Forum: General Coding Help - Replies (12)

Can you pass an argument by reference with data structures other than lists?

[python]def try_to_change_list_contents(the_list):
print('got', t..... More

Print this item

  Automating to run python script 100 times by changing parameters
Posted by: pmt - Aug-10-2019, 02:58 PM - Forum: General Coding Help - Replies (1)

Hi All, I am trying to automate the test which I have to run 100 times by changing the data that read from csv file. I have a csv file called test-100..... More

Print this item

  Tkinter or PyQt
Posted by: paul18fr - Aug-10-2019, 10:59 AM - Forum: GUI - Replies (5)

Hi all,

Let me asking you for advices in how to choose between Tkinter and PyQt libraries? I've no experience in GUI development in general, and mo..... More

Print this item

  askdirectory
Posted by: Friend - Aug-10-2019, 10:49 AM - Forum: General Coding Help - No Replies

Hi all,

i want to let the user select a path. i used the following

[python]
from tkinter.filedialog import askdirectory
path = askdirectory()..... More

Print this item

  telnet from ssh tunnel
Posted by: oldfart - Aug-10-2019, 09:52 AM - Forum: Networking - Replies (3)

Trying to get data (mainly temperature) from a UniFi Switch 16 POE-150W.
Have to first enter the switch with ssh, then telnet into the local host, th..... More

Print this item

  t_games v0.44.0a1
Posted by: ichabod801 - Aug-10-2019, 08:08 AM - Forum: Code sharing - No Replies

I just finished a new release of t_games.

Games added:

Print this item

  working with Micropython - which ecosystem to choose - ESP 8266 or ESP 32?
Posted by: apollo - Aug-10-2019, 07:53 AM - Forum: Homework - Replies (1)

dear community



working with Micropython - which ecosystem to choose - ESP 8266 or ESP 32?


I work with Kids. I'm always looking for econ..... More

Print this item

  Thonny
Posted by: Kundan - Aug-10-2019, 07:29 AM - Forum: Homework - Replies (1)

I am using Thonny IDE for Python programs. Can I plugin ZOD B in it? How?

Print this item

  Read exel with merged cells and write to another excel
Posted by: SriMekala - Aug-10-2019, 07:14 AM - Forum: Data Science - No Replies

Hi,
I read the excel sheet which has "merged cells", and I want to write to another file retaining original merged cells.

My input excel is below:..... More

Print this item

  catch input type error
Posted by: mcmxl22 - Aug-10-2019, 06:21 AM - Forum: General Coding Help - Replies (5)

I am trying to get this script to only accept integers.
[python]
number = int(input("Enter a number. "))
if isinstance(number, str):
print("En..... More

Print this item

  how to calculate overlaping coefficient between two probablity functions
Posted by: Staph - Aug-10-2019, 05:02 AM - Forum: Data Science - Replies (3)

I have two probability density functions generated as follows:

location = 0.97
scale = 1.0
x = np.linspace(-5,5,100)

..... More

Print this item

  how to put a frozenset in a frozen set
Posted by: Skaperen - Aug-09-2019, 11:55 PM - Forum: General Coding Help - Replies (5)

what is a an expression to put a frozenset inside a frozenset? since a frozenet is hashable it should work ... in theory. when i try it i just get a..... More

Print this item

  math.gcd() is limited to 2 arguments
Posted by: Skaperen - Aug-09-2019, 10:34 PM - Forum: News and Discussions - Replies (2)

math.gcd() is limited to 2 arguments even though there are times the GCD is needed for 3 or more numbers. and LCM (Least Common Multiple) is related ..... More

Print this item

  coloring the widget table row
Posted by: atlass218 - Aug-09-2019, 07:31 PM - Forum: GUI - Replies (5)

hi;
I created a graphical application with Qtdesigner and pyqt5. To finalize it completely, I started the creation some retouches concerning the colo..... More

Print this item

  what could i do with my file tree list generator?
Posted by: Skaperen - Aug-09-2019, 07:13 PM - Forum: News and Discussions - Replies (3)

a while back we talked about walking a file tree and i found the function to do that in the Python library had a strange order to it, but the order i ..... More

Print this item

  help with multiprocess concept
Posted by: kiyoshi7 - Aug-09-2019, 07:02 PM - Forum: General Coding Help - Replies (2)

Hi im trying to write a module that communicates with a ucontroller via pyserial, plots data if needed. The general outline of what I want to do is in..... More

Print this item

  remove weekends from matplot
Posted by: mr_byte31 - Aug-09-2019, 04:28 PM - Forum: General Coding Help - Replies (3)

I am plotting some charts and I noticed that I have gaps in the weekend days.
I want to remove the weekend days from the chart.


[python]
from m..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to check after 30 minutes if Buttons have been clicked?
Posted by: bmghafoor - Aug-09-2019, 03:45 PM - Forum: GUI - Replies (1)

I have a GUI with two buttons. When The GUI is started, I want python to print "No button selected" in 30 minutes if no button is selected in 30 minut..... More

Print this item

  tk hangman game
Posted by: joe_momma - Aug-09-2019, 02:48 PM - Forum: Code sharing - No Replies

This is a spelling game. I set it up to create a list of random words over 9 characters.
The top script is the list named hangWords001c.py the second..... More

Print this item

  How to clear multiple Qlineedit in a loop
Posted by: mart79 - Aug-09-2019, 12:30 PM - Forum: GUI - Replies (6)

How can you clear multiple Qlineedit in a loop or efficiently? I have about 30 Qlineedit in a GUI.
They all have a unique name starting with 'txt' su..... More

Print this item

  String formatting difficulties
Posted by: mmk1995 - Aug-09-2019, 10:33 AM - Forum: General Coding Help - Replies (3)

Hi all,

I would like to ask, why the below code is valid,

[python]def place_value(number):
return ("{:,.2f}".format(number))

print(place_..... More

Print this item

  Cartopy Error
Posted by: bostonwx - Aug-09-2019, 10:22 AM - Forum: General Coding Help - Replies (6)

Good morning,

Before I get into my issue, I have extensively searched on google in hopes of finding a solution and I've found nothing. I'm also ju..... More

Print this item

  Select a part of an element of a list with Index
Posted by: BollerwagenIng - Aug-09-2019, 09:27 AM - Forum: General Coding Help - No Replies

I've created a list with a for loop and got elements with many elements... How can I make this easier?

[python]
cmc = []

CYC1 = cmc[0]..... More

Print this item

  install matplotlib
Posted by: falahfakhri - Aug-09-2019, 09:23 AM - Forum: News and Discussions - Replies (3)

Hi all this is my first post in here, and I'm a new user of python, I need your help please,

I'm facing up problem while trying to install matplot..... More

Print this item

  Series object error message
Posted by: abhaydd - Aug-09-2019, 07:18 AM - Forum: Data Science - Replies (1)

Hello,

I am trying to create data frame of Share prices based on data provided by vendor. I am getting an error message "'Series' object has no at..... More

Print this item

  Get all values of for loop with an index
Posted by: BollerwagenIng - Aug-09-2019, 07:12 AM - Forum: General Coding Help - Replies (2)

I've read a text file and got my ten lines with a for loop:
[python]
j = 871
i=0
counter = list(range(10))
for i in counter:
CYC1=('\n'.joi..... More

Print this item

  QLinearGradient Banding
Posted by: kainev - Aug-09-2019, 06:49 AM - Forum: GUI - Replies (2)

Hi,

I am creating an application with PyQt5. I originally was using an image for the background of my program that has the correct gradient however..... More

Print this item

  type checking
Posted by: Skaperen - Aug-09-2019, 02:37 AM - Forum: Bar - Replies (4)

Python doesn't do type checking of passed arguments in function calls so i do that on my own. but, at least i can do checks that allow multiple types..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 5 hours ago glestwid Larz60+ General Codin...
  print does not open conso... 10 hours ago Tycho_2025 Pedroski55 General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577480
  Tutorial Requ... 501354
  Web Scraping ... 441106
  Newbie with P... 385163
  New Users Int... 369911
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today

User Panel Messages

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