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,970
» Latest member: Seu12Jorge
» Forum threads: 38,731
» Forum posts: 175,552

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 33 Guest(s)
Google, Bing, AOL, AOL, Apple

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
46 minutes ago
» Replies: 6
» Views: 320
LOST BITCOIN OR USDT?WE H...
Forum: Networking
Last Post: leewang
53 minutes ago
» Replies: 0
» Views: 7
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
4 hours ago
» Replies: 7
» Views: 2,780
looking for help
Forum: Bar
Last Post: PhamMaria
5 hours ago
» Replies: 1
» Views: 1,904
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 647
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,178
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,744
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 635
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,131
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,108

 
  TypeError: _linspace_dispatcher() missing 1 required positional argument: 'stop'
Posted by: Ae_Lovecraft - May-27-2020, 09:52 PM - Forum: General Coding Help - Replies (3)

I'm triying to make a double reimann sum, with a limit b = (x^2 + y^2 = 16), the problem is when I use Sympy and marks as a TypeError in..... More

Print this item

  coding a decoder...
Posted by: Popkhorn - May-27-2020, 08:15 PM - Forum: General Coding Help - Replies (2)

Hello, sorry to bother you, but I'm stuck on a project and I can't figure out what's wrong.
I'm coding a python text decoder (nothing very tedious, t..... More

Print this item

  How to subtract the DayOfWeek from date from a integer?
Posted by: DarkCoder2020 - May-27-2020, 07:08 PM - Forum: General Coding Help - Replies (2)

I'm trying to subtract a date such as 05/01/2020 from a integer such as -1. Any suggestions?

[python]
int(cnt)

dteStartDate =dateti..... More

Print this item

  Class and Operators in Python
Posted by: rsherry8 - May-27-2020, 06:53 PM - Forum: General Coding Help - Replies (1)

Please consider the following Python code fragment:

[python]
import math

class Fraction:
def __init__(self,num,den):

if den < ..... More

Print this item

  How to properly do multi-processing with selenium
Posted by: shinaco - May-27-2020, 06:42 PM - Forum: Web Scraping & Web Development - No Replies

Hello everyone,

I am trying to do a complex web scraping task, but because it requires to process a large number of pages and the processing I am d..... More

Print this item

  Customizing an sklearn submodule with cython
Posted by: JHogg11 - May-27-2020, 05:39 PM - Forum: Data Science - No Replies

I'd like to create a custom DecisionTreeRegressor to be used with sklearn's RandomForestRegressor, however, to get the desired effect, I..... More

Print this item

  Web Scraping Feasibility
Posted by: pstahl - May-27-2020, 04:13 PM - Forum: Web Scraping & Web Development - Replies (2)

I recently started a new role in data analytics.

One of my daily tasks is as follows:
1. Log in to www.SalesRabbit.com
2. Navigate to a new page..... More

Print this item

  How to append a tuple full of records to a dbf file in Python?
Posted by: DarkCoder2020 - May-27-2020, 04:06 PM - Forum: General Coding Help - Replies (4)

I'm trying to append a tuple full of records into a dbf file that I received from a sql statement but it only produce one record in my tuple. This is ..... More

Print this item

  How to call bash on Python and put the result to the variable?
Posted by: meknowsnothing - May-27-2020, 03:52 PM - Forum: Homework - Replies (4)

Could anyone help me to solve the question on https://www.ohjelmointiputka.net/postit/...nnus=mpera

In English, it goes like this. Given..... More

Print this item

  Write tables from Word (.docx) to Excel (.xlsx) using xlsxwriter
Posted by: jackie - May-27-2020, 02:55 PM - Forum: General Coding Help - Replies (1)

I am trying to parse a word (.docx) for tables, then copy these tables over to excel using xlsxwriter. This is my code:

[python]from docx.api impor..... More

Print this item

  Rest API
Posted by: VeeDitty - May-27-2020, 02:07 PM - Forum: Web Scraping & Web Development - Replies (5)

