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,295
» Latest member: Moltar1997
» Forum threads: 38,795
» Forum posts: 175,885

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 30 Guest(s)
Bing, AOL, Google, Applebot

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: Moltar1997
18 minutes ago
» Replies: 0
» Views: 7
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
5 hours ago
» Replies: 1
» Views: 34
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Today, 02:50 AM
» Replies: 6
» Views: 209
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 106
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 75
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,512
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 167
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 78
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,129
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,316

 
  How to print variable name?
Posted by: mayadob - Oct-18-2019, 10:11 AM - Forum: General Coding Help - Replies (11)

I want to calculate the lenght of a segment and then to print "The lenght of AB is 27 cm" for example.
In wich the name AB are the names of two varia..... More

Print this item

  missing positional argument error
Posted by: programmert - Oct-18-2019, 09:45 AM - Forum: Homework - Replies (1)

Hi,
I do not understand how to solve the following error which pops up when running this code: TypeError: __init__() missing 1 required positional ar..... More

Print this item

  how to show the distance between two curves in a graph
Posted by: termo - Oct-18-2019, 09:19 AM - Forum: General Coding Help - Replies (6)

I have these two curves. How could I plot a segment (and the number) whitch rapresent the distance between them (5 in this case) in the same graph?
..... More

Print this item

  IndexError: list index out of range bug?
Posted by: CaptainCsaba - Oct-18-2019, 06:26 AM - Forum: General Coding Help - Replies (4)

Hello!

I have a code that gets a string cell which is a date and converts it to a certain date format. The thing is, I am out of index and have no id..... More

Print this item

  Xmodem error
Posted by: neethuvp - Oct-18-2019, 04:31 AM - Forum: General Coding Help - Replies (6)

Hi,
i have a program for transfer a file using 'Xmodem' protocol. My code is :
[python]
import select
import sys
from modem import XMODE..... More

Print this item

  Error: StaleElementReferenceException
Posted by: BigEfromDaBX - Oct-18-2019, 03:04 AM - Forum: Web Scraping & Web Development - Replies (2)

Can somebody tell me why I keep getting a StaleElementReferenceException. Im doing a simple script that navigates to a page. Grabs the links and put..... More

Print this item

  [split] Alphabetic Telephone Number Translator
Posted by: teafshadow - Oct-17-2019, 11:53 PM - Forum: Homework - Replies (4)

