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,964
» Latest member: Edzed4431
» Forum threads: 38,729
» Forum posts: 175,542

Full Statistics

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

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 449
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
7 hours ago
» Replies: 4
» Views: 1,980
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,554
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 454
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 909
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 939
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,208
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,823
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,862
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 738

 
  How Right?
Posted by: Cassie - Nov-16-2018, 10:37 AM - Forum: General Coding Help - Replies (3)

Hi everybody, I got a question

variable = dict_.get('var_name') or 'DEFAULT'
dict_ may has key, or not, his value is may e..... More

Print this item

  Python Based Keyword and Stemming
Posted by: jg355187 - Nov-16-2018, 10:05 AM - Forum: Data Science - No Replies

Hello All,

I have python script that pulls out a keyword from the data set. The data set contains 3 columns,
1. SysID 2. ID 3. Comment Section. ..... More

Print this item

  PyBear Youtube Channel
Posted by: aldwinp - Nov-16-2018, 09:51 AM - Forum: Tutorial Requests and Submissions - No Replies

Found some small interesting tutorials about images, pdf's and files, I thought was worth sharing. Very easily and shortly explained small automations..... More

Print this item

  Cannot pip install py-xml module
Posted by: kump - Nov-16-2018, 09:41 AM - Forum: General Coding Help - Replies (3)

I want to use scripts I wrote earlier in a new virtualenv. In one of the scripts I import

import xml.etree.ElementTree as ET
So I n..... More

Print this item

  Django Runserver
Posted by: ayaz786amd - Nov-16-2018, 09:32 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi

I am learning django but python environment setting is complicated. Here is the error when i run server and open 127.0.0.1:8000/admin

Page no..... More

Print this item

  Logic is not working as it should work
Posted by: Harkishan - Nov-16-2018, 09:28 AM - Forum: General Coding Help - Replies (1)

[python]
if ((SPREAD >= 2 and SPREAD < 20) and not Long_On_Spread):
Long_On_Spread = True
print ('Buy Mini - Sell Mega')
..... More

Print this item

  While loop to run a boolean test
Posted by: vicson - Nov-16-2018, 08:33 AM - Forum: Homework - Replies (7)

Hi guys, currently I am doing my assignment. The requirement is to test the format of Student ID. I wonder why is my while loop is not working properl..... More

Print this item

  How to handle None with mysql.connector
Posted by: verb - Nov-16-2018, 07:54 AM - Forum: General Coding Help - Replies (2)

Hello everyone, Can anyone advice how to handle empty string or None when insert data in mysql integer column.
Here is the code i have:

[python]
..... More

Print this item

  another positional argument error (...and executing objects stored in a list)
Posted by: itmustbebunnies - Nov-16-2018, 05:50 AM - Forum: Homework - Replies (7)

Okay, Python gurus - your help solving this issue, please?

I am writing a program that asks a user to make a selection to enter information that is u..... More

Print this item

  Grading tool
Posted by: Stuffed_crust - Nov-16-2018, 02:31 AM - Forum: Homework - Replies (2)

so im trying to complete an assignment and i need to figure out how to get all the grades that are below 60 out of a list of grades the user submits. ..... More

Print this item

  Guess a number game
Posted by: Drone4four - Nov-15-2018, 11:49 PM - Forum: Homework - Replies (4)

I’m trying to write a guessing game where the computer chooses a number between 1 and 100 and it’s up to the user to guess what the number is. It’s pa..... More

Print this item

  Help Me Code This Program
Posted by: NZedMarine - Nov-15-2018, 11:38 PM - Forum: Homework - Replies (1)

How do I ask for an input, save that input into a variable and print that input whenever i want?
(also, how do i loop to another part of a code?). Th..... More

Print this item

  Help, Syntax error on except statement
Posted by: nicklowryy - Nov-15-2018, 10:53 PM - Forum: General Coding Help - Replies (2)

Hi im recently new to python and was coding for my homework and when I tried to run my program it gives me n error on the except statement. im curren..... More

Print this item

  Python handling Apache Request
Posted by: harzsr - Nov-15-2018, 09:51 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

A newbie to Python.

So basically, what I am trying to achieve here is, I have a web server (apache) on raspberry pi zero. Web pages has butt..... More

Print this item

  BrokenPipeError: [Errno 32] Broken pipe
Posted by: Pflaumboy - Nov-15-2018, 09:22 PM - Forum: Networking - Replies (3)

I have a client-server system set up on two Raspberry Pi's on the same network. When I run the echo program below (client sends the server a message, ..... More

Print this item

  Problem with Polish characters in xlsx file
Posted by: Mikser - Nov-15-2018, 08:06 PM - Forum: General Coding Help - Replies (4)

I have got a problem with Polish characters in xlsx file(words do not have Polish letters that have disappeared in an unknown way), which I take from ..... More

Print this item

  odeint to solve Schrodinger equation
Posted by: kiyoshi7 - Nov-15-2018, 07:15 PM - Forum: Data Science - Replies (14)