First off, I know nothing about Python. But trying to explore options.
I am mainly an excel user, Tableau and Power BI.

I am interested in gett..... More

Print this item

  Frequency in first digit from csv file, NO IMPORT
Posted by: bryan0901 - May-27-2020, 12:19 PM - Forum: Homework - Replies (6)

Hi,
I have trouble with writing the codes for the frequency of the first digit in CSV file.
No import is allowed.
for example, if I have the follow..... More

Print this item

  Write SQLite query result to file
Posted by: hjk6734 - May-27-2020, 12:01 PM - Forum: General Coding Help - Replies (1)

I need to write a SQLite query result in a file:

c.execute("SELECT * FROM mytable ORDER BY date(Date) ASC LIMIT 1;")
f.write(c.fetchone())

but ..... More

Print this item

  can only concatenate str (not "int") to str
Posted by: gr3yali3n - May-27-2020, 10:26 AM - Forum: General Coding Help - Replies (6)

what do I do to get a int and a str to concatenate?
I am playing with the idle but I can't seem to make this work.
################################..... More

Print this item

  How to fully uninstall Python from Windows?
Posted by: Winfried - May-27-2020, 10:15 AM - Forum: General Coding Help - Replies (6)

Hello,

For some unknown reason (updating Pip?), I've been getting this warning when using Pip:

[quote]c:\>pip3 install mymodule
WARNING: pip is..... More

Print this item

  2 regex expression at a time
Posted by: tokstolle - May-27-2020, 09:37 AM - Forum: General Coding Help - Replies (2)

Hello together,
Im parsing a set of files which I iterative open and read line by line. Now I want to check each line for the occurrence of two strin..... More

Print this item

  How do I improve string similarity in my current code?
Posted by: SUGSKY - May-27-2020, 08:10 AM - Forum: Homework - Replies (3)

Here’s my current code:
[python]
new_list = []

for i in range(len(title1)):
for j in range(len(title2)):
r = []
title_distance = f..... More

Print this item

  Error: How to to close and restart your shell after running 'conda init'
Posted by: angelica - May-27-2020, 08:00 AM - Forum: General Coding Help - Replies (3)

Hi,

I'm a newbie in Python but not to programming. I have Anaconda3 and VS Code 3.7 installed on Windows OS. I am getting this error message and alt..... More

Print this item

  Tkinter problem
Posted by: DPaul - May-27-2020, 07:34 AM - Forum: GUI - Replies (6)

Sometimes the internet offers too many choices,
without explicitely stating what the best solution is in what circonstance.
My app involves a user a..... More

Print this item

  p]Why os.path.exists("abc/d") and os.path.exists("abc/D") treat same
Posted by: rajeev1729 - May-27-2020, 07:32 AM - Forum: General Coding Help - Replies (1)

[sup]Why os.path.exists("abc/d") and os.path.exists("abc/D") treat same but actually both are different path. Before running create abc folder and the..... More

Print this item

  Differencing Time series and Inverse after Training
Posted by: donnertrud - May-27-2020, 06:11 AM - Forum: Data Science - No Replies

Hello,

I got a non-stationary Time Series and I want to predict the target variable in the future. For simplicity, let's say that the target variab..... More

Print this item

  Module not Installing
Posted by: Evil_Patrick - May-27-2020, 06:06 AM - Forum: General Coding Help - Replies (9)

Why it showing this error ?
It was working fine 4 months back


[Image: get.png]

Print this item

  Finance: Black Scholes Model not working
Posted by: pwt - May-27-2020, 05:27 AM - Forum: General Coding Help - Replies (5)

Hi,

