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

Full Statistics

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

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: bimosora
2 hours ago
» Replies: 3
» Views: 118
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
10 hours ago
» Replies: 4
» Views: 136
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 81
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,546
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 232
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,056
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 469
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,103
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,179
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 861

 
  re-executing self with different arguments
Posted by: Skaperen - Aug-18-2019, 06:49 PM - Forum: General Coding Help - Replies (5)

i want to have a script re-execute itself (a few instances of itself in child processes) with different arguments. the problem i am running into is t..... More

Print this item

  Dictionary for Excel Data
Posted by: Ranjirock - Aug-18-2019, 05:26 PM - Forum: General Coding Help - No Replies

We use Roster for our team members. I want to use Python to check the team members shift for particular date and check how much of work is done. So I'..... More

Print this item

  Write one line of Python
Posted by: erfanakbari1 - Aug-18-2019, 02:16 PM - Forum: Homework - Replies (2)

Hey guys
I have been trying to find a solution or this exercise and I actually did . But the problem is that I can not actually write this program in..... More

Print this item

  how to tell python to do something every 6 months
Posted by: Jezani_VIII - Aug-18-2019, 01:34 PM - Forum: Homework - Replies (1)

# Imagine your income is 200k per year and you want to save 0.1% of your income monthly because there is a debt of about 100k on your name
# but my i..... More

Print this item

  How to Find & Count String Patterns Between two Markers in a HTML file
Posted by: ahmedwaqas92 - Aug-18-2019, 01:18 PM - Forum: General Coding Help - Replies (3)

Hello,

I have a HTML file from which I am trying to extract strings so that I can count them and then hopefully export the analysis of those result..... More

Print this item

  Update a label text from subprocess
Posted by: jim53 - Aug-18-2019, 08:47 AM - Forum: GUI - Replies (3)

Hello,

I try to code a graphical interface to run terminal command to show the result in a label.
My problem is that the text of the label is only..... More

Print this item

  Attribute Error
Posted by: Adit99 - Aug-17-2019, 08:59 PM - Forum: General Coding Help - Replies (5)

trying to convert an integer tuple to a binary (string) tuple.
getting an Attribute error as follow.
[python]
def __int_to_bin(rgb):
r, g,..... More

Print this item

  New to Python
Posted by: ourek - Aug-17-2019, 08:01 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm new to Python (trying to learn it) and I have Win10 with VSC and with Python extension installed but when I try to run python file

