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 38 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Google, AOL, Mojeek, Applebot

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

 
  versions ending with .0
Posted by: Skaperen - Jun-05-2019, 02:15 AM - Forum: News and Discussions - Replies (2)

are Python version numbers ending with .0 equivalent to the same version with the .0 removed? such as [u]3.7.0 is 3.7[/..... More

Print this item

  bytearray (and bytes) in Python2
Posted by: Skaperen - Jun-05-2019, 12:27 AM - Forum: News and Discussions - Replies (3)

i read in a couple places that bytearray is not available in Python 2. my Python 2.7.12 in Ubuntu 16.04.6 does have bytearray. was thi..... More

Print this item

  is it possible to use python to read and write from a jsx file?
Posted by: nadavrock - Jun-05-2019, 12:15 AM - Forum: General Coding Help - Replies (3)

i have extend script java script document i want to write into using python. but it didnt work. does it only work with txt files?

Print this item

  remove tags from BeautifulSoup result
Posted by: moski - Jun-04-2019, 09:18 PM - Forum: General Coding Help - Replies (1)

Please, I am just learning:
Can anyone tell me how I can remove the tags in the below output(Result) and get my answer in an array like
Address = [a..... More

Print this item

  elevator simulator...whats the wrong at this code?
Posted by: tasos710 - Jun-04-2019, 08:36 PM - Forum: General Coding Help - Replies (5)

[python]import random

class Lift(object):
def _init_(self,floors,passengers_in,direction ="up",cur_floor=1):
self.total_floors = flo..... More

Print this item

  What is the best book for in-depth Python for advanced other-language programmers?
Posted by: user118967 - Jun-04-2019, 06:55 PM - Forum: News and Discussions - Replies (1)

Hi. I would like to receive suggestions for Python learning materials for people who are already advanced programmers in languages such as Java or C++..... More

Print this item

  Two dataframes merged
Posted by: Ecniv - Jun-04-2019, 06:46 PM - Forum: Data Science - Replies (10)

Situation:
Learning Pandas, using Nederlands OV CHipkaart data (mine) for a month to test pandas and practice
Currently can read the file into a dat..... More

Print this item

  Understanding Class Variables
Posted by: vindo - Jun-04-2019, 06:29 PM - Forum: General Coding Help - Replies (9)

Hi,
I am a newbeee to python and had a prior java knowledge.
So, while learning python object oriented concepts, i am trying to relate to java (kind..... More

Print this item

  ATM Tracking Issue
Posted by: Zsapp01 - Jun-04-2019, 06:04 PM - Forum: General Coding Help - Replies (1)

Hello, I am trying to make an Atm where you scan an RFID card and then you type in a pin number and it opens the atm. Right now I have it where the AT..... More

Print this item

  Creating Python GUI applications with PyQt5
Posted by: mfitzp - Jun-04-2019, 05:32 PM - Forum: Tutorial Requests and Submissions - No Replies

I've been using PyQt5 for about 8 years and have written a number of tutorials on various things. This month I finally moved them all onto a single si..... More

Print this item

  3D Stacked bar on Map
Posted by: ZairaRosas - Jun-04-2019, 05:15 PM - Forum: General Coding Help - No Replies

I have a big problem and I would appreciate your help so much.
The thing is that I've been trying to do the map on the attached video with free resou..... More

Print this item

  ValueError: invalid rectstyle object
Posted by: fen1c5 - Jun-04-2019, 04:16 PM - Forum: General Coding Help - Replies (1)

Hi everyone, I have a problem.
First of one I'm using the python 3.7 version
I'm learning to use the pygame library; Well I have done this test prog..... More

Print this item

  web3 method
Posted by: rembrandt - Jun-04-2019, 03:27 PM - Forum: General Coding Help - Replies (3)

installed web3 api and cannot get it recognized.

from web3 import Web3
nonce = web3.eth.getTransactionCount(acct1)
[b]error = in..... More

Print this item

  generator function that yield from a list
Posted by: buran - Jun-04-2019, 01:58 PM - Forum: General Coding Help - Replies (9)

Let's say we have a string lie this 'a b c' (simplified example)
so we can do
[python]spam = 'a b c'
for ch in spam.split(' '):
..... More

Print this item

  sensor code that starts heater
Posted by: chano - Jun-04-2019, 01:57 PM - Forum: General Coding Help - Replies (3)

Hello,
i want to start the heater with the sensor, when the temperature is 0 dеgrees the heater start when the temperature becomes +3 degree heater st..... More

Print this item

  Predicting an output variable with sklearn
Posted by: Ccross1 - Jun-04-2019, 01:36 PM - Forum: Data Science - Replies (1)

*Disclaimer: I am new to this forum so I apologize if I am posting this in a way that does not conform to the best practices. This is a relatively gen..... More

Print this item

  Creating a new DataFrame from another DataFrame column
Posted by: Ilangos - Jun-04-2019, 11:24 AM - Forum: General Coding Help - Replies (1)

Hi All,

I'm newbie to python. I've a task to automate wherein I have to create separate excel files based on the RTO code available in an excel sh..... More

Print this item

  pyPDF2 nautilus columns modification
Posted by: AJBek - Jun-04-2019, 09:15 AM - Forum: General Coding Help - Replies (1)

Hi there, I am a recent convert to Linux and really enjoying it so far but I have come across a really annoying problem that is preventing me from mov..... More

Print this item

  google webscraper
Posted by: kirito85 - Jun-04-2019, 08:49 AM - Forum: Data Science - Replies (12)

Hi all,

I have a problem when using the code for webscraping. Appreciate any help please.

I get an error:
[error]
----------------------------..... More

Print this item

  website development
Posted by: masoud_da - Jun-04-2019, 08:05 AM - Forum: Web Scraping & Web Development - Replies (9)

hi dear guys
hope u be fine all.
im intending to develop a website for my business by python.i have a google site as [REMOVED BY MOD] but i want to ha..... More

Print this item

  How to create python API for face_recognition
Posted by: murali_datascience - Jun-04-2019, 06:43 AM - Forum: Data Science - No Replies

Hi,
I am using python 3.6.I have created a face recognition model using Anaconda python and want to create a API service using Flask or any API ..... More

Print this item

  Select of connections
Posted by: Gupi - Jun-04-2019, 05:01 AM - Forum: Networking - Replies (1)

Hello there.
I'd like to get some help to understand the basics of socket's work

The conditions are next:
1) server keeps 2 client connections ma..... More

Print this item

  Date format issue
Posted by: the_dude - Jun-04-2019, 03:05 AM - Forum: General Coding Help - Replies (11)

Hi All,

My apologies in advance if my code is sloppy, just getting back into programming from a LONG break.

I'm having some trouble with datetime.st..... More

Print this item

  New to Python. Need help!!!
Posted by: hoangthai10788 - Jun-03-2019, 11:40 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

My name is Thai and I am new to Python. I have a question and really need your help so that I can have a better understanding about..... More

Print this item

  Importing randon error
Posted by: bharat_s579 - Jun-03-2019, 09:16 PM - Forum: General Coding Help - Replies (1)

Am trying to generate 2 random lists using below code

[python]
import random
a = random.randint(range(1,10))
b = random.randint(range(1,15))
c..... More

Print this item

  Error in compiling cython extension on Python 3.6.4 on Windows 8
Posted by: goldenmean - Jun-03-2019, 08:23 PM - Forum: General Coding Help - Replies (3)

I am learning to use Cython from here

I h..... More

Print this item

  New and raring to go just need some direction
Posted by: Lee23 - Jun-03-2019, 05:41 PM - Forum: News and Discussions - Replies (1)

Hello,

I have completed a new & beginner course and have done some small programs mainly converting some size calculations that I previously had in..... More

Print this item

  Preventing: IndexError: list index out of range
Posted by: PappaBear - Jun-03-2019, 04:57 PM - Forum: General Coding Help - Replies (1)

I understand how to use a for loop with range(len(list)) to be able to cycle through and address each item in a list.
However (and in my case a dir..... More

Print this item

  output limited
Posted by: loren41 - Jun-03-2019, 04:28 PM - Forum: Data Science - Replies (3)

Running Python 2.7 and Pandas.
Editor is Sublime Text.
Wrote a program to display two columns from a large csv file. The output seems correct, but tr..... More

Print this item

  Installing FPDF
Posted by: Batman - Jun-03-2019, 03:32 PM - Forum: General Coding Help - Replies (3)

I have downloaded the FPDF package zip file but have no idea how to install it. I was hoping there would be an install program with it. Has anyone d..... More

Print this item

  Help with filtering in Python
Posted by: Junes786 - Jun-03-2019, 02:19 PM - Forum: General Coding Help - Replies (2)

Hi, i am new to python and trying to learn a new language.

I am attempting to filter some output, but can't get my head around the syntax.

[pyth..... More

Print this item

  if cond1 or cond2 or ...condN is not True
Posted by: asheru93 - Jun-03-2019, 01:41 PM - Forum: General Coding Help - Replies (4)

Hello,

Here is the code and the question:

[python]
t1 = addProduct1()
t2 = addProduct2()
...
t25 = addProduct25()

if t1 or t2 or ... t25..... More

Print this item

  Question on Tuple
Posted by: SamGer - Jun-03-2019, 12:55 PM - Forum: General Coding Help - Replies (2)

Hello Users,

I have my desired Tuple (see below) using the code mentioned. But I was wondering if there is any other clean way to obtain the same O..... More

Print this item

  How to iterate over the pandas rows
Posted by: SriMekala - Jun-03-2019, 12:54 PM - Forum: General Coding Help - Replies (3)

Hi,
I want to iterate through the "Pandas DataFrame" rows and while the "last_day <=day_set".

Condition1: Iterate over the rows of the first column. ..... More

Print this item

  [split] Using beautiful soup to get html attribute value
Posted by: moski - Jun-03-2019, 11:07 AM - Forum: Web Scraping & Web Development - Replies (6)

[python]# I want to get <h2>, 'Official website' and 'Address' from this website as a dataFrame using BeautifulSoup
# I see the items 14 of them on t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 8 minutes ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 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... 501043
  Web Scraping ... 441079
  Newbie with P... 385147
  New Users Int... 369748
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 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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