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,988
» Latest member: markwood955
» Forum threads: 38,736
» Forum posts: 175,578

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 37 Guest(s)
Applebot, Bing, AOL, Google, snippsat

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
1 hour ago
» Replies: 0
» Views: 15
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
3 hours ago
» Replies: 1
» Views: 47
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
7 hours ago
» Replies: 3
» Views: 2,524
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 2
» Views: 80
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 6
» Views: 184
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,043
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 457
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,086
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,158
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 837

 
  Understanding the concept ( Modules , imports )
Posted by: erfanakbari1 - Nov-24-2019, 09:24 PM - Forum: General Coding Help - Replies (1)

Hey fellas .
I've been trying to learn bunch of stuffs about modules and imports in Python , meanwhile I was stopped because of some codes in which I..... More

Print this item

  Uninstalling python 3.8.0a1
Posted by: arcy - Nov-24-2019, 08:47 PM - Forum: General Coding Help - No Replies

I am on Windows 10 Pro, attempting to install a tool that requires python. Though I had forgotten, I had installed a beta version of python last July ..... More

Print this item

  Help with List Loops
Posted by: slackerman73 - Nov-24-2019, 08:11 PM - Forum: General Coding Help - Replies (4)

I'm working through an assignment and am having some difficulty. Code below

listToPrint=['dog', 'cat', 'hamster', 'pig']

while len(listToPrint)..... More

Print this item

  Chat box locking up with multiple clients running
Posted by: Clunk_Head - Nov-24-2019, 07:17 PM - Forum: Networking - Replies (1)

I am working on a GUI based chat program.
I am using someone else's server which has worked well for many people so I am assuming the problem is with..... More

Print this item

  more list help converting
Posted by: paul41 - Nov-24-2019, 07:06 PM - Forum: General Coding Help - Replies (3)