Hi, Im trying to solve the Schrodinger equation. I am basing myself on thi[url=https://python-forum.io/thread-14126.html]..... More

Print this item

  Can python be used to search a word document for combinations of 6 digits?
Posted by: gkirt1053 - Nov-15-2018, 04:28 PM - Forum: General Coding Help - Replies (2)

Good morning, sorry I am new to python, but I think it could help me with a problem. I have a word/notepad document that I need to search for 6 digit ..... More

Print this item

  List
Posted by: Rattamahatta - Nov-15-2018, 04:13 PM - Forum: General Coding Help - Replies (4)

Can someone help me? I have a list = [[10,20], [30,40],[50,60]]

I have to generate the sum of the list elements p.e: (10+20), (30+40), (50+6..... More

Print this item

  Rename only first 4 characters of filename
Posted by: bmatt8 - Nov-15-2018, 03:40 PM - Forum: General Coding Help - Replies (2)

Im trying to rename only the first 4 characters of a filename.

Example: rename a045av18.c00 to paav18.c00

The "av18" will change each day so i j..... More

Print this item

  How do i read particular text from text file and update those values in MS SQL table
Posted by: ganeshsai2912 - Nov-15-2018, 12:49 PM - Forum: General Coding Help - Replies (33)

I have multiple text file in my folder.

Every text file contains some data (like empno,name,salary).

Ex : empno:101 name:Rasul
SAL:30000..... More

Print this item

  Exiting from a file
Posted by: ebolisa - Nov-15-2018, 12:21 PM - Forum: General Coding Help - Replies (3)

Hi,

The following code runs on a Raspberry and plays a song in a loop unless a button is pressed which stops the execution and exits file.

The b..... More

Print this item

  time.time wont return a useable number
Posted by: Nyscersul - Nov-15-2018, 12:18 PM - Forum: General Coding Help - Replies (4)

I have been losing it completely for the last two hours over this. It has made my project suddenly fail completely.

ALL I WANT IS TO BE ABLE TO PER..... More

Print this item

  Create multiple buttons in a loop?
Posted by: mzmingle - Nov-15-2018, 11:36 AM - Forum: Game Development - Replies (2)

Hi,

I'm trying to create a screen which will create buttons with each letter of the alphabet and then, when clicked, show a list of buttons with pe..... More

Print this item

  Trying to make a graph with GUI
Posted by: Jemeronimo - Nov-15-2018, 10:24 AM - Forum: GUI - Replies (2)

Hey guys,

I want to make a graph where the user can change the value of let's say 'x' by shifting a bar between two values.
So for example the gr..... More

Print this item

  TypeError: 'NoneType' object is not iterable
Posted by: wardancer84 - Nov-15-2018, 10:21 AM - Forum: General Coding Help - Replies (1)

got the following error:

[error]Traceback (most recent call last):
File "/tmp/ansible_woJtjy/ansible_module_aix_stanza.py", line 276, in <module..... More

Print this item

  3D data mapper with data labels using python modules
Posted by: lemon - Nov-15-2018, 09:17 AM - Forum: GUI - No Replies

Hello python community,

I'm an enthusiastic but novice python coder and I would like to build a [color=#27AE60]simple 3D data mapper in python 3[/c..... More

Print this item

  [split] [Help] Keep getting a 'TypeError' from Django and BeautifulSoup
Posted by: moxasya - Nov-15-2018, 07:38 AM - Forum: Web Scraping & Web Development - No Replies

Hi. I am also new to Django. I want to do the same as you scrape using Django as a web application. the code right now working fine using python3 Jupy..... More

Print this item

  How one should understand what Flask-WTF is?
Posted by: dukoolsharma - Nov-15-2018, 06:48 AM - Forum: Homework - Replies (2)

I have gone through various articles about Flask, but not able to get the description of Flask-WTF.

Print this item

  Inplace=true with a function
Posted by: Scott - Nov-15-2018, 04:39 AM - Forum: Data Science - Replies (1)

Hi everyone,

I have written a function and I want it to:

1) have inplace=True so it overrides what is in the df
2) loops through all variables ..... More

Print this item

  Detecting file extensions
Posted by: ellipsis - Nov-15-2018, 12:01 AM - Forum: General Coding Help - Replies (1)

How do i make python listen for changes to a folder on my desktop, and every time a file was added, the program would read the file name and categoriz..... More

Print this item

  Pull Down Menu Problem using Selenium
Posted by: ber - Nov-14-2018, 11:59 PM - Forum: Web Scraping & Web Development - Replies (1)

I trying to click on a Pull down menu from a TV Guide link called
https://tvlistings.zap2it.com/?aid=gapzap

[NOW] I want to click on the NOW Butt..... More

Print this item

  .findAll()
Posted by: Truman - Nov-14-2018, 10:42 PM - Forum: Web Scraping & Web Development - Replies (8)

code:
[python]
import requests
from bs4 import BeautifulSoup

html = requests.get("http://www.pythonscraping.com/pages/warandpeace.html")
bsObj ..... More

Print this item

  Dealing with multiple context managers
Posted by: heras - Nov-14-2018, 10:07 PM - Forum: General Coding Help - Replies (5)

Hi,

How do you structure code around multiple context managers? I looking to make something like this:
[code]#main.py
import file_io.py
import r..... More

Print this item

  Theme change
Posted by: snippsat - Nov-14-2018, 09:52 PM - Forum: Board - Replies (15)

Going back to Theme:Default,Midnight and Dark.
This make it easier for me to make CSS changes for Themes.

For new users can change Theme down in r..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 2 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 7 hours ago arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [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...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577188
  Tutorial Requ... 500144
  Web Scraping ... 440893
  Newbie with P... 384902
  New Users Int... 369156
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+ 12089
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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