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

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

 
  Openpxl
Posted by: shernel - Jun-10-2019, 08:23 AM - Forum: General Coding Help - No Replies

The column I want perform the addition is in "V" The excel sheet layout would be similar but the row length would always change therefore I want the f..... More

Print this item

  [split] how can i join to your chat channel(#python-forum) in irc.freenode?
Posted by: masoud_da - Jun-10-2019, 07:04 AM - Forum: Board - Replies (2)

hi dears
can u tell me how can i join to your chat channel(#python-forum) in irc.freenode.net?shall i install mirc on my pc and register as a user by..... More

Print this item

  [pygame] transparent rects
Posted by: SheeppOSU - Jun-10-2019, 04:51 AM - Forum: Game Development - Replies (2)

I made a block rectangle that is supposed to slowly go from 255 transparency to 0. I am having problems though. I don't understand this because I can ..... More

Print this item

  webscrapping lists to dataframe
Posted by: kirito85 - Jun-10-2019, 02:31 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi i am doing some webscrapping and is stuck at the follow codes below:

For some reason the record_lost is not inserted into the dataframe. Unable ..... More

Print this item

  how to move between text entries using the keyboard?
Posted by: nadavrock - Jun-09-2019, 10:43 PM - Forum: GUI - Replies (1)

i have a gui with text entries being assigned to variables and then written into files. but right now i have to go each time with my moust to the next..... More

Print this item

  Need help setting up a PySimpleGUI progress bar that I can maually update in script
Posted by: Soundtechscott - Jun-09-2019, 10:35 PM - Forum: GUI - Replies (1)

I am looking for a way to use a PYSimpleGUI progress bar... without a loop
I have looked for several days on the internet with no luck to find an exam..... More

Print this item

  python 3 math formulas where to use ()
Posted by: Python101 - Jun-09-2019, 09:41 PM - Forum: General Coding Help - Replies (1)

I am having trouble using math formulas for 3d geometric shapes in python.

for example a tetrahedon:
The formula to find the edge is:
a = √2 (3v)^1/3..... More

Print this item

  How to Read Binary Data
Posted by: pyth0nus3r - Jun-09-2019, 08:12 PM - Forum: General Coding Help - Replies (1)

So I have a file that contains binary data such as "0100100001100101011011000110110001101111000000010000001000000011".

So far I have written the fo..... More

Print this item

  Problem with importing an installed package
Posted by: Reverend_Jim - Jun-09-2019, 06:18 PM - Forum: General Coding Help - Replies (4)

I installed pymsgbox using pip. I created a sample file that does only

import pymsgbox
pymsgbox.alert("some text")
When I ru..... More

Print this item

  Simple CPS counter
Posted by: GalaxyCoyote - Jun-09-2019, 05:09 PM - Forum: General Coding Help - Replies (1)

I am trying to make a CPS counter, you will press a button and the timer starts then it will record your CPS and display it at the end of the second...... More

Print this item

  Why am I getting KeyError 'file' when using argparse?
Posted by: Mike Ru - Jun-09-2019, 04:02 PM - Forum: General Coding Help - Replies (1)

I'm trying to do that, but getting KeyError 'file'
[python]
import argparse
parser.add_argument('-s', '--server', '-f', '--file', metavar='', requi..... More

Print this item

  \t produce eight gap but tab only produce four gap
Posted by: liuzhiheng - Jun-09-2019, 03:50 PM - Forum: General Coding Help - Replies (3)

The code is:

print("Hello world\n\tHello world")
The result is:
Output:
Hello world Hello world
but I want this..... More

Print this item

  Need help understanding a couple of functions (encrypt,decrypt, int_to_bytes)
Posted by: xoani - Jun-09-2019, 03:25 PM - Forum: General Coding Help - No Replies

I have a Python Script based on

https://www.beardmonkey.eu/tplink/hs110/...hs110.html

..... More

Print this item

  path-issues in installing a wordpress - wrong pipe-path - like a testscript says
Posted by: apollo - Jun-09-2019, 03:13 PM - Forum: Bar - Replies (1)

hello dear Pythonists hello dear Pythonexperts


well - today i have no python-question. i have some issues in installing a wordpress - and i hope ..... More

Print this item

  Help with itertools
Posted by: jarrod0987 - Jun-09-2019, 02:15 PM - Forum: General Coding Help - Replies (1)

Been a while since I did this.

Can't remember how to get from:

[[0], [4, 3, 14], [4, 3, 21], [4, 10, 16]]
to:
[0, 4, 4, 4]
[0, 4, 4..... More

Print this item

  Why doesn't my loop work correctly? (problem with a break statement)
Posted by: steckinreinhart619 - Jun-09-2019, 02:08 PM - Forum: General Coding Help - Replies (2)

Hey guys I'm having some trouble with a loop in python I`m working on. I simplified the code for this question since the core of the problem stays the..... More

Print this item

  Bash/Python Developer Search
Posted by: Unsiized - Jun-09-2019, 01:32 PM - Forum: Jobs - No Replies

Hello,
I am looking for a developer for a project (more information on remuneration in private), people interested only in money..... More

Print this item

  GUI Tkinter Widget Positions
Posted by: punksnotdead - Jun-09-2019, 11:19 AM - Forum: GUI - Replies (3)

A colleague has just sent me a GUI that he developed using tkinter. On his Windows10 PC the GUI appears fine - all the button, text, combo widgets app..... More

Print this item

  ImportError: No module named pymysql - On Apache2 for Python 2.7 on Mac
Posted by: Tyrone - Jun-09-2019, 09:12 AM - Forum: General Coding Help - Replies (9)

Hi guys

I'm trying to get Python fully functioning as a dev environment on my macbook (Mac OS Mojave, 10.14.5) - its a hang of a lot harder to setu..... More

Print this item

  A torsocks DDOS tool for Debian Linux Distros: python + wget + tor
Posted by: rootVIII - Jun-09-2019, 07:46 AM - Forum: Code sharing - No Replies

The repository can be found here. There will be several requests per IP address... as far as I can tell..... More

Print this item

  How to get the result of a ping to show in tkinter?
Posted by: jacklee26 - Jun-09-2019, 06:50 AM - Forum: GUI - Replies (6)

Do anyone knows how to let ping to print in the tkinter GUI, not on the terminal
i had tried many methods and find on the net just couldn't find a me..... More

Print this item

  is there an easy way to add a progress bar/counter to an existing script
Posted by: Soundtechscott - Jun-09-2019, 01:36 AM - Forum: General Coding Help - Replies (6)

I have a script that is complete, working well
but I'd like to add a progress bar or a step couter of some sort without having to redo teh entire scri..... More

Print this item

  Flask or Django?
Posted by: Truman - Jun-08-2019, 11:29 PM - Forum: News and Discussions - Replies (10)

This is a general question so I don't want to open it on Web dev subforum.
So I'm thinking between starting to learn one of these two frameworks.

..... More

Print this item

  Scraping with some delay
Posted by: Truman - Jun-08-2019, 11:17 PM - Forum: Web Scraping & Web Development - Replies (3)

[python]from selenium import webdriver
from selenium.webdriver.support import ui

driver = webdriver.Firefox()
driver.get("http://the-internet.her..... More

Print this item

  update values in list based on dictionary
Posted by: bunti - Jun-08-2019, 09:43 PM - Forum: General Coding Help - Replies (3)

Im quite new to python and struggling on this. Any help would be much appreciated please

I have a dictionary as follows:

[color=#3498DB]teams -> {'..... More

Print this item

  after using openpyxl to add colors to script, black shows up white online in excel
Posted by: Soundtechscott - Jun-08-2019, 08:37 PM - Forum: General Coding Help - Replies (1)

hi, I'm scott
I'm reasonably new to python.. but learning as I go

long story as short as I can make it
I have a script that takes some excel data..... More

Print this item

  Game of Life (neighbors)
Posted by: pawlo392 - Jun-08-2019, 07:16 PM - Forum: Game Development - Replies (5)

How to count the sum of all eight neighbors for this table?:

table = np.random.choice(stan, 100*100, p=[0.2, 0.8]).reshape(100, 100)
..... More

Print this item

  ValueError: could not convert string to float
Posted by: michaelbs007 - Jun-08-2019, 06:34 PM - Forum: General Coding Help - Replies (1)

Greetings
I'm new to Python and I wrote a little program and I get an error meseg:

[error]Traceback (most recent call last):
   File "C: / Users ..... More

Print this item

  [Flask] html error 405
Posted by: SheeppOSU - Jun-08-2019, 04:42 PM - Forum: Web Scraping & Web Development - No Replies

I can't figure out why I am getting the html error 405. Thanks in advance
[python]def search():
form = SearchForm()
if form.validate_on_sub..... More

Print this item

  SciKit vs Dynamo vs Grasshopper/Dodo for A.I. Planner Project
Posted by: Julian - Jun-08-2019, 04:01 PM - Forum: Data Science - Replies (1)

We (a fellow architecture student and I) want to develop a tool which can autonomously layout kitchen interiors based on user input parameters such as..... More

Print this item

  Validating User Input
Posted by: ichabod801 - Jun-08-2019, 12:16 PM - Forum: Fundamentals - No Replies

A common task in computer programming is to validate user input. We don't just want to get user input, we want to make sure that input is the correct ..... More

Print this item

  i hate stackoverflow
Posted by: metulburr - Jun-08-2019, 11:08 AM - Forum: Bar - Replies (7)

I, for shits and giggles, was trying to get enough rep to answer questions and ask them on SO. However i had too low of rep. So you cant answer a ques..... More


Attached Files

Thumbnail(s)
   
Print this item

  why is there an unexpected maths result from a float calculation?
Posted by: maryab - Jun-08-2019, 10:00 AM - Forum: Homework - Replies (3)

One of my students asked why - entering 35 as the input gets a strange answer - see print dollars result. It is strange. The answer should just be 0.3..... More

Print this item

  How to create a New line in a Text block in Blender software using Python 3.7?
Posted by: starzar - Jun-08-2019, 08:26 AM - Forum: News and Discussions - No Replies

Hi,
This question is relevant to Python 3.7 used in Blender software(C++/Python).
Blender VideoEditor's [b]"Text Block" only accepts 1 line strings[..... More

Print this item

  How to keep looping until the user input is valid ?
Posted by: KyawMyo - Jun-08-2019, 08:02 AM - Forum: General Coding Help - Replies (12)

[python]

def get_valid_input(value):
while True:
try:
return float(input(value))
except ValueError:
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 5 hours ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 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...
  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... 501087
  Web Scraping ... 441079
  Newbie with P... 385151
  New Users Int... 369763
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 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday
silversimon2 09-30

User Panel Messages

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