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,565

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 46 Guest(s)
Google, Bing, Mojeek, Facebook, AOL, AOL, miriamwilliam

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

 
  ImportError: No module named site
Posted by: david503 - Feb-06-2020, 05:04 PM - Forum: Networking - Replies (2)

I'm trying to do this tutorial:

https://docs.djangoproject.com/en/3.0/ho...sgi/uwsgi/

(I've read other site's and docs for like 3 d..... More

Print this item

  Running Windows 10 python 3.8.1
Posted by: quark80 - Feb-06-2020, 03:04 PM - Forum: General Coding Help - Replies (8)

I downloaded Python (3.8 64-bit)for Windows 10 & Windows Launcher, together with Manuals & Module Docs.
The 'sys.path' is set to C:\Users\quark\Ap..... More

Print this item

  For Research
Posted by: AgileAVS - Feb-06-2020, 02:50 PM - Forum: General Coding Help - Replies (1)

Hello to any one who is reading this,
I am actually trying to scrape data from the internet regarding stock prices and number of shares traded to dev..... More

Print this item

  random.uniform is not working correctly
Posted by: dron4ik86 - Feb-06-2020, 02:06 PM - Forum: General Coding Help - Replies (9)

I have 4 values:

[python]left_latitude = 32.36825432569349
right_latitude = 32.367919037002075
up_latitude = 32.36844462412729
down_latitude = 3..... More

Print this item

  How to calculate unique rows column sum and percentage
Posted by: SriRajesh - Feb-06-2020, 02:03 PM - Forum: General Coding Help - Replies (4)

Hi,
I have below data in txt file, and I want to calculate same rows column sum and percentage of passed. I use below code, but I can not get my desir..... More

Print this item

  keylooger
Posted by: akitmo - Feb-06-2020, 12:01 PM - Forum: General Coding Help - Replies (1)

Hello I would like to create a python keylogger that captures key press and key release time in nano seconds basing on cpu time

Print this item

  Beginner in need of advice on web based data visualisation
Posted by: h4tt3n - Feb-06-2020, 11:28 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello folks,

Absolute Python beginner here! I am working in a small company that collects data from physical sensors, and then visualise the transf..... More

Print this item

  ModuleNotFoundError: No module named 'xxxx'
Posted by: darpInd - Feb-06-2020, 10:35 AM - Forum: General Coding Help - Replies (2)

I am new to Python and programming itself. I have got my working directory in ""'C:\\Users\\dell\\Desktop\\Python Practice'"". I have got a file "Pyth..... More

Print this item

  Bomberman
Posted by: arbondioxide - Feb-06-2020, 10:29 AM - Forum: Game Development - Replies (1)

Hello im making a game for my a-level programming project. its a recreation of the game ; bomberman. im going to need a lot of assistance but i just d..... More

Print this item

  Deep Learning Book
Posted by: ankitdixit - Feb-06-2020, 08:31 AM - Forum: Data Science - Replies (2)

Hello Everyone, I am new in this community and looking for graphic design books to purchase online but I am confused about which author is good? I hav..... More

Print this item

  Senior Python Developer
Posted by: agatagasiorowska - Feb-06-2020, 07:45 AM - Forum: Jobs - Replies (3)

We are looking for a remote Senior Python Backend Developer to join our team [Reef Technologies: fully remote python software house]
Salary in USD (B..... More

Print this item

  Automating Windows GUI applications
Posted by: metro17 - Feb-06-2020, 07:16 AM - Forum: General Coding Help - Replies (4)

from pywinauto import application
app = application.Application()
app.start("Notepad.exe")

The above code launches a notepad.

But when I try t..... More

Print this item

  Fixing the code
Posted by: khanhcao - Feb-06-2020, 05:17 AM - Forum: General Coding Help - Replies (2)

Hi everybody, I'm a new beginner and I just starting to learn to code. I have a question about the code that I coded, when I put the operation in and..... More

Print this item

  Pip Syntax Errors in CMD: Windows 10 and Python 3.8.1
Posted by: jamesphopper - Feb-06-2020, 04:25 AM - Forum: General Coding Help - Replies (2)

Ok-

There a many threads out there on pip giving syntax errors, but none of their solutions are working for me.

I'm using Windows 10 home (buil..... More

Print this item

  Python numpy fft from data file
Posted by: magnet1 - Feb-06-2020, 01:36 AM - Forum: Data Science - Replies (1)

Hello,
I'm new to Python and I'm not sure. trying to do a python fft with a data file.

It cans plot the data file in the time domain like the cod..... More

Print this item

  Headless Chrome: How to login into a webpage?
Posted by: amandacstr - Feb-06-2020, 01:29 AM - Forum: Web Scraping & Web Development - Replies (1)

How can I login into a webpage(fill and submit the login/pass form tag) using Headless Chrome. I made a web crawler with Python 3, BeautifulSoup and H..... More

Print this item

  name undefined Coding Error
Posted by: Ewilliam51 - Feb-06-2020, 12:12 AM - Forum: General Coding Help - Replies (2)

I created a program that is supposed to ask the user for a number, tell the user whether the number is odd or even and then ask the user if they want ..... More

Print this item

  How to match number of features of training dataset to testing input
Posted by: anhnguyen - Feb-05-2020, 08:28 PM - Forum: Data Science - No Replies

***This is a revised question from a previous post since I do not know how to delete my old post***

Here is the top of the script where the model w..... More

Print this item

  Equivalent of 'bwareafilt' for Python
Posted by: Mighty - Feb-05-2020, 07:25 PM - Forum: General Coding Help - Replies (1)

What is an equivalent to the MATLAB function bwareafilt in Python? I need an output binary image that only contains the largest connected area of pixe..... More

Print this item

  Equality in Python
Posted by: el_bueno - Feb-05-2020, 07:16 PM - Forum: General Coding Help - Replies (8)

Hello!

what is the actual difference between

=
and
==

I have some trouble understanding the actual meaning of theses 2 operators.

Coul..... More

Print this item

  Error after a few minutes of running
Posted by: julio2000 - Feb-05-2020, 06:54 PM - Forum: Web Scraping & Web Development - Replies (10)

[error]
Fatal Python error: Cannot recover from stack overflow.
Python runtime state: initialized

Current thread 0x000019e8 (most recent call fir..... More

Print this item

  ppadb classes
Posted by: alejandroot - Feb-05-2020, 06:31 PM - Forum: General Coding Help - Replies (2)

Hello,

I inherited some automation scripts that use the packages below. I installed pure-python-adb to replace adb, but the ppadb does not have the..... More

Print this item

  import pynput
Posted by: Sherlock42 - Feb-05-2020, 06:27 PM - Forum: General Coding Help - Replies (2)

Traceback (most recent call last):
File "C:\python_examples\pynput_2.py", line 1, in <module>
from pynput.mouse import Listener
File "C:\py..... More

Print this item

  Create function around sql
Posted by: ayomayam - Feb-05-2020, 05:49 PM - Forum: General Coding Help - Replies (1)

iwant to pass the arguments for where clause in the below code as a argument (keyword/positional) through outside the code. how do i do this ?

from..... More

Print this item

  code not writing to projNameVal portion of code.
Posted by: umkc1 - Feb-05-2020, 05:25 PM - Forum: General Coding Help - Replies (1)

[python]import os
import shutil
##from tkinter import filedialog,messagebox
##from tkinter import *
import glob
##import pandas as pd
##import p..... More

Print this item

  How to access specific values from a dict?
Posted by: t4keheart - Feb-05-2020, 05:03 PM - Forum: General Coding Help - Replies (6)

I'm working with a dictionary (full of dictionaries, I believe?).

Here it is:
[python]{1005672: {4461048: {'body': 'Mnow test test', 'msg_id': 446..... More

Print this item

  Frustrations with Test & Dev Environments
Posted by: DarrenSmith_EA - Feb-05-2020, 04:37 PM - Forum: Bar - Replies (6)

Hi,

I am working on some research for Test and Development Environments, and I am really interested in hearing peoples stories around how they use ..... More

Print this item

  Hi how do i solve this ?
Posted by: Houston222 - Feb-05-2020, 03:51 PM - Forum: General Coding Help - Replies (3)

Hi, right now what happens is that my codes shown below will print out error even when a wrong answer is inserted, this error message under the else i..... More

Print this item

  Print only nth line
Posted by: AgileAVS - Feb-05-2020, 03:17 PM - Forum: General Coding Help - Replies (2)

FOR EXAMPLE THE FILE IS AS FOLLOWS:

[b][b]<td class="text-center">28,426</td>

<td class="text-center">240</td>

<td class="text-center">6,893,..... More

Print this item

  Show graphs in matplotlib from a sql query?
Posted by: ScaleMan - Feb-05-2020, 02:27 PM - Forum: General Coding Help - Replies (1)

Greetings,
I am in the absolute beginning of my programming journey trying to understand things and doing it the right way.
Now I somehow managed to..... More

Print this item

  Python: possibilty ro make a list of the file in the folder & change the name of file
Posted by: go127a - Feb-05-2020, 01:16 PM - Forum: General Coding Help - No Replies

I have a list of file. I am going to change the file name regarding to the modified date in below format. original file name:
[output]
2019-11-26_#0..... More

Print this item

  Pythonic way to handle/spread alerts class in multiple modules
Posted by: psolar - Feb-05-2020, 01:15 PM - Forum: General Coding Help - Replies (11)

I have a class to handle alerts that, at the end of the process, will be sent in an email. This alerts are list that should be updated during the proc..... More

Print this item

  prediction using linear regression (extrapolation?) in a loop
Posted by: karlito - Feb-05-2020, 10:56 AM - Forum: Data Science - No Replies

Hey!
sorry but the title is not clear enough because I didn't know how to describe it with few words.

As you can see in the image I have used int..... More

Print this item

  Posting value from excel to Form (Python+Selenium)
Posted by: revanth - Feb-05-2020, 10:43 AM - Forum: Web Scraping & Web Development - No Replies

[python]import selenium
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.common.exceptions..... More

Print this item

  ValueError: X has 231 features per sample; expecting 1228
Posted by: anhnguyen - Feb-05-2020, 09:18 AM - Forum: Data Science - Replies (4)

Here is the top of the script where the model was trained (I am using Logistic Regression):

[python]
data_raw = pd.read_sql(sql,cnxn)

pd.Series..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 2 hours ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... 8 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... 577440
  Tutorial Requ... 500948
  Web Scraping ... 441076
  Newbie with P... 385142
  New Users Int... 369694
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+ 12091
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