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,306
» Latest member: ifdainstitute7
» Forum threads: 38,798
» Forum posts: 175,910

Full Statistics

Online Users
There are currently 54 online users.
» 1 Member(s) | 48 Guest(s)
Bing, Facebook, AOL, Google, AOL, snippsat

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
36 minutes ago
» Replies: 7
» Views: 188
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
4 hours ago
» Replies: 3
» Views: 11,091
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 179
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 700
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,820
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 172
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 147
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 235
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,224
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 341

 
  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

  Syntax error for code that seems correct
Posted by: mcnhscc39 - Nov-14-2018, 09:37 PM - Forum: Homework - Replies (4)

I'm pretty new to programming and Python so there may be other issues with my code here. The error is in line 8 of the code.

I keep getting a syntax..... More

Print this item

  Storing chart objects in a dictionary
Posted by: bizzy - Nov-14-2018, 08:00 PM - Forum: General Coding Help - Replies (2)

Hello,

I am using openpyxl to plot some data in Excel. However, there can sometimes be more than 256 series which is the maximum limit in Excel.
..... More

Print this item

  Excel row to Python
Posted by: Cognition - Nov-14-2018, 07:55 PM - Forum: General Coding Help - Replies (1)

How to turn excel row to a list , the next row should be the next list and so on

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 36 minutes ago Lou Pedroski55 General Codin...
  Python Online Compiler 4 hours ago alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579483
  Tutorial Requ... 512729
  Web Scraping ... 442348
  Newbie with P... 386394
  New Users Int... 381646
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+ 12113
buran 8196
snippsat 7392
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today
IFDA123 Yesterday
TimTom420 11-27

User Panel Messages

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