[..... More

Print this item

  Invalid JSON payload received. Unknown name “”: Root element must be a message."
Posted by: hellraiser - Aug-17-2019, 07:32 PM - Forum: General Coding Help - Replies (4)

Hi guys,

I am trying to update a Google contact using People API. Unfortunately I am getting an error:

[b]Invalid JSON payload received. Unknown..... More

Print this item

  Debian ... oops!
Posted by: millpond - Aug-17-2019, 05:57 PM - Forum: General Coding Help - Replies (6)

I am running Debian Buster/Sid and have Pythons 2.7.16 and 3.7.2

System Python is by default /usr/lib/Pythonxx/dist-packages
PyPy installs by def..... More

Print this item

  Print strings enclosed with a character with different characters
Posted by: aylmaoxd - Aug-17-2019, 02:46 PM - Forum: Homework - Replies (1)

Hello everyone, I'm currently learning for loops right now and I did a basic program that takes string inputs and an integer input. The program will p..... More

Print this item

  Python / Selenium Turning Off Alert
Posted by: graham23s - Aug-17-2019, 02:33 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi Guys,

I'm using Selenium to interact with a few websites, on a few i get this alert:

[Image: TrgBkML.png]

is there a way i..... More

Print this item

  Raycasting GPS coordinates
Posted by: drybulkfreight - Aug-17-2019, 07:39 AM - Forum: General Coding Help - Replies (10)

Hello,

I want to test whether they are within a polygon I have drawn. I have an CSV file with 5000 lines of latitude and longitude GPS coordinates...... More

Print this item

  changing the process command line arguments in python
Posted by: Skaperen - Aug-17-2019, 06:22 AM - Forum: General Coding Help - Replies (3)

in C i can update the argv[] strings in place with a new set of arguments and it shows up when the ps command (in Linux or Unix) shows the proc..... More

Print this item

  Beginner mistake.
Posted by: bbweeg - Aug-17-2019, 01:00 AM - Forum: General Coding Help - Replies (1)

Hello, I am a beginer learning on dataquest and I am stucked with a simple exercice where I make a mistake where I have my table new title but not th..... More

Print this item

  Question about using lambda
Posted by: hikerguy62 - Aug-17-2019, 12:09 AM - Forum: General Coding Help - Replies (4)

I just wrong across this "anonymous function" named lambda and have a quick question.

Why am I getting the lambda error message with this code:
[..... More

Print this item

  Configure label from different class
Posted by: storzo - Aug-16-2019, 10:44 PM - Forum: GUI - Replies (1)

Hi I stack, i can't change image in config via main class:

[python]
class SETUP:

def __init__(self, root):
self.root = root
..... More

Print this item

  Matplotlib : linewidth parameters
Posted by: Zopost - Aug-16-2019, 07:07 PM - Forum: General Coding Help - No Replies

Dear community,

This subject as already been asked on the net but in my case my problem seems to be slightly different. I'm trying to draw a line u..... More

Print this item

  hardest week yet: some guidence please
Posted by: raymond2688 - Aug-16-2019, 05:40 PM - Forum: Homework - Replies (25)

Here is the order of my assignment

Step 1
The objective of this program is simply to open a file, read each line and display it. Your prog..... More

Print this item

  python 3 and python 2 pips not working in windows
Posted by: gtx - Aug-16-2019, 03:27 PM - Forum: General Coding Help - Replies (5)

hello i installed python3 and want in windows that when i type python3 it calls python3 and just python it calls python 2 cause i installed cocos2dx..... More

Print this item

  How to ignore formulas when reading excel file
Posted by: SriMekala - Aug-16-2019, 03:14 PM - Forum: General Coding Help - Replies (3)

Hi,
I am reading an excel file which has formulas in a few columns names. When read using pd.read_ecel, the column names are becoming 0, 0.1, 0.2 etc..... More

Print this item

  connect 4 unknown erroer
Posted by: Help_me_Please - Aug-16-2019, 10:27 AM - Forum: General Coding Help - Replies (6)

This is the start of a 4 in a row game / connect 4. I am experiencing the error:

line 10, in is_valid_location
if board[bottom_row][column] ==..... More

Print this item

  compare output with dict
Posted by: anna - Aug-16-2019, 09:16 AM - Forum: General Coding Help - No Replies

Hi All,

I am parsing router configuration, however how can i match dict values with output and print/add matched line in dict.

[python]from cisc..... More

Print this item

  Byte string catenation inefficient in 3.7?
Posted by: RMJFlack - Aug-16-2019, 07:32 AM - Forum: General Coding Help - Replies (13)

I'm noticing something odd with byte string catenation versus text string.
Im building a bmp file. The core code is (ignoring row padding and heade..... More

Print this item

  Python-Ldap
Posted by: amitsamanta - Aug-16-2019, 05:12 AM - Forum: News and Discussions - Replies (1)

Hi,

First of all i am writing a code in python for connecting LDAP and authenticate user who will be login in.
i was importing ldap
but now i fo..... More

Print this item

  valueError: expected 2d, got 1d instead
Posted by: brkolvr - Aug-16-2019, 01:50 AM - Forum: Data Science - Replies (1)

Googling this problem it only seems to come up when using a classifier, though I'm trying to normalise a column, and it seems to need a 2d array, but ..... More

Print this item

  Printing class results returns 'none'
Posted by: Lawr3y - Aug-16-2019, 12:20 AM - Forum: Game Development - Replies (5)

Hi, I've recently got into learning the Python language using Python 3.7.
I'm using the base of a text rpg to sort of learn the ropes of Python since ..... More

Print this item

  incremental testing in all()
Posted by: Skaperen - Aug-15-2019, 11:47 PM - Forum: General Coding Help - Replies (11)

i have a huge list that i want to test that everything is an expected type. i could test it like this:[python] if all(isinstance(x,types) for x in..... More

Print this item

  why it's not printing?
Posted by: nickto21 - Aug-15-2019, 10:59 PM - Forum: General Coding Help - Replies (3)

Hey all,
Im working through "The Self-taught programmer" by Cory Althoff.
I'm doing the exercises at the end of chapter 2, and i'm having two diff..... More

Print this item

  from datetime import *
Posted by: drnshaw - Aug-15-2019, 09:10 PM - Forum: General Coding Help - Replies (2)

I'm using PyCharm Community 2019.1.4 (July 2019) and Python version 3.7.4, July 8, 2019.
My system is has 32GB RAM and an i9900 CPU running Windows 1..... More

Print this item

  write to txt file one line
Posted by: antmar904 - Aug-15-2019, 07:06 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a txt file that contains 100 ip addresses with one on each line.

Exp of txt file:

1.1.1.1
12.43.123.123
154.4.1.1
3.3.3.3

I..... More

Print this item

  Byte array is sorted when sending via USB
Posted by: daviddlc68 - Aug-15-2019, 06:53 PM - Forum: General Coding Help - Replies (1)

I'm new to the forum and new to Python as well

I'm using Python 3.7.0 and Pywinusb 0.4.2 to send raw data to an HID device.

[python]
import pyw..... More

Print this item

  A talk to watch
Posted by: snippsat - Aug-15-2019, 06:44 PM - Forum: Bar - Replies (2)

Can recommend to watch this one Discovering Python one of the best talk given in my option.
I ..... More

Print this item

  line replacement help
Posted by: mdalireza - Aug-15-2019, 05:22 PM - Forum: General Coding Help - Replies (8)

Hi,
I have wrote and trying to implement the code. I want to replace the whole lline containing anything like mov9, inp9 etc.
[python]
filename = 'myf..... More

Print this item

  How to decrypt Blowfish-encrypted text encrypted with Perl's Crypt::CBC?
Posted by: swechsler - Aug-15-2019, 05:18 PM - Forum: General Coding Help - No Replies

I've been a Perl writer for 20 years, and I'm just getting started with Python. I have a text file with some fields that were encrypted using Perl's C..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 2 hours ago bimosora bimosora General Codin...
  print does not open conso... 10 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium Yesterday, 08:57 glestwid Larz60+ General Codin...
  Fred Economic Data API 10-02, 15:05 warrior42 Trickety Web Scraping ...
  Parse Markdown / get the ... 10-02, 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... 577493
  Tutorial Requ... 501453
  Web Scraping ... 441112
  Newbie with P... 385164
  New Users Int... 369963
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday
DataAnalytics021 Yesterday

User Panel Messages

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