I have another issue with converting a list into the formatting i need it and looking for advice. (possibly getting late in the evening and my brain ..... More

Print this item

  Parsing XML
Posted by: speedy1668 - Nov-24-2019, 04:48 PM - Forum: Homework - Replies (2)

Hello,

I was trying to write a program that will prompt for a URL, read the XML data from that URL using urllib and then parse and extract the comm..... More

Print this item

  List help to split into single entries
Posted by: paul41 - Nov-24-2019, 03:37 PM - Forum: General Coding Help - Replies (3)

I have a list which is in the following format:

list = ['A -> B', 'C -> D', 'E -> F']

I am trying to find a way to produce a list of single entr..... More

Print this item

  Extract email addresses from string and store them in a list
Posted by: oslosurfer - Nov-24-2019, 03:15 PM - Forum: General Coding Help - Replies (2)

How can I extract email addresses from a string and store them in a list? The following code produces the desired output when printed in the for loop,..... More

Print this item

  How to get cx_Freeze to make folders
Posted by: mad_accountant - Nov-24-2019, 02:22 PM - Forum: General Coding Help - No Replies

Hi

I am trying to convert my python project into an executable using cx_Freeze. Script of setup.py is as follows:

[python]import cx_Freeze

files_li..... More

Print this item

  Grouping a list of various time into intervals
Posted by: paul41 - Nov-24-2019, 01:09 PM - Forum: General Coding Help - Replies (1)

Hi, I am looking to create a new function that will take in a list of different times and also another input which will split it into x second interva..... More

Print this item

  Unable to Use TLS 1.3 CCM Ciphers
Posted by: frizi23 - Nov-24-2019, 01:07 PM - Forum: Networking - No Replies

Hi, I'm trying to make a TLS 1.3 connection using the following ciphers:

  • TLS_AES_128_CCM_SHA256
  • TLS_AES_128_CCM_8_SHA256
These ci..... More

Print this item

  Startiing a Course/Subject System with inquiry
Posted by: legendavid03 - Nov-24-2019, 11:31 AM - Forum: Homework - Replies (1)

I have a project in our class which is to create a solution to real world problems and I was tasked to create a program that has a partial ordering sy..... More

Print this item

  Date from from excel to Python.
Posted by: atp_13 - Nov-24-2019, 10:38 AM - Forum: General Coding Help - Replies (1)

I have pulled date from excel to python , when I print the date in Python it shows like "2019-11-28 00:00:00" , which is not what I want . I want to ..... More

Print this item

  Help with a Matrix nxn with black and white input
Posted by: Rosko - Nov-24-2019, 06:36 AM - Forum: Homework - Replies (3)

Hi
I need to create an array nxn whose entries are black if they are 1 or white if they are 0

then if we choose a random point, move to the left i..... More

Print this item

  Python Homework Help *Urgent
Posted by: GS31 - Nov-24-2019, 04:43 AM - Forum: Homework - Replies (2)

Hello everyone, first time posting here and just wanted some help with some python homework. I've been taking a GIS college program which consists of ..... More

Print this item

  Tkinter Class
Posted by: pythonenthusiast2 - Nov-24-2019, 02:28 AM - Forum: GUI - Replies (1)

Hi,

I need some help understanding the class in the code below. I am using the code to learn from and have searched the internet and have not fou..... More

Print this item

  how to pass data between modules while importing
Posted by: Skaperen - Nov-24-2019, 01:50 AM - Forum: News and Discussions - Replies (6)

i have 2 modules that are somewhat related. they both get imported in sequence, usually with nothing between being imported, by the script that needs..... More

Print this item

  Data Dictionaries in Python
Posted by: mrsenorchuck - Nov-24-2019, 01:31 AM - Forum: General Coding Help - Replies (16)

Hello,

Hope you are well.

I want to load the all time premier league table in to a a data dictionary in phyton, https://en.wikipedia.org/wiki/Pr..... More

Print this item

  Referencing class
Posted by: bongielondy - Nov-23-2019, 11:58 PM - Forum: Data Science - No Replies

I used VADER for sentiment analysis. However the examples I used to customise my code reference the class when printing the accuracy_score. VADER is a..... More

Print this item

  Could any one help me to evaluate this function.
Posted by: jinghui - Nov-23-2019, 11:15 PM - Forum: News and Discussions - Replies (5)

Dear all,
I am a student in university and a professor teaching python provided an function example

[python]
def calculator(num1=int(input("Type ..... More

Print this item

  itertuples, new column, datetime, pandas
Posted by: karlito - Nov-23-2019, 09:11 PM - Forum: Data Science - Replies (6)

Hi,

I'm trying to select a range in a dataframe every time x <= 20 and create a new dataframe with a column which is the sum of the selected rows (..... More

Print this item

  Controlling multiple portfolios
Posted by: semantina - Nov-23-2019, 08:54 PM - Forum: Data Science - Replies (1)

Hello,
Wanted to ask how this can be done. An analytical model generates 5 trade ideas each hour. These trade ideas need to be placed immediately at ..... More

Print this item

  help with a call
Posted by: PyPy - Nov-23-2019, 08:52 PM - Forum: General Coding Help - Replies (3)

hi all,

I have a class which has a method which sort data in it. I need to create another method to check if data object I am dealing with is sorte..... More

Print this item

  Circle Game: My first game using a graphical library
Posted by: Flux3on - Nov-23-2019, 07:43 PM - Forum: Code sharing - Replies (3)

Hello everyone,
Over the past week I have been making a game in Python using the graphical library Pyxel (https:/[url=https://python-forum.io/thread-22711.html]..... More

Print this item

  number repeating twice in loop
Posted by: JonnyEnglish - Nov-23-2019, 07:08 PM - Forum: General Coding Help - Replies (3)

Hi,
can you help me understand why the number 9 repeats twice when i run this loop?

[python]import math

digits = 123456789
reversed_numbers =..... More

Print this item

  I can't send topic
Posted by: AndrzejB - Nov-23-2019, 06:34 PM - Forum: Bar - Replies (1)

My posts are marked as spam, first I give examaple with downloader with web address, next I removed this line, but still I can' t post

Print this item

  Convert weekly sequences to date and time.
Posted by: SinPy - Nov-23-2019, 05:20 PM - Forum: General Coding Help - No Replies

I have an optimization model that returns long time series of numbers. Each week has 36 values. Each value represents a different number of hours. The..... More

Print this item

  networkx to show traffic help to get started
Posted by: paul41 - Nov-23-2019, 05:19 PM - Forum: Data Science - No Replies

I am going to be using both networkx and matplotlib to produce a graph.

The graph data input is 'currently' in the format of a dictionary. The dic..... More

Print this item

  Using Input() in If...Elif Statements
Posted by: Shemira - Nov-23-2019, 04:53 PM - Forum: General Coding Help - Replies (11)

How would I make it so the user only has to type heal once?

[python]
if (input() == "hunt"):
print("You encountered a slime! What would you l..... More

Print this item

  How to Continuously Remove Letters from Words
Posted by: ZQ12 - Nov-23-2019, 04:48 PM - Forum: General Coding Help - Replies (1)

I'm trying to write a program which prompts the user for a word. Then, the program will ask what letter should be removed, only allowing one letter at..... More

Print this item

  find max() value
Posted by: tuxandrew - Nov-23-2019, 04:36 PM - Forum: General Coding Help - Replies (13)

list1=[10,20,30,40,60]
list2=[30,40,60,70,20]
list3=[90,30,50,30,20,10]

How to print

 max() 
values of each lists using a loop?..... More

Print this item

  tkinter button not accessing the command when clicked
Posted by: jhf2 - Nov-23-2019, 03:30 PM - Forum: GUI - Replies (1)

I am making a tkinter program where I want one button (button1) always on the screen. Every time that button is clicked I want a new button (button2) ..... More

Print this item

  moves in Tic-Tac-Toe
Posted by: marek12 - Nov-23-2019, 03:30 PM - Forum: Homework - Replies (3)

I have a string "x-xoxoo--" which meeans a satge in a game Tic-Tac-Toe

x|-|x
 o|x|o
o|-|-
I kn..... More

Print this item

  TypeError: Not supported between instances of 'function' and 'int'
Posted by: palladium - Nov-23-2019, 01:24 PM - Forum: General Coding Help - Replies (9)

Hi all, I am new to programming and am trying (learning) to build a calculator to calculate the risk of heart diseases based on a few variables. Part ..... More

Print this item

  8 image grid with automatical image resize by screen resolution
Posted by: AlexanderO - Nov-23-2019, 11:16 AM - Forum: GUI - Replies (3)

Hello everybody,
i am very new in python and have a problem.
I use Python 3 on a Raspberry.
I wanted to have a little program what have an full w..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 1 hour ago glestwid glestwid General Codin...
  print does not open conso... 3 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Fred Economic Data API 7 hours ago warrior42 Trickety Web Scraping ...
  create ocr to detect lice... 8 hours ago bimosora noisefloor General Codin...
  Parse Markdown / get the ... 8 hours ago SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... Yesterday, 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... 577468
  Tutorial Requ... 501245
  Web Scraping ... 441090
  Newbie with P... 385158
  New Users Int... 369843
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
markwood955 Today
DerekGeel Today
Tycho_2025 Today
chikkamagalur Today
Costa Today

User Panel Messages

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