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,283
» Latest member: alexferrina
» Forum threads: 38,793
» Forum posts: 175,876

Full Statistics

Online Users
There are currently 34 online users.
» 2 Member(s) | 29 Guest(s)
Bing, Google, Mojeek, lovedeep, kshahzad1985

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
2 hours ago
» Replies: 0
» Views: 12
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 113
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 48
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,482
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 142
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,070
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,299
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 367
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 206

 
  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

  How to mock an object that is created during function call?
Posted by: Schlangenversteher - Jan-31-2020, 01:36 PM - Forum: General Coding Help - No Replies

Hello,

i tried to create a python test for a subprocess call. Below i created a minimalistic example.

[python]
# myModule.py
import subprocess..... More

Print this item

  connection string issue
Posted by: racone - Jan-31-2020, 12:47 PM - Forum: General Coding Help - Replies (2)

Hi I am new to programming
Have be using python and trying things out.
Now trying to connect to my mssql 2016 database

The issue is he use of the..... More

Print this item

  Can't install Phython
Posted by: Ricardo14 - Jan-31-2020, 12:01 PM - Forum: General Coding Help - Replies (1)

Hi there! How are you? Hope you're fine

I was trying to install Phython on my machine to run a script. I downloaded requests-2.22.0 and beautifulso..... More

Print this item

  Error SQLite objects created in a thread can only be used in that same thread.
Posted by: binhduonggttn - Jan-31-2020, 07:37 AM - Forum: General Coding Help - Replies (3)

My script used to migrate data from SQLite to Postgres in Python. I'm using threading module to speed up transfer tables but I got a error
[error]sqli..... More

Print this item

  Saving a mask as a png file in opencv
Posted by: DanTheMan - Jan-31-2020, 06:16 AM - Forum: General Coding Help - Replies (1)

Hi. I am trying to save as png file the mask generated by python when I run the object detection with HSV Color Space in opencv. I used cv2.imwriting ..... More

Print this item

  Windows Traffic
Posted by: rhey - Jan-31-2020, 05:36 AM - Forum: Networking - No Replies

Hi All,

I'm trying to identify if our developer successfully check Windows Network traffic. I don't know about the codes so please help me understa..... More

Print this item

  Code help please
Posted by: rhey - Jan-31-2020, 04:13 AM - Forum: General Coding Help - Replies (6)

Hello,

Please help.. I'm not a developer but I need to know if it still possible to fix this application.

The app is a bench-marking tool for te..... More

Print this item

  Doubt in Regex Lookaround
Posted by: fullstop - Jan-31-2020, 04:03 AM - Forum: General Coding Help - Replies (3)

Hi

I am trying to use lookbehind for a sample code as below

[python]
import re
txt = "love regex or hate regex, can't ignore regex"
pattern =..... More

Print this item

  T-shirts from Python Store
Posted by: gridsleep - Jan-30-2020, 10:52 PM - Forum: News and Discussions - Replies (4)

Just out of curiosity, why does it cost 33 Euro to ship two t-shirts from the Python store warehouse in Spain to New York? I hope that money is going ..... More

Print this item

  which is "better" (or more Pythonic)?
Posted by: Skaperen - Jan-30-2020, 10:22 PM - Forum: General Coding Help - Replies (7)

which is "better" (or more Pythonic)?

A.

elif a==120 or a==99:
    ...
B.
[python]
elif a in (120,99):
...
[/python..... More

Print this item

  SQLAlchemy - Program Name in SQL Workbench
Posted by: jim2007 - Jan-30-2020, 10:18 PM - Forum: General Coding Help - Replies (4)

Very new to Python, but older that I'd care to admit to programming ;-)

So I have been working with SQLAlchemy for the past few days and all has be..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 2 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  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...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579258
  Tutorial Requ... 512104
  Web Scraping ... 442185
  Newbie with P... 386294
  New Users Int... 379607
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexferrina Yesterday
MattCarters 11-22
drakhsin 11-22
MileHigh303 11-21
ndx101 11-21

User Panel Messages

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