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,579

Full Statistics

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

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 2
» Views: 71
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
8 hours ago
» Replies: 0
» Views: 39
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,529
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 88
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 196
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,046
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 460
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,088
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,164
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 845

 
  error opening port from local to internet
Posted by: looney99 - Nov-17-2019, 12:24 PM - Forum: Networking - Replies (3)

In order for the virtual host to communicate with the real world, I had to open a local to internet port. I try this via localhost run but when I go t..... More

Print this item

  HMAC/ Hashlib Tutorial Request
Posted by: dn237 - Nov-17-2019, 12:06 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm requesting a tutorial/ help on how to create a new HMAC using SHA512 to send a get request to Bittrex.com's API to place a buy/sell/etc order/requ..... More

Print this item

  threading for method outside class
Posted by: anna - Nov-17-2019, 07:05 AM - Forum: General Coding Help - No Replies

Hi All,

I have modified original script to work with ZyXEL DSLAM devices, need to guidance to implement threading for method of class but outside o..... More

Print this item

  Scrapy Javascript Pagination (next_page)
Posted by: nazmulfinance - Nov-17-2019, 02:16 AM - Forum: Web Scraping & Web Development - Replies (2)

Dear Members,

I am trying to scrap the first table in all pages from the following website: https://www.secform4.com/insider-trading/320193.htm. Th..... More

Print this item

  Frustrated with Assignment. S.O.S! HELP!
Posted by: Than999 - Nov-17-2019, 12:36 AM - Forum: Homework - Replies (7)

Hi, I have this assignment that I am about to be on the verge of giving up. So this assignment calls for creating a function call "def verify(number)..... More

Print this item

  [split] Windows can't find installed packages
Posted by: deep_logic - Nov-16-2019, 11:56 PM - Forum: General Coding Help - Replies (11)

Hi all,
I seem to have a similar situation trying to import beautifulsoup4. I've installed beautifulsoup4 using pip in a command prompt. All good. Ho..... More

Print this item

  Substitution with regular expression returns hidden character SOH
Posted by: bajacri - Nov-16-2019, 11:45 PM - Forum: General Coding Help - Replies (2)

Hello community, hope everyone is having a good time.

I'm doing a pretty easy script, look for a certain format of values in a file then repeat the..... More

Print this item

  Simple code works in Jupyter but not VS Code
Posted by: Matt_O - Nov-16-2019, 11:35 PM - Forum: General Coding Help - Replies (2)

Hi Python Experts,

I am extremely new to Python and am trying to work out a small problem.

I am using the latest version of Anaconda Navigator ..... More

Print this item

  How can I improve this piece of code?
Posted by: aquerci - Nov-16-2019, 09:51 PM - Forum: General Coding Help - Replies (3)

Hi all,

In these days I wrote a script. It works very well but a piece of his code is very slow because of a custom function. you can see it below:..... More

Print this item

  Can I get some help doing this Data Validation?
Posted by: p_hobbs - Nov-16-2019, 09:03 PM - Forum: GUI - Replies (5)

I'm trying to get this data validation to work. It seems to work ok when checking, but it just does some funny things, that I don't understand. First,..... More

Print this item

  adding parts of a list
Posted by: Eric7Giants - Nov-16-2019, 08:40 PM - Forum: Homework - Replies (4)

Hello. I'm working on a problem where there is a file that contains the name and 5 test scores for 5 students. I have to use python 2.7 even though I ..... More

Print this item

  How do I delete symbols in a list of strings?
Posted by: Than999 - Nov-16-2019, 07:51 PM - Forum: General Coding Help - Replies (1)

I need help with my Python code? I need to test a string of values in the form of '####-####-####', for example; '5000-0000-0000'. I need to test this..... More

Print this item

  Is 2 a prime number? for loop & range fuction in python docs says yes, mine says no.
Posted by: allusernametaken - Nov-16-2019, 06:48 PM - Forum: General Coding Help - Replies (4)

I'm a beginner in computer science field, and Python is my first programming language I'm studying. I started reading Python documentation and would l..... More

Print this item

  List Comprehension - Creating a list of the length of an item help
Posted by: paul41 - Nov-16-2019, 05:37 PM - Forum: General Coding Help - Replies (2)

I am working within a file which is within a for loop. Within this for loop i am wanting to create a new list. I can do what i want using normal lis..... More

Print this item

  [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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 1 hour ago Tycho_2025 Pedroski55 General Codin...
  Weird failure in Selenium 8 hours ago glestwid glestwid 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... 577470
  Tutorial Requ... 501289
  Web Scraping ... 441101
  Newbie with P... 385163
  New Users Int... 369875
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 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday
chikkamagalur Yesterday
Costa Yesterday

User Panel Messages

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