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 48 online users.
» 0 Member(s) | 44 Guest(s)
Bing, Google, AOL, AOL

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: bimosora
1 hour ago
» Replies: 3
» Views: 116
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
9 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,055
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,102
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: 858

 
  Python built-ins: when and why should I use them?
Posted by: DrProfessor85 - Aug-29-2019, 11:22 PM - Forum: News and Discussions - Replies (4)

Hello!

I've googled then googled some more, but I still can't seem to find an explanation of when and why I should be using certain built-ins in P..... More

Print this item

  can itertools compact a list removing all of some value?
Posted by: Skaperen - Aug-29-2019, 10:30 PM - Forum: General Coding Help - Replies (6)

i have a huge list (approaching a billion items) which is mostly strings and/or numbers, but there are a lot of None values in there,..... More

Print this item

  Noob. Importing Help.
Posted by: Techigamer - Aug-29-2019, 08:07 PM - Forum: General Coding Help - No Replies

Hi,

I am currently using Python 3.3.0 based on a restriction, and as a result, I have been attempting to install packages with no success. More speci..... More

Print this item

  Help with options
Posted by: raiden - Aug-29-2019, 08:05 PM - Forum: General Coding Help - Replies (1)

Hello, Im new to python programing. I wrote the folowing program last night.
It just gets basic user information and writes it to a text file.
My ques..... More

Print this item

  Errors to get information of multiple files into a single file csv
Posted by: Clnprof - Aug-29-2019, 07:35 PM - Forum: General Coding Help - Replies (3)

I'm trying to get information from several files (in this order: 1.bateaulecalife.csv (https://imgur.com/a/831o2s3 - 201 lines), 2.boutary (https://im..... More

Print this item

  Basic if/then help (I'm sorry)
Posted by: racichb - Aug-29-2019, 07:17 PM - Forum: General Coding Help - Replies (4)

Basic question from a complete noob. I'm sorry.

Testing if statement and for loops. Populating a list, creating an empty list, finding some values ..... More

Print this item

  created a pandas series instead of pandas DataFrame
Posted by: ibaad1406 - Aug-29-2019, 06:03 PM - Forum: Data Science - Replies (6)

i created a pandas DataFrame for GPS satellite from a text file and i wanted to create a single DataFrame for distinct satellite, all goes as per my e..... More


Attached Files

.txt   ABMF00GLP_R_20190201400_01H_GN.txt (Size: 27.69 KB / Downloads: 0)
Print this item

  How to bind an event when enter is pressed on a Entry control?
Posted by: Michael4 - Aug-29-2019, 06:00 PM - Forum: GUI - Replies (4)

Hello everyone! I am a newbie to Python. I'd like to create a program that runs using Tkinter, but my code doesn't work correctly, unluckily. Could yo..... More

Print this item

  save in CSV and plotting in real time
Posted by: linkxxx - Aug-29-2019, 05:04 PM - Forum: General Coding Help - Replies (8)

[python]
import serial # import Serial Library
import numpy as np # Impor..... More

Print this item

  Object Handles across QThread Boundaries
Posted by: Denni - Aug-29-2019, 04:15 PM - Forum: GUI - No Replies

First I am specifically using: Python 3.7, pyqt5, QThread

I know I can do this because I have done it without the program crashing but I am wonderi..... More

Print this item

  Reverse order of phrase Error
Posted by: ilondire05 - Aug-29-2019, 03:42 PM - Forum: General Coding Help - Replies (4)

[python]phrase = input("Enter a phrase")
rev_phrase = reversed(phrase)
i = len(phrase)
while i >= 0:
if phrase[i] != rev_phrase[i]
pr..... More

Print this item

  How to trigger python script twice a day
Posted by: SriMekala - Aug-29-2019, 03:17 PM - Forum: General Coding Help - Replies (1)

Hi,
I want to trigger my python program every day at 8 am & 11 pm. I try to test this using below code, but the program did work well.

[python]imp..... More

Print this item

  Modify a dictionary
Posted by: NathanF - Aug-29-2019, 03:05 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I'm new to coding and currently self-taught using online books. I am creating a dictionary with 30 aliens all the same, then modify..... More

Print this item

  Post JSON from python to PHP don't give expected result
Posted by: pgagnebin - Aug-29-2019, 02:43 PM - Forum: General Coding Help - Replies (1)

Hello.
I need to send JSON data from python to PHP.
Python and PHP are located on different servers.
I test with this python code :
[python]
impo..... More

Print this item

  Scrap a value from website
Posted by: harsush - Aug-29-2019, 12:43 PM - Forum: Web Scraping & Web Development - Replies (1)

Iam trying scrap trade date value -- below is what i have written, but not getting the value. Can someone help on this.

[python]
#!/usr/bin/env py..... More

Print this item

  Error when running the second time
Posted by: metro17 - Aug-29-2019, 10:28 AM - Forum: General Coding Help - Replies (3)

def check_id():
while True:
userid = input("Please enter your ID: ")
if len(userid) == 8 and ' 'not in userid and userid[0:2].i..... More

Print this item

  Read 2 temperatures in Real Time from Arduino
Posted by: linkxxx - Aug-29-2019, 10:25 AM - Forum: General Coding Help - No Replies

Guys sorry if I'm disturbing again, but I am not able to find the errors on my code, how you can see in the picture attached I'm able to show the temp..... More

Print this item

  TypeError: 'int' object is not callable
Posted by: hakan - Aug-29-2019, 09:49 AM - Forum: General Coding Help - Replies (3)

Hello everybody, I just wrote this code to calculate Factorial using python 3.6 on Microsoft azure jupyter notebook. it's works fine for the first tim..... More

Print this item

  VS-Code or PyCharm Vs IDLE For Python Coding
Posted by: adt - Aug-29-2019, 06:23 AM - Forum: News and Discussions - Replies (14)

Python installation includes IDLE as its own IDE.

Across the web, a marked preference is observed for alternative IDE's
like Visual Studio Code or..... More

Print this item

  Hakkerank problem I can't solve
Posted by: ayo - Aug-29-2019, 05:04 AM - Forum: General Coding Help - Replies (1)

I attempted a python task on Hackerrank, but my code seems to have a problem I can't fix. The first input is for the number of students, the second se..... More

Print this item

  best way to build as string from pieces
Posted by: Skaperen - Aug-29-2019, 12:49 AM - Forum: News and Discussions - Replies (1)

i'm building a string from pieces being appended. this does not fit into formatting or f-strings because they are maybe added according to an if cond..... More

Print this item

  I cannot understand aliases, apparently
Posted by: Mustey - Aug-29-2019, 12:09 AM - Forum: General Coding Help - Replies (7)

I guess the quickest way is to show you my interaction:
>>> a = 3
>>> b = a
>>> a is b
True
>>> a = 4
>>> print (b)
3

a) What I thought: by ..... More

