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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,570

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 5
» Views: 143
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,032
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 445
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,078
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,141
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 811
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,096
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,544
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,131
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,590

 
  how calculate length of detected line in image openCV Numpy
Posted by: taomihiranga - Jun-11-2019, 04:01 PM - Forum: Web Scraping & Web Development - No Replies

I coding for detect lines in simple blueprint image and calculate full length of detected lines
i coded using opencv detect lines in image.
..... More

Print this item

  reversing strings
Posted by: westbob - Jun-11-2019, 03:53 PM - Forum: Homework - Replies (4)

hey this question isn't included in my homework but python is a part of my class so i hope it falls under this context but:
on my laptop i use pthon v..... More

Print this item

  How to collect all integers with minimum number of rounds?
Posted by: meknowsnothing - Jun-11-2019, 03:23 PM - Forum: Homework - Replies (6)

What kind of algorithm wold solve the following problem?

I have been given a positive integer n. Take the n first positive integers 1 to n and perm..... More

Print this item

  assignment help
Posted by: sammmy - Jun-11-2019, 03:05 PM - Forum: Homework - Replies (4)

HELLO THERE !
I need help with an "assignment ". Don´t worry it Angel has nothing to do with homeworks , certeficates , etc .
I am doing it o..... More

Print this item

  Roguelike Tutorial Series
Posted by: nilamo - Jun-11-2019, 03:05 PM - Forum: News and Discussions - No Replies

https://www.reddit.com/r/roguelikedev/co..._tutorial/
https://www.reddit.com/r/roguelikedev/commen..... More

Print this item

  Excel Like Web Application using Python
Posted by: ravsha85 - Jun-11-2019, 12:51 PM - Forum: Web Scraping & Web Development - Replies (1)

I am new to Python, I would like to start with creating a Web application which pulls data from Sql Server table and the web application should have a..... More

Print this item

  Outputting results into other program
Posted by: ancient650 - Jun-11-2019, 12:41 PM - Forum: General Coding Help - Replies (1)

Hey everyone

I am helping my friend run a Minecraft server. One of the plugins he has requires us to visit every point on the map. I am wondering i..... More

Print this item

  String variables in Tkinter
Posted by: rturus - Jun-11-2019, 12:28 PM - Forum: GUI - Replies (2)

Hi,

I have string variable called park. I cannot see the value of the 'park' with following label in Tkinter:

