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: miriamwilliam
» Forum threads: 38,733
» Forum posts: 175,566

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 1
» Views: 76
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
11 hours ago
» Replies: 4
» Views: 2,018
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 425
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,067
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,126
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 791
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,086
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,532
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,118
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,575

 
  libpython3.x
Posted by: Jeff - Feb-02-2020, 09:13 AM - Forum: General Coding Help - Replies (5)

Running Domoticz which is an application for Home Automation
» Sunday 02 February 2020 8:28

Macos Catalina - macOS 10.15.3 (19D76)

Error
Status: Pl..... More

Print this item

  Selection and display of data by combobox
Posted by: LagratteCchouette - Feb-02-2020, 07:12 AM - Forum: General Coding Help - Replies (10)

Hello,
I want to display data from my "quote" table by selecting an author in my table author selected "author" in my combobox. The search must be st..... More

Print this item

  Please Help
Posted by: jackthechampion - Feb-02-2020, 05:40 AM - Forum: Homework - Replies (4)

I have a homework assignment I was hopeing someone could help me so I don't fail my class. This is the assignment if someone could just give me the co..... More

Print this item

  append list to empty array
Posted by: SchroedingersLion - Feb-02-2020, 01:57 AM - Forum: General Coding Help - Replies (1)

Hello guys,

I would like to know why the following does not give me an Nx7 array.

[python]X_y_disch = np.empty((0,7), float)
for keys in B1_B2:
..... More

Print this item

  is there a way: repeat key word args
Posted by: Skaperen - Feb-02-2020, 12:55 AM - Forum: General Coding Help - Replies (2)

i would like to allow the same key word argument to be repeated as many times as desired with different values, just as i can do on command arguments...... More

Print this item

  Switch .. case .. dispatcher based on singledispatch
Posted by: Gribouillis - Feb-01-2020, 11:03 PM - Forum: Code sharing - Replies (2)