Print this item

  asyncio encode and decode, how good are they?
Posted by: CoderOne - Aug-28-2019, 11:54 PM - Forum: General Coding Help - Replies (2)

Am I correct in thinking that asyncio encode and decode are good for security? I can't find any information in the docs or even Google. Does anyone kn..... More

Print this item

  Appending a list in a class from a callback function
Posted by: snizbatch - Aug-28-2019, 10:02 PM - Forum: General Coding Help - Replies (5)

Hi all,
This is my first post. Usually I can search out answers to my problems but today I'm having a bit of difficulty finding what I'm doing wron..... More

Print this item

  How ad key unlocker program to code?
Posted by: storzo - Aug-28-2019, 09:22 PM - Forum: General Coding Help - Replies (8)

Hi!

I need to secure my program with key. I don't have idea how to do that with what modules or lib. But i know how could be work:

1st steep: us..... More

Print this item

  Newbie help with input
Posted by: LouK - Aug-28-2019, 09:10 PM - Forum: General Coding Help - Replies (9)

I just started into Python today and got a lot working in a few hours. But this has me stumped.

I copy and paste (no typos) these two lines from a ..... More

Print this item

  Downloading emails issue
Posted by: graham23s - Aug-28-2019, 07:27 PM - Forum: Networking - No Replies

Hi Guys,

This is a strange issue i thought i would have no issues with, i'm downloading emails from my account in Python using poplib library...... More

Print this item

  A mail scraper for sorting emails into categories
Posted by: anata2047 - Aug-28-2019, 06:30 PM - Forum: General Coding Help - Replies (1)

Hi,
I would like to refresh my python knowledge by writing a simple python program which could sort gmail emails by keywords in heading and/or by sen..... More

Print this item

  Create mvc ( web framework )
Posted by: JohnnyCoffee - Aug-28-2019, 05:43 PM - Forum: Web Scraping & Web Development - Replies (2)

I would like to learn how to develop a simple web framework (mvc) where I can get some material to study how to structure?

Print this item

  How to add date to zip filename?
Posted by: barry - Aug-28-2019, 05:25 PM - Forum: General Coding Help - Replies (1)

I have made a Python script to zip a file, but would like to add the current date to the filename. Is this possible to add?

[python]import shutil
..... More

Print this item

  Real time graph of the temperatures and storage
Posted by: linkxxx - Aug-28-2019, 05:18 PM - Forum: General Coding Help - Replies (3)

[python]
import serial # import Serial Library
import numpy as np # Import numpy
import adafruit_max31..... More

Print this item

  Sub: Python-3: Better Avoid Naming A Variable As list ?
Posted by: adt - Aug-28-2019, 05:03 PM - Forum: General Coding Help - Replies (9)

While examining various alternatives for extracting dictionary content into a list, it is seen that in some of the web sites, list itself gets used as..... More

Print this item

  how to seperate words from string
Posted by: zarize - Aug-28-2019, 04:55 PM - Forum: General Coding Help - Replies (2)

hi guys

i am learning scrapping on few different types of sites and i cannot figure it out how to get only 1 word from a string

[python]from bs4 imp..... More

Print this item

  MAWS.py PRGM:IndexError: list index out of range
Posted by: bcramer - Aug-28-2019, 04:45 PM - Forum: General Coding Help - No Replies

I want to use a program called MAWS written in python in the year 2015, which in short,is used to predict aptamers (nucleotides) based on a molecular ..... More

Print this item

  A file for every person of a list
Posted by: Emmanouil - Aug-28-2019, 04:15 PM - Forum: General Coding Help - Replies (3)

Hello, I have the code below that finds a person(LookFor=) from a dialogue file and creates for him a new file with his name and the words he have sai..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 1 hour ago bimosora bimosora General Codin...
  print does not open conso... 9 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... 501444
  Web Scraping ... 441111
  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