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,290
» Latest member: Jamvence
» Forum threads: 38,793
» Forum posts: 175,882

Full Statistics

Online Users
There are currently 129 online users.
» 2 Member(s) | 122 Guest(s)
Bing, Google, AOL, Applebot, lovedeep, kshahzad1985

Latest Threads
Looking for constructive ...
Forum: News and Discussions
Last Post: Jamvence
21 minutes ago
» Replies: 1
» Views: 1,068
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
4 hours ago
» Replies: 5
» Views: 46
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 152
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 58
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,491
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 153
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 69
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,088
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,304
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 396

 
  [PySimpleGUI] error trying to resize Text element
Posted by: skratt - Nov-16-2019, 05:30 PM - Forum: GUI - Replies (3)

Hi, I just spent 3 hours on something I cannot understand:

I'm trying to re-size a Text element, but it replies me :

[quote]window.Element('-DIS..... More

Print this item

  Why does pop() removes an element from more than one list?
Posted by: albufork - Nov-16-2019, 04:52 PM - Forum: General Coding Help - Replies (5)

I have just started using python and encountered this problem. I made list2 a copy of list1. When I remove the last element ("b") in list2 using list2..... More

Print this item

  wxpython
Posted by: menator01 - Nov-16-2019, 04:43 PM - Forum: GUI - Replies (1)

I've been playing around with wxpython and although I've tried various ways of clearing text in leftp I can't seem to get it.
I've tried [python]lb.S..... More

Print this item

  Homework help
Posted by: yazansh1 - Nov-16-2019, 02:59 PM - Forum: Homework - Replies (1)

Implement a function called sum_divisible_by_k(lst, k) which receives a list of numbers called lst and a positive number k, and returns the sum of all..... More

Print this item

  the next_page command using Scrapy Splash is not working
Posted by: nazmulfinance - Nov-16-2019, 02:40 PM - Forum: Web Scraping & Web Development - No Replies

Dear Everyone,

I am trying to extract all quotes with author and tags from 'http://quotes.toscrape.com/js'. The page uses Javascript for web conten..... More

Print this item

  [PySimpleGUI] New input replacing default value in InputText Element
Posted by: skratt - Nov-16-2019, 11:47 AM - Forum: GUI - Replies (1)

Hi,I need a quick help.

I wasn't able to find a way to have the default value of my InputText Element to be replaced by any new characters typed by..... More

Print this item

  Looking for Project - Full-stack developer
Posted by: ray05 - Nov-16-2019, 11:25 AM - Forum: Jobs - No Replies

Hi everyone,

I am currently available and taking up projects.

About myself: I'm a Full-stack developer I love to design beautiful things, write ..... More

Print this item

  Translating orderflow into code
Posted by: reez0105 - Nov-16-2019, 05:28 AM - Forum: Homework - No Replies

Hi all, I have been trying to translate one program into python code but doesn't seem to work. The calculation is always wrong. I tried to get level 1..... More

Print this item

  Division problem
Posted by: Eric7Giants - Nov-16-2019, 04:47 AM - Forum: Homework - Replies (1)

Hello. I'm working on a problem where I ask a user for input on 3 test scores in the format "score/max" and then I am to find the average. I am runnin..... More

Print this item

  Unpacking dictionary from .xlsx as Kwargs
Posted by: etjkai - Nov-16-2019, 03:49 AM - Forum: General Coding Help - Replies (5)

Summary: I'm looking to make my code more Pythonic. It works, but I'm just uneasy knowing that there's probably a better solution elsewhere

I've trie..... More

Print this item

  I need help with my game, help please?
Posted by: basicpythoncoderkid - Nov-16-2019, 02:30 AM - Forum: General Coding Help - Replies (1)

Ok, so I needed help with my game. Huh Huh Huh Huh
Here is the info. I'm running windows 8.1 pro and my python version is 3.7.5. ..... More

Print this item

  which is "better" (or more Pythonic)?
Posted by: Skaperen - Nov-16-2019, 01:06 AM - Forum: General Coding Help - Replies (8)

i have a little function that i am considering whether or not i should use a variable for some intermediate data:

form 1:[python] ...
with ..... More

Print this item

  Calling DLL function
Posted by: OptoBruh - Nov-15-2019, 11:51 PM - Forum: General Coding Help - No Replies

I am trying to call an external library (OP815M_64.DLL) and one of the functions in the DLL has the format:

GetUSBDeviceDescription(int, char**);
..... More

Print this item

  Problem connecting to 2 switches, HELP!
Posted by: Netcode - Nov-15-2019, 10:30 PM - Forum: General Coding Help - No Replies

I have configured 2 Cisco switches with ssh and have given interface vlan1 on s1 the ip address of 192.168.2.111 and s2 192.168.2.112. I can ssh into ..... More

Print this item

  Solution to this task
Posted by: BASHIRA2 - Nov-15-2019, 09:50 PM - Forum: Homework - Replies (1)

Write a function that takes an array of integers and returns the number of triplets in the array.
[python]
class Solution:

def find_triplets(..... More

Print this item

  virtual host and real network communicate
Posted by: looney99 - Nov-15-2019, 09:20 PM - Forum: Networking - Replies (3)

How can the virtual host in GNS3 communicate with real-world devices using python? How should sockets be? . please help me

Print this item

  struggling with python save/load function
Posted by: newatpython00 - Nov-15-2019, 06:42 PM - Forum: Homework - Replies (1)

my full game code is below i need to put in a save load function I know it goes something like
[python]
dct = {'hp': 0, 'gold': 100} #<- state

im..... More

Print this item

  Confusion with datetime 'dst' function result
Posted by: jsmith1703 - Nov-15-2019, 06:37 PM - Forum: General Coding Help - Replies (4)

I have found the result of the datetime 'dst' funtion to be confusing. If I create a datetime object this way:

import datetime, pytz
myDate = date..... More

Print this item

  Sorting columns from text file help
Posted by: nickglobal101 - Nov-15-2019, 05:10 PM - Forum: General Coding Help - Replies (1)

Hello! I'm very new to Python and need help figuring out how to sort by columns from a text file which is being throw off by the Date column (which ha..... More

Print this item

  Saving information
Posted by: Justice_py - Nov-15-2019, 04:35 PM - Forum: General Coding Help - Replies (8)

So totally brand new to Python, and I thought a good first program would be to write a simple login system. My issue is I don't know how to get python..... More

Print this item

  matplotlib pip install error
Posted by: Paul_Grosvenor - Nov-15-2019, 04:15 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm new to python and currently trying to install matplotlib via cmd. I'm currently using the following command:
python -m pip install -U ..... More

Print this item

  New to Python, philosophical question
Posted by: nsadams87xx - Nov-15-2019, 03:57 PM - Forum: News and Discussions - Replies (6)

Good morning everyone,

I'm relatively new to Python but have been doing some object oriented programming for a while but mainly business intelligen..... More

Print this item

  Percentages displayed as "0.00"
Posted by: Winfried - Nov-15-2019, 03:27 PM - Forum: General Coding Help - Replies (2)

Hello,

This is a simple query where I need to display a quantity, and the percentage it represents.

I don't know if it's a Python or SQLite issu..... More

Print this item

  Error with simple "or" statement?
Posted by: Mark17 - Nov-15-2019, 03:12 PM - Forum: General Coding Help - Replies (4)

I'm trying to count the number of words in a sentence that include "o" or "e." Why does this count every word?

[Python]
player_str = "the best pl..... More

Print this item

  Proxy setup through program
Posted by: ofrishez - Nov-15-2019, 03:09 PM - Forum: Networking - No Replies

I have written a proxy script in python3, currently, I am setting the proxy connection through windows Manual proxy setup (entering 127.0.0.1 and port..... More

Print this item

  why does this if-statement not work?
Posted by: sandeen - Nov-15-2019, 03:05 PM - Forum: General Coding Help - Replies (2)

Hello, I am the biggest noob in this forum probably, so my first question is why this simple if-statement allways
accepts the first if-statement rega..... More

Print this item

  Understanding list comprehension
Posted by: Drone4four - Nov-15-2019, 02:43 PM - Forum: General Coding Help - Replies (5)

I’m taking Colt Steele’s Udemy course called “The Modern Python 3 Bootcamp”. I’m on Section 13 on List Comprehension.

The instructor uses this as an ..... More

Print this item

  Error in code
Posted by: AaronG123 - Nov-15-2019, 02:24 PM - Forum: General Coding Help - Replies (5)

So below my code i have got everything working. However when there is an amount of errors in entering race times for each lane. It adds an extra lane...... More

Print this item

  Backward Calculation
Posted by: QuentinL - Nov-15-2019, 01:58 PM - Forum: Homework - No Replies

Hello All,

I am trying to code in Python the CRR Binomial Model for Option Pricing as part of a greater assignment.
I need to perform n-time a bac..... More

Print this item

  Split a long string into other strings with no delimiters/characters
Posted by: krewlaz - Nov-15-2019, 01:45 PM - Forum: General Coding Help - Replies (4)

So I am web scraping an eBay sales history web-page using BeautifulSoup. Here's the webpage:
[Image: 1W1GRfj.png]

An exampl..... More

Print this item

  Calculate Rating Score for Reviews Containing Specific Words
Posted by: bongielondy - Nov-15-2019, 01:34 PM - Forum: Data Science - Replies (1)

I want to calculate the average rating score for reviews that contain any of the words, 'food, buffet, breakfast, supper'. I would like to find out if..... More

Print this item

  Artificial Intelligence and 2 APIs
Posted by: schuler - Nov-15-2019, 01:06 PM - Forum: Code sharing - No Replies

Smile Hello Smile ,
After a couple of years of coding, I ended having a neural network A[url=https://python-forum.io/thread-22499.html]..... More

Print this item

  How to call COM-method using comtypes
Posted by: jespersahner - Nov-15-2019, 12:54 PM - Forum: General Coding Help - No Replies

I'm using comtypes to call a COM method (with no arguments), however I get an "exception: access violation reading".
When using win32com it Works:
..... More

Print this item

  Need help XE1 SyntaxError
Posted by: Reckin - Nov-15-2019, 12:54 PM - Forum: General Coding Help - Replies (1)

guys i need help the code saying error like this:

Error:
SyntaxError: Non-ASCII character '\xe1' in file
[python]
currentMonth =int(inp..... More

Print this item

  Web Hosting Discount for Wordpress, Magento, PHP based applications
Posted by: johncamp - Nov-15-2019, 12:25 PM - Forum: Bar - Replies (3)

Hi,

I found this managed cloud hosting provider that offers a 40% discount on all managed hosting plans for three months. Whether you host Magento,..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Looking for constructive ... 21 minutes ago decuser Jamvence News and Disc...
  PyQt5 - Get a parameter f... 4 hours ago Ninja2112 deanhystad GUI
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
Most views
  The best Prog... 579297
  Tutorial Requ... 512154
  Web Scraping ... 442200
  Newbie with P... 386307
  New Users Int... 379804
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+ 12109
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Jamvence Today
J2M Today
jackhunter Today
EmilyCarter Today
xdimbah Today

User Panel Messages

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