[python]lab=Label(mg,text=('Where: %.s..... More

Print this item

  Multiple entries into a csv file
Posted by: SatansClaw - Jun-11-2019, 10:24 AM - Forum: General Coding Help - Replies (1)

The following code allows me to add only 2 sets of data to the csv file. The second bit of code continually overwrites the last 3 entries that I make...... More

Print this item

  Create new list from another list based on condition
Posted by: khalidreemy - Jun-11-2019, 10:18 AM - Forum: General Coding Help - Replies (1)

Hello
I have two lists X and Y as follows:

X = ['A','B','C','D','E']
Y = [ 1 , 0 , 1 , 1 , 0 ]
Here I need to create a new list Z t..... More

Print this item

  main def function
Posted by: puertas12 - Jun-11-2019, 09:13 AM - Forum: General Coding Help - Replies (1)

Dear all,

I am new in Python.

I am puzzled on how to read the following script:

[python]#!/usr/bin/env python
"""
get_exel_report.py

Wi..... More

Print this item

  Application Run Error - No module named formencode
Posted by: Sable - Jun-11-2019, 07:50 AM - Forum: General Coding Help - No Replies

Hi,

I am using python 2.6.5. I built an exe file using py2exe.
When trying to run the .exe file, I get this error message in the log file:

Trac..... More

Print this item

  Excel formula in python using Openpyxl
Posted by: shernel - Jun-11-2019, 06:24 AM - Forum: Homework - No Replies

I have a list of data in .xlsx The data is in column W

the data includes 1. ACCEPTABLE 2. UNACCEPTABLE

I want to count the number of ACCEPTABLE ..... More

Print this item

  renaming the file in a suitable format, I just wondering if it is possible
Posted by: go127a - Jun-11-2019, 06:00 AM - Forum: General Coding Help - Replies (11)

I have a list of file which I have gathered them in time order, I should change the file name (just name) in order of the time.
The name changing pro..... More

Print this item

  Tracing a multiplication table w/ Python trace()
Posted by: NationalRex22 - Jun-11-2019, 03:31 AM - Forum: General Coding Help - No Replies

I'm interested in understanding how to implement Python's trace module to follow the execution of a multiplication table and print its annotated resul..... More

Print this item

  Code works in IDLE, appears to work in CMD, but won't produce files in CMD/Windows
Posted by: ChrisPy33 - Jun-11-2019, 02:30 AM - Forum: General Coding Help - Replies (3)

So, first, here is the code:

[python]#!python3 C:\Users\Chris\AppData\Local\Programs\Python\Python37-32
import csv
import os
import time
import..... More

Print this item

  multiple versions of Python
Posted by: Skaperen - Jun-11-2019, 01:20 AM - Forum: News and Discussions - Replies (6)

when i compile a different version of Python from source and try to install it, will i try to replace any file of the existing version? or wil..... More

Print this item

  Is it OK to use a context manager to simplify attribute access?
Posted by: nholtz - Jun-11-2019, 01:19 AM - Forum: General Coding Help - No Replies

In a Jupyter notebook, I have 5 or 10 line fragments performing some relatively simple arithmetic. The purpose of the notebook is to teach engineerin..... More

Print this item

  Reading mixed ASCII/binary serial input
Posted by: N8UR - Jun-10-2019, 09:22 PM - Forum: General Coding Help - Replies (1)

I am trying to read serial data from a device that outputs in a mix of ASCII and binary, using Python 3.

The message format is: "$PASHR,<msg type>,<..... More

Print this item

  Using VBA to Call a Python script causes error in pyodbc connector
Posted by: pcarra - Jun-10-2019, 08:54 PM - Forum: General Coding Help - Replies (1)

Hello, I am using vba to call a python script that gets information from a Jira API and uses pyodbc to update an Access database. Everything works fi..... More

Print this item

  How to dynamically define a ToolBar?
Posted by: Denni - Jun-10-2019, 08:23 PM - Forum: GUI - Replies (4)

(Python 3.7 / pyqt5) I know how to set up a toolbar based on the menu but I am trying to make the toolbar adjustable by the user which means I will ha..... More

Print this item

  ThreadPoolExecutor read file to list
Posted by: DaLiPy - Jun-10-2019, 07:59 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm trying to create a multithreaded file read. Which has to read multiple files to different lists which further in the code will have to be h..... More

Print this item

  user validation for opening urls
Posted by: Ashley - Jun-10-2019, 07:19 PM - Forum: General Coding Help - Replies (6)

HI All,

I' mlearning python and writing few programs to automate my testing. I am trying to do url validation based on what user has entered.If use..... More

Print this item

  When I click on python forum. I get this.
Posted by: Windspar - Jun-10-2019, 05:53 PM - Forum: Board - Replies (11)

[Image: Screenshot-2019-06-10-https-python-forum-io.png]

Print this item

  Problems Using XBRL Module
Posted by: IanI - Jun-10-2019, 05:20 PM - Forum: General Coding Help - Replies (1)

I've tried to download the XBRL module using pip install. The module appears to be present vie the path C:\Program Files\Python36\Lib\site-packages. H..... More

Print this item

  Having two inputs to escape a while loop.
Posted by: Leo_Tovell - Jun-10-2019, 05:14 PM - Forum: Homework - Replies (4)

For homework, ive been set a task to create a program which repeatedly asks the user if they need help. The question is asked over and over until the ..... More

Print this item

  python 3.8 and positional arguments
Posted by: vojo - Jun-10-2019, 03:12 PM - Forum: General Coding Help - Replies (4)

saw the plans for 3.8. Trying to understand how these 2 functions would be handled

def pos_key (pos only * pos or key / key only):
blah blah..... More

Print this item

  TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Posted by: rajeev1729 - Jun-10-2019, 02:07 PM - Forum: General Coding Help - Replies (1)

[python]import cv2
import numpy as np
import pytesseract
from PIL import Image
from pytesseract import image_to_string

# Path of working folder..... More

Print this item

  OPENPYXL
Posted by: shernel - Jun-10-2019, 01:19 PM - Forum: General Coding Help - Replies (1)

I have a list of data in .xlsx The data is in column W

the data includes 1. ACCEPTABLE 2. UNACCEPTABLE

I want to count the number of ACCEPTABLE ..... More

Print this item

  how to parse binary frames?
Posted by: elmg - Jun-10-2019, 01:18 PM - Forum: General Coding Help - Replies (1)

Hello, i want to parse binary frames from a file "file.bin" and then extract some infornation. How can I do that?

Print this item

  psycopg2 insert error
Posted by: Wonder_women - Jun-10-2019, 11:56 AM - Forum: General Coding Help - No Replies

Hey im new to python and i have this error using python3 and psycopg2:
data gives :
[python]{'sensor_id': ['sensor3', 'sensor4'], 'end_ts': 2345, '..... More

Print this item

  python Calculation error: 39.8-0.1=39.699999999999996
Posted by: wei - Jun-10-2019, 10:08 AM - Forum: General Coding Help - Replies (2)

this is windows system
and execute in DOS command

39.8-0.1=39.699999999999996


[img]https://img2018.cnblogs.com/blog/924618/201906/924618-201..... More

Print this item

  Use Python Packages to Increment a Column(not a row)
Posted by: ricmacharia - Jun-10-2019, 09:57 AM - Forum: Data Science - No Replies

I have the below data that l would like to process, can anyone help with the python code for it?
I just want to increment every column with 100.
Pr..... More

Print this item

  Mysql returning number of rows not data
Posted by: AkaAndrew123 - Jun-10-2019, 09:30 AM - Forum: General Coding Help - Replies (4)

Really odd thing today, when I query a mysql database I am getting the number of rows returned rather that the column data !

[python]
#!/usr/bin/p..... More

Print this item

  error message on program launch
Posted by: DJPY1175 - Jun-10-2019, 08:40 AM - Forum: General Coding Help - No Replies

I have installed both Python and PyCharm on my Windows 7, 64Bit laptop, but I get the same error message when I try and open either of them. Any ideas..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 5 hours ago SpongeB0B Pedroski55 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...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577451
  Tutorial Requ... 501089
  Web Scraping ... 441079
  Newbie with P... 385152
  New Users Int... 369764
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
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday
silversimon2 09-30

User Panel Messages

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