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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,892

Full Statistics

Online Users
There are currently 60 online users.
» 0 Member(s) | 52 Guest(s)
Bing, Applebot, Google, Facebook

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
2 hours ago
» Replies: 1
» Views: 27
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
9 hours ago
» Replies: 3
» Views: 121
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
9 hours ago
» Replies: 2
» Views: 85
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Today, 04:40 AM
» Replies: 6
» Views: 3,192
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 254
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 139
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 95
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,529
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 182
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 85

 
  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

  I am trying to send message in youtube live chat
Posted by: stylohunk - Jun-08-2019, 07:43 AM - Forum: General Coding Help - Replies (1)

Here I am trying to send message in youtube live chat.

Until login everything is working fine.

But I am unable to draw message in chat box and s..... More

Print this item

  any code around to do float in base 16?
Posted by: Skaperen - Jun-08-2019, 04:08 AM - Forum: News and Discussions - Replies (3)

is there any code around to do float in base 16 or do i need to write some?

Print this item

  Get complex query
Posted by: bhojendra - Jun-08-2019, 03:23 AM - Forum: Web Scraping & Web Development - No Replies

I am using flask. And trying to handle the get request something like:

GET /items?filter[where][foo]=foo

And it seems a bit much difficult to ..... More

Print this item

  update while running
Posted by: Skaperen - Jun-08-2019, 03:00 AM - Forum: News and Discussions - Replies (1)

i have a very long running script that i would like to have update itself when the script file it was started with is updated. i could certainly chec..... More

Print this item

  my latest function
Posted by: Skaperen - Jun-08-2019, 12:51 AM - Forum: News and Discussions - Replies (2)

i just wrote a function and will be writing tests for it soon. i wrote it because i frequently need this. it mimics open() (by callin..... More

Print this item

  Was this forum made with Flask?
Posted by: SheeppOSU - Jun-08-2019, 12:19 AM - Forum: Board - Replies (3)

It suddenly struck my mind and I wanted to ask. If it wasn't made with Flask, what was it made w/ and who made it? Thanks in advance for feeding my cu..... More

Print this item

  Doors ng rest api
Posted by: jyanez - Jun-07-2019, 10:05 PM - Forum: News and Discussions - Replies (2)

Any body has something about Doors ng rest api?

new developer

Please!

Print this item

  Help with environment path variables
Posted by: kuharido - Jun-07-2019, 09:18 PM - Forum: General Coding Help - No Replies

I searched high and mighty on stackoverflow and still can't find what the issue is or how to fix it, found some threads that mentioned the $PYTHONHOME..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 2 hours ago matt Gribouillis News and Disc...
  My regex function is not ... 9 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 9 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python Today, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 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...
Most views
  The best Prog... 579374
  Tutorial Requ... 512378
  Web Scraping ... 442287
  Newbie with P... 386339
  New Users Int... 380304
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
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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