I'm trying to learn Python and is only my second day learning the code. At the moment, I'm trying to use the Mibia[url=https://python-forum.io/thread-27127.html]..... More

Print this item

  Make an array of string number in a List
Posted by: polantas - May-27-2020, 03:21 AM - Forum: General Coding Help - Replies (5)

Hi,
I just started to learn programming using Python, and I was wondering if anyone could help me with a solution to make an array of strings contain..... More

Print this item

  Pycharm Virtual environment
Posted by: Bark52 - May-27-2020, 02:40 AM - Forum: General Coding Help - No Replies

Hello, I am a beginner at coding and have been using Pycharm as my IDE to learn the basics of python. I have been following a book on python, and now ..... More

Print this item

  best way out of nested loops?
Posted by: Skaperen - May-27-2020, 01:46 AM - Forum: General Coding Help - Replies (7)

the best and most Pythonic way (in your opinion) to get all the way out of a few nested loops is?

Print this item

  Python WebsocketServer ? its probably simple but im a noob.
Posted by: qbot333 - May-27-2020, 01:05 AM - Forum: General Coding Help - Replies (1)

hi when i run a script it comes up this line is a error (line 92 )
what do i type in so it makes a new server on localhost?
any help wil be appricia..... More

Print this item

  How to scan huge files and make it in chunks
Posted by: ampai - May-26-2020, 11:39 PM - Forum: General Coding Help - Replies (2)

Question :

Scan a 10M log file, and create chunks of files of 100 chars lines in each chunks, from the 10M log file. 100th character can be end of..... More

Print this item

  when will Python3 be THE Python?
Posted by: Skaperen - May-26-2020, 10:00 PM - Forum: News and Discussions - Replies (13)

when i first started with Python, the symlink /usr/bin/python in Linux pointed to python2.X. i don't know when it actually changed. i am curious whe..... More

Print this item

  Beginner: Exporting variable/array using OSC
Posted by: rkk16 - May-26-2020, 08:12 PM - Forum: Homework - Replies (4)

Hi guys

I'm very new to Python and I currently just need to get by this problem for an upcoming project deadline, I'll learn more about Python after ..... More

Print this item

  Clicker Game with pygame
Posted by: CrazyMakes - May-26-2020, 07:47 PM - Forum: Code Review - No Replies

i would love if you guys could check out my game and tell me what i could change to make it better thank you for looking at this

[python]
# impor..... More

Print this item

  Can't open file
Posted by: rdgbl - May-26-2020, 07:11 PM - Forum: General Coding Help - Replies (1)

[python]print("Hello World")

C:\Users\rodri\PycharmProjects\Practice\venv\Scripts\python.exe C:/Users/rodri/PycharmProjects/Practice/priceamazon.py..... More

Print this item

  tkinter button help
Posted by: Gina92 - May-26-2020, 06:54 PM - Forum: GUI - Replies (10)

Hi I am new to python and tkinter and am trying to create a simple button that when clicked starts my function which will randomly run through a list ..... More

Print this item

  Terminal vs IDLE for Ortho4XP
Posted by: OldSubSailor - May-26-2020, 06:24 PM - Forum: News and Discussions - No Replies

I hope this is the right place.
There seems to be some sort of difference between running Ortho4XP from the Macintosh terminal and running it with ..... More

Print this item

  [pykml] "AttributeError: 'lxml.etree._ElementTree' object has no attribute 'Document'
Posted by: Winfried - May-26-2020, 05:12 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm getting started with pykml to read/edit KML files, and am stuck right at the beginning with this error:

[python]import lxml
from pyk..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 46 minutes ago tester_V snippsat General Codin...
  LOST BITCOIN OR USDT?WE H... 53 minutes ago leewang leewang Networking
  Select Python comment (#)... 4 hours ago SpongeB0B tester_V General Codin...
  looking for help 5 hours ago Azdaghost PhamMaria Bar
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [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...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577279
  Tutorial Requ... 500356
  Web Scraping ... 440959
  Newbie with P... 384982
  New Users Int... 369326
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Today
leewang Today
seomelbourneaustralia Today
Jacobjoift Today
PhamMaria Today

User Panel Messages

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