[quote="MEH012" pid="45196" dateline="1524532303"][python]""" This Program will ask the user to enter a 10-character telephone number in the format of..... More

Print this item

  How to pivot a dat
Posted by: UGuntupalli - Oct-17-2019, 11:13 PM - Forum: General Coding Help - No Replies

All,
I would like to pivot a data frame similar to the following SQL operation. Any help/guidance is appreciated:

[python]
# SQL Code - https..... More

Print this item

  Snake Game - obstacle problem
Posted by: Samira - Oct-17-2019, 07:59 PM - Forum: Game Development - Replies (3)

Hi everyone,
I'm a relatively new in python programming and I tried to make a Snake game using a turtle graphics, partly following a tutorial on the ..... More

Print this item

  Pycharm community edition venv folder
Posted by: tantony - Oct-17-2019, 07:56 PM - Forum: General Coding Help - Replies (3)

I'm using Pycharm community edition as my Python IDE. I noticed that every time I create a project, it creates a venv folder, and that folder have ab..... More

Print this item

  Split csv file based on column value
Posted by: soli004 - Oct-17-2019, 06:02 PM - Forum: General Coding Help - Replies (4)

Hello Python experts,

I have very large csv file (millions of rows) that I need to split into about 300 files based on a column with names.
I have..... More

Print this item

  Sum two list in class
Posted by: no_named_nobody - Oct-17-2019, 06:00 PM - Forum: Data Science - Replies (2)

Hello,
I have problem, I tried many option to code sum of two list in class... its not working at all Huh
[python]
class MyList:
def __ini..... More

Print this item

  Code is not giving results
Posted by: tahir1990 - Oct-17-2019, 05:38 PM - Forum: Web Scraping & Web Development - Replies (5)

Hello
A beginner in web scrapping and python here Smile
I ve been trying to scrape a website using python and beautiful soup.
I have put the b..... More

Print this item

  TypeError: integer argument expected, got float
Posted by: abscorpy - Oct-17-2019, 05:31 PM - Forum: Game Development - Replies (1)

So as you can see in the bottom of this page, i have an error in my code, thanks for the support, have a great day!

Hope you can help me fix it
[p..... More

Print this item

  Calculator won't subtract?
Posted by: kingstarx - Oct-17-2019, 04:13 PM - Forum: Homework - Replies (6)

I've just started GCSE computer science about a month ago, I already knew the basics of python like variables, if and else statements and stuff, and t..... More

Print this item

  How to recognize space or enter as one-character input?
Posted by: Mark17 - Oct-17-2019, 03:29 PM - Forum: General Coding Help - Replies (5)

The program I'm currently working on asks the user to press SPACE if correct or ENTER if incorrect. Can you give me a code snippet that will enable P..... More

Print this item

  Error while connecting to web application
Posted by: harish - Oct-17-2019, 11:56 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi All,

While connecting to web application getting below error and I have hide the credentials with dummy values.
Error message:
b'{"__type":"Se..... More

Print this item

  Mirror GitHub issues and pull requests with a static site generator
Posted by: sio - Oct-17-2019, 09:40 AM - Forum: Code sharing - No Replies

Hello, I'd like to get some feedback on my project.

It's a backup mechanism for GitHub issues that creates human-readable issue archives in HTML - ..... More

Print this item

  Window Icon
Posted by: Evil_Patrick - Oct-17-2019, 08:11 AM - Forum: GUI - Replies (6)

Trying to change Window's icon

[Image: Untitled.png]

[python]

icon = r'C:\Users\Evil Patrick\Desktop\desktop-..... More

Print this item

  2 Microsoft word Docx content comparison
Posted by: vintysaw - Oct-17-2019, 07:30 AM - Forum: General Coding Help - Replies (2)

Hi Guys, I am new at Python coding. I am looking for guidance with 2 word file content comparison.
I could read file content with below docx library...... More

Print this item

  Want to take a Screenshot from a File in Linux
Posted by: dhiliptcs - Oct-17-2019, 06:52 AM - Forum: General Coding Help - Replies (2)

We are currently working manually to get a screen shot by opening every text files(screencapture from position A to position B) and save in png/jpeg f..... More

Print this item

  Programming Difficult math in Python
Posted by: Huntern - Oct-17-2019, 05:20 AM - Forum: General Coding Help - Replies (6)

Greetings, I am currently in Electrical Engineering school. Unfortunately Python is not used/taught in my school. I was only taught some basic C and m..... More

Print this item

  How do you replace a word after a match from a list of words in each line of a file?
Posted by: vijju56 - Oct-17-2019, 04:10 AM - Forum: General Coding Help - Replies (1)

We are looking for replacing a word after each match in a list of words for each line in a file

[quote]This is Manager Sam speaking.Hello, how are ..... More

Print this item

  align_columns
Posted by: Skaperen - Oct-17-2019, 01:04 AM - Forum: Code sharing - No Replies

i've needed this command many times and only today decided to finally code it. i'm sure it is not as simple or pythonic as it could be. i made it fo..... More

Print this item

  Some doubts on dictionaries
Posted by: newbieAuggie2019 - Oct-16-2019, 11:54 PM - Forum: General Coding Help - Replies (2)

Hi!

I thought that checking if a certain 'x' element existed in a certain dictionary named, let's say 'mixedBag' would check if that 'x' element is..... More

Print this item

  Active tkinter text output during loop
Posted by: dvanommen - Oct-16-2019, 09:30 PM - Forum: GUI - Replies (2)

I'm writing a script to speak to a pressure scanning unit. The scanner has 32 ports, and the code asks the user which ports to use, then takes that in..... More

Print this item

  Writing list as a file, then reading that file as a list
Posted by: Zoastria_Balnala - Oct-16-2019, 08:52 PM - Forum: General Coding Help - Replies (3)

I have a python script that generates date from a simulation. (Python version 2.7)
I am trying to write that simulated data to text files, then open ..... More

Print this item

  Getting Unique values from LISTS
Posted by: aankrose - Oct-16-2019, 08:37 PM - Forum: General Coding Help - Replies (2)

[python]
#I wrote a program that come as a LIST output like below

['scext', '80.0']
['scext', 'COLFUJDX440_DS11']
['scext', 'Hard disk 1']
['s..... More

Print this item

  The coding "Beast" in India
Posted by: snippsat - Oct-16-2019, 07:31 PM - Forum: News and Discussions - Replies (1)

The coding "Beast",also David Beazley visit PyCon India.
A Talk Near the Future o[url=https://python-forum.io/thread-21832.html]..... More

Print this item

  Print different positions in loop from functions
Posted by: konsular - Oct-16-2019, 06:38 PM - Forum: General Coding Help - Replies (5)

Hello there dear community,

ive been tinkering with some "for loops" and "functions" lately. Here is my code and result:

[python]#no edit wanted..... More

Print this item

  [split] Converting excel file to txt file
Posted by: unexceptionalhobby - Oct-16-2019, 05:22 PM - Forum: Data Science - Replies (2)

pd.to_string is giving me an error. Is this functionality of pandas still around, or has it been removed? I'm using Python 3. I'm trying to accompl..... More

Print this item

  streamline plot
Posted by: Larssauerkraut - Oct-16-2019, 03:51 PM - Forum: Homework - No Replies

hi

I am struggeling with a homeworkassignment.
i Am trying to streamlineplot, but i have only found this scetch. how do i go from this scetch to ..... More

Print this item

  Can I use iteration to create variable names?
Posted by: Mark17 - Oct-16-2019, 03:29 PM - Forum: General Coding Help - Replies (8)

For this program, the input will be table data and the output will be a table.

In order to solicit data, I'm asking how many rows and then iteratin..... More

Print this item

  Adding markers to Folium map only adding last element.
Posted by: tantony - Oct-16-2019, 03:28 PM - Forum: General Coding Help - No Replies

I'm finally done with collecting data from FAA website, now I want to add the data to a website using Folium. I'm using the following link for refere..... More

Print this item

  Need help in finishing my scripts
Posted by: mohank84 - Oct-16-2019, 02:16 PM - Forum: Homework - Replies (5)

I am very new to python and need your help to fix below assignment.

write a python script to print the docstring(documentation string) of the inpu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 18 minutes ago Moltar1997 Moltar1997 General Codin...
  silent deployment Python ... 5 hours ago Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Today, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... Yesterday, 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...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
Most views
  The best Prog... 579329
  Tutorial Requ... 512245
  Web Scraping ... 442208
  Newbie with P... 386318
  New Users Int... 380021
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Moltar1997 Today
arthurlouiss Today
LewisByday Today
Bummibaer Today
Elevyn Today

User Panel Messages

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