Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,764
» Latest member: IslamicKFC
» Forum threads: 37,466
» Forum posts: 170,210

Full Statistics

Online Users
There are currently 413 online users.
» 0 Member(s) | 404 Guest(s)
Google, Facebook, Baidu, Bing, Yandex, Mojeek, AOL, Apple

Latest Threads
Class and methods
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 2
» Views: 132
[SOLVED] [listbox] Feed i...
Forum: General Coding Help
Last Post: Winfried
2 hours ago
» Replies: 2
» Views: 125
Parsing "aTimeLogger" And...
Forum: Data Science
Last Post: Drone4four
9 hours ago
» Replies: 1
» Views: 116
websocket help
Forum: Networking
Last Post: alvpascual
11 hours ago
» Replies: 1
» Views: 1,185
Modifying a dictionary re...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 04:09 PM
» Replies: 2
» Views: 96
get a game to run in full...
Forum: Game Development
Last Post: menator01
Yesterday, 11:23 AM
» Replies: 1
» Views: 293
Understanding subprocess....
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 10:46 AM
» Replies: 6
» Views: 185
program wanted for Posix
Forum: Bar
Last Post: Gribouillis
Yesterday, 10:19 AM
» Replies: 1
» Views: 153
short version of os.listd...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 09:11 AM
» Replies: 4
» Views: 181
[split] Class and methods
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 08:07 AM
» Replies: 2
» Views: 132

 
  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

  Change Label Every 5 Seconds
Posted by: gw1500se - May-26-2020, 04:06 PM - Forum: GUI - Replies (4)

I have written a loop that changes a Label. However, I don't know how to wait until the changed label is displayed to start my time delay. If I change..... More

Print this item

  Python web app implementation
Posted by: Shruthi - May-26-2020, 02:29 PM - Forum: Web Scraping & Web Development - Replies (2)

I am doing a POC to create a webpage to upload an image file and save the file in RDBMS using python code.
Can I do this without any framework ?
I d..... More

Print this item

  Hashing Passwords (HELP)
Posted by: MianDoesCoding - May-26-2020, 02:15 PM - Forum: Homework - Replies (4)

Hey guys so what i'm new to python and my brother challenged me with this.
Make a thing where it asks you 'sign up or login?'
if you pick sign up it..... More

Print this item

  pd.concat Problem
Posted by: WiPi - May-26-2020, 01:34 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I am struggling to get the pd.concat function to merge (or append) two csv files. Each file has 4 x columns with the same type of data. My..... More

Print this item

  Making An app (Need people urgently!)
Posted by: MianDoesCoding - May-26-2020, 01:24 PM - Forum: Bar - Replies (5)

Hey everyone!
My third post :)
So i have decided to make an app, idk what about or whats in it, but i was wondering if anyone wanted to help me and ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Class and methods 1 hour ago Saida2024 deanhystad General Codin...
  [SOLVED] [listbox] Feed i... 2 hours ago Winfried Winfried General Codin...
  Parsing "aTimeLogger" And... 9 hours ago Drone4four Drone4four Data Science
  websocket help 11 hours ago johnbob alvpascual Networking
  Modifying a dictionary re... Yesterday, 16:09 SpongeB0B Gribouillis General Codin...
  get a game to run in full... Yesterday, 11:23 agencyclearly menator01 Game Developm...
  Understanding subprocess.... Yesterday, 10:46 Pedroski55 Pedroski55 General Codin...
  program wanted for Posix Yesterday, 10:19 Skaperen Gribouillis Bar
  short version of os.listd... Yesterday, 09:11 Skaperen snippsat General Codin...
  [split] Class and methods Yesterday, 08:07 ebn852_pan Gribouillis General Codin...
  Visualizing musician char... Yesterday, 02:23 Drone4four Drone4four Data Science
Most views
  The best Prog... 446033
  Web Scraping ... 330155
  Tutorial Requ... 319995
  Newbie with P... 270007
  Thread remain... 254715
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 313
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11882
buran 8091
snippsat 7104
deanhystad 6252
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
IslamicKFC Today
alvpascual Yesterday
Jewelvob Yesterday
Richardtax Yesterday
RUPESH Yesterday

User Panel Messages

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