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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,892

Full Statistics

Online Users
There are currently 374 online users.
» 1 Member(s) | 369 Guest(s)
Bing, Apple, Google, kshahzad1985

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
1 hour ago
» Replies: 1
» Views: 24
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
9 hours ago
» Replies: 3
» Views: 118
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
9 hours ago
» Replies: 2
» Views: 85
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Today, 04:40 AM
» Replies: 6
» Views: 3,189
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 252
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 139
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 95
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,529
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 182
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 85

 
  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

  Openpxl
Posted by: shernel - Jun-10-2019, 08:23 AM - Forum: General Coding Help - No Replies

The column I want perform the addition is in "V" The excel sheet layout would be similar but the row length would always change therefore I want the f..... More

Print this item

  [split] how can i join to your chat channel(#python-forum) in irc.freenode?
Posted by: masoud_da - Jun-10-2019, 07:04 AM - Forum: Board - Replies (2)

hi dears
can u tell me how can i join to your chat channel(#python-forum) in irc.freenode.net?shall i install mirc on my pc and register as a user by..... More

Print this item

  [pygame] transparent rects
Posted by: SheeppOSU - Jun-10-2019, 04:51 AM - Forum: Game Development - Replies (2)

I made a block rectangle that is supposed to slowly go from 255 transparency to 0. I am having problems though. I don't understand this because I can ..... More

Print this item

  webscrapping lists to dataframe
Posted by: kirito85 - Jun-10-2019, 02:31 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi i am doing some webscrapping and is stuck at the follow codes below:

For some reason the record_lost is not inserted into the dataframe. Unable ..... More

Print this item

  how to move between text entries using the keyboard?
Posted by: nadavrock - Jun-09-2019, 10:43 PM - Forum: GUI - Replies (1)

i have a gui with text entries being assigned to variables and then written into files. but right now i have to go each time with my moust to the next..... More

Print this item

  Need help setting up a PySimpleGUI progress bar that I can maually update in script
Posted by: Soundtechscott - Jun-09-2019, 10:35 PM - Forum: GUI - Replies (1)

I am looking for a way to use a PYSimpleGUI progress bar... without a loop
I have looked for several days on the internet with no luck to find an exam..... More

Print this item

  python 3 math formulas where to use ()
Posted by: Python101 - Jun-09-2019, 09:41 PM - Forum: General Coding Help - Replies (1)

I am having trouble using math formulas for 3d geometric shapes in python.

for example a tetrahedon:
The formula to find the edge is:
a = √2 (3v)^1/3..... More

Print this item

  How to Read Binary Data
Posted by: pyth0nus3r - Jun-09-2019, 08:12 PM - Forum: General Coding Help - Replies (1)

So I have a file that contains binary data such as "0100100001100101011011000110110001101111000000010000001000000011".

So far I have written the fo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 1 hour ago matt Gribouillis News and Disc...
  My regex function is not ... 9 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 9 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python Today, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579374
  Tutorial Requ... 512376
  Web Scraping ... 442286
  Newbie with P... 386339
  New Users Int... 380302
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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