The generic function mechanism (functools.sing[url=https://python-forum.io/thread-24147.html]..... More

Print this item

  Feeding new data to a model
Posted by: RawlinsCross - Feb-01-2020, 10:47 PM - Forum: Data Science - No Replies

Good evening, kindof a beginner question here on how to properly feed new data (i.e. not seen during the model development) to a binary classification..... More

Print this item

  Correct syntax for a variable inside a quotes: MP4Box command
Posted by: JonnyDriller - Feb-01-2020, 08:41 PM - Forum: General Coding Help - Replies (2)

New to the forum so hope I'm using the correct method here: -
I'm using an app to covert h264 video to mp4 = MP4Box.
Most of the tutorials deal with..... More

Print this item

  If statement
Posted by: el_bueno - Feb-01-2020, 05:58 PM - Forum: General Coding Help - Replies (8)

Hello!
Thats a python code, and im a beginner

[python]
s='Hungry'
p='Im full'
r=7

if 8:
print('Im hungry')
elif p:
print('I didnt..... More

Print this item

  works but it doesn't
Posted by: benlyboy - Feb-01-2020, 04:00 PM - Forum: General Coding Help - Replies (3)

Hi hopping you can help me solve a mystery.
I wrote a program to automaticity back up my media system. It does a few other things too, like keeping a..... More

Print this item

  Contact form button click action
Posted by: Man_from_India - Feb-01-2020, 04:00 PM - Forum: Web Scraping & Web Development - Replies (1)

I created a contact me HTML page and there I created a Contract form and there is a submit button. I want to click on that button and check if all the..... More

Print this item

  Stretching a curve and modifying it
Posted by: IlikePi - Feb-01-2020, 03:41 PM - Forum: Data Science - No Replies

I have used numpy and matplotlib a little. Here is my challenge. I have about 5000 data points that make a parameter curve. The x values are time unit..... More

Print this item

  Cannot Extract data through charts online
Posted by: AgileAVS - Feb-01-2020, 01:47 PM - Forum: Web Scraping & Web Development - No Replies

Hey, actually I have been trying my best to extract data from charts (called as technical analysis charts which I have paid for) . The problem I have ..... More

Print this item

  Where?
Posted by: oldbean - Feb-01-2020, 01:31 PM - Forum: General Coding Help - Replies (2)

Hello everyone
I would really like to start learning Python3 but to be honest i am a little confused and hope that someone will have the time and pat..... More

Print this item

  Help me with Asyncio.
Posted by: binhduonggttn - Feb-01-2020, 12:00 PM - Forum: General Coding Help - Replies (2)

Hi guys, I have a script to migrate database from Sqlite to Postgres. My original scipt works, but when I try to use Asyncio to speed up program, my n..... More

Print this item

  How to display isometric maps with pytmx?
Posted by: Piethon - Feb-01-2020, 11:22 AM - Forum: Game Development - Replies (18)

Hello everybody,

I know, I have posted a bit different question a few months ago. Now that I can load my Map with pytmx, I have troubles displaying..... More

Print this item

  enable flash using selenium chromedriver
Posted by: Fre3k - Feb-01-2020, 11:05 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello :)

Me again,...

I'm currently trying to automate some stuff in an older game, which is still running via flash ...

After I login to the..... More

Print this item

  type of result of iter()
Posted by: Skaperen - Feb-01-2020, 03:48 AM - Forum: General Coding Help - Replies (12)

what value for foo will cause isinstance to return True?
[python]
foo = ???
bar = [1,6,2..... More

Print this item

  SqlAlchemy Tutorial - Basic Model, database Creation and Data Load
Posted by: Larz60+ - Feb-01-2020, 02:06 AM - Forum: Tutorials - No Replies

Introduction

This tutorial is a very basic Introduction to SqlAlchemy.

Although written for sqlite, the same model can be..... More


Attached Files

Thumbnail(s)
           
Print this item

  breaking outof nexted loops
Posted by: Skaperen - Feb-01-2020, 01:29 AM - Forum: General Coding Help - Replies (4)

one of the many coding difficulties i encounter in most languages is breaking out of 2 or more nested loops. in C i did have a goto but that was cons..... More

Print this item

  bs4 beautifulsoup4 "module not found" but I confirmed it is installed
Posted by: mjglsn - Feb-01-2020, 12:03 AM - Forum: General Coding Help - Replies (1)

I'm working out of "Automate the Boring Stuff with Python" 2nd edition (about two-thirds down on this page https://automatetheboringstuff.com/2e/chapt..... More

Print this item

  which is "better" (or more Pythonic)?
Posted by: Skaperen - Jan-31-2020, 11:41 PM - Forum: General Coding Help - Replies (2)

this is an actual line from the file i am currently working on ...
[python]
elif all(isinstance(x,(int,float))for x in items) and all(x<0x110000 for..... More

Print this item

  How to merge my two python scripts in one ?
Posted by: HK2432 - Jan-31-2020, 10:16 PM - Forum: General Coding Help - No Replies

I want to create a web interface with a python srcipt in order to generate different graph from many CSV.

For that, I use pandas, plotly avec ipyw..... More

Print this item

  Translate this line of code please
Posted by: keystone76 - Jan-31-2020, 10:14 PM - Forum: General Coding Help - Replies (2)

Can someone please translate this line of code please?

while lines[0].strip()[-3:] != 'YES':

lines is a list of data(strings) returned from the ..... More

Print this item

  Flask-SqlAlchemy - Relationship failed to locate a name - Please Help
Posted by: howardrwb - Jan-31-2020, 08:38 PM - Forum: Web Scraping & Web Development - No Replies

Hi all,

I'm trying to connect to an existing sharepoint database (read only,) and
I'm getting the following error when I try to set up a many2many..... More

Print this item

  What is wrong with this strings comparison
Posted by: minh - Jan-31-2020, 06:39 PM - Forum: General Coding Help - Replies (3)

Hello,
I am struggling to find out what's wrong with my code.
I have two objects called ObjA and ObjB.
Both ObjA and ObjB have attributes name..... More

Print this item

  date time question
Posted by: pythonlearner1 - Jan-31-2020, 06:11 PM - Forum: General Coding Help - Replies (2)

I would like to convert string in to date format which is acceptable by elasticsearch

doc = {
'submitted': '2020-01-25 20:10:10',
'num': ..... More

Print this item

  where did i go wrong
Posted by: SufiyanSadiq - Jan-31-2020, 05:53 PM - Forum: General Coding Help - Replies (1)

so i had a text file which had data on seperate lines and i had to use the mod method to take out the desired values and convert it into a list(as the..... More

Print this item

  I can not get python3 to work... frustrating... something about directory?
Posted by: pythonforumuser - Jan-31-2020, 05:31 PM - Forum: General Coding Help - Replies (1)

I've reinstalled and installed sublime text and python over and over again in Windows. And for some reason python works but not python3.

in CMD pro..... More

Print this item

  Interact with Python
Posted by: Mario456 - Jan-31-2020, 05:26 PM - Forum: General Coding Help - Replies (1)

Hi All,
I am trying to create a code that allow Python convert words to numbers. I wish to convert every single alphabetic letters in a number. Furth..... More

Print this item

  Python read Excel cell data validation
Posted by: anantpatil - Jan-31-2020, 04:55 PM - Forum: Data Science - No Replies

How can I read Excel cell data validation rules in Python?

from openpyxl.cell, I can read only value, is_date, font, border, fill, umber_format,ali..... More

Print this item

  Help with Upgrading to Python 3.8
Posted by: KNSSCyberSec - Jan-31-2020, 04:02 PM - Forum: General Coding Help - Replies (1)

Hi Python Community.

I am working on learning Python on my MacBook Pro running Catalina. The current version of Python on the system is 2.7.16. I ..... More

Print this item

  Geese
Posted by: Kenny_B - Jan-31-2020, 02:36 PM - Forum: Homework - Replies (1)

I am stuck on the following problem at college. I have just begun learning python and have made a first attempt at solving this problem. Working out t..... More

Print this item

  Help needed with polymorphism example
Posted by: peace - Jan-31-2020, 02:14 PM - Forum: Homework - Replies (2)

Hi community,

I am trying to implement some polymorhphism concepts. In the study material I am using, there is a similar example. There is no __ini..... More

Print this item

  error when running headless selenium
Posted by: julio2000 - Jan-31-2020, 02:03 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey,

I've made a script where it monitors the website of https://www.jdsports.nl with selenium. It works perfectly, until I run selenium headless. ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 1 hour ago SpongeB0B Larz60+ General Codin...
  Error: cannot mix str wit... 11 hours ago ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 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... 577446
  Tutorial Requ... 500965
  Web Scraping ... 441077
  Newbie with P... 385144
  New Users Int... 369715
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 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday
alissapena8 Yesterday

User Panel Messages

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