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,987
» Latest member: Williamcaurb
» Forum threads: 38,735
» Forum posts: 175,577

Full Statistics

Online Users
There are currently 46 online users.
» 1 Member(s) | 36 Guest(s)
Google, Bing, AOL, Twitter, Tycho_2025

Latest Threads
Cannot update or install ...
Forum: General Coding Help
Last Post: Williamcaurb
6 minutes ago
» Replies: 7
» Views: 237,681
Доставка цветов в Томске
Forum: General Coding Help
Last Post: Williamcaurb
7 minutes ago
» Replies: 0
» Views: 1
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
57 minutes ago
» Replies: 3
» Views: 2,515
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 55
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 6
» Views: 177
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,040
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 452
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,083
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,152
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 835

 
  selecting customized seasons from monthly time series
Posted by: Staph - Jul-05-2019, 02:18 AM - Forum: Data Science - Replies (3)

I have monthlly time seris data like this

data = [1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,...]

where 1,..... More

Print this item

  Returned value not defined
Posted by: somerandomguy123 - Jul-05-2019, 12:56 AM - Forum: Game Development - Replies (2)

I tried to create a random leveling system for mobs in my game, however, when I tried to check the output of a returned value It shows un in the conso..... More

Print this item

  __getattr__ and type hint
Posted by: itaybardugo - Jul-04-2019, 09:50 PM - Forum: General Coding Help - No Replies

Hi
I have a Foo class(its an abstract one) with the magic Method __getattr__
And i have also a Bar class which inherits Foo,

When Foo.__getattre__ is..... More

Print this item

  extract from strings some parts
Posted by: dervast - Jul-04-2019, 09:25 PM - Forum: General Coding Help - Replies (1)

Hi,
I have a data frame where a specific columns is filled in with long strings. I want for each entry there to extract a specific word if that word ..... More

Print this item

  index out of range
Posted by: rwahdan - Jul-04-2019, 07:00 PM - Forum: General Coding Help - Replies (3)

Hi,
I took python code for sudoku game and when I run the code i ran to error "out of range" please help me with this one.

[python]

import sys..... More

Print this item

  Substracting today's date from a date in column of dates to get an integer value
Posted by: firebird - Jul-04-2019, 06:45 PM - Forum: General Coding Help - Replies (1)

Hello to All!
I'm new in python programming and i need your help with the following problem. I have a CSV file with a column containing multiple date..... More

Print this item

  IndexError: string index out of range ?
Posted by: Q_Y - Jul-04-2019, 06:10 PM - Forum: General Coding Help - Replies (5)

Hello all,

I just start to learn python, working on the chapter of THE BAGELS DEDUCTION GAME.

No matter how hard I am, the order just failed.
..... More

Print this item

  How to build exe/deployable file from Python Project
Posted by: ShikhaJain - Jul-04-2019, 04:48 PM - Forum: General Coding Help - Replies (1)

I am new to Python, and I have a Python application with few .py files, and few config files in a separate config folder under the project.
I have to..... More

Print this item

  Histogram using pandas dataframe not showing proper output
Posted by: ift38375 - Jul-04-2019, 04:45 PM - Forum: Homework - Replies (1)

I am doing coding in script mode :
[python]
import pandas as pd
ontutD = {'Tutor': ['Tahira','Gagan','Anusha','Jacob','venkat',
..... More

Print this item

  parallel for loop with multiprocessing
Posted by: dervast - Jul-04-2019, 03:16 PM - Forum: General Coding Help - No Replies

Hi all,
I have a for loop that takes as input rows of a dataframe and returns back a new dataframe row that needs to be appended.

[python]for i in..... More

Print this item

  Help to understand my mistake
Posted by: TeeMan - Jul-04-2019, 02:37 PM - Forum: General Coding Help - Replies (8)

Hello to all the community, if I allow myself to write to you, it is to obtain help concerning the errors, which I obtain by launching my script and w..... More

Print this item

  i am currently listening to Heilung's new release
Posted by: Skaperen - Jul-04-2019, 02:37 PM - Forum: Bar - Replies (5)

i am currently listening to Heilung's new release at https://www.youtube.com/watch?v=SMJ7pxqk5d4

Print this item

  Find which streets the car has traversed
Posted by: dervast - Jul-04-2019, 02:36 PM - Forum: News and Discussions - Replies (3)

Hi all
I have a dataframe that containts Longitude and Latitudes and I wanted to ask if you can think of a way for me to find out if the car has move..... More

Print this item

  Converting Smiles to Fingerprint with pandas iterrows/apply-function:
Posted by: Jompie96 - Jul-04-2019, 01:39 PM - Forum: General Coding Help - No Replies

Im trying to iterate my function over a column but it doesn't work properly. Could you guys show me where I have to correct my code?

Thats my Code..... More

Print this item

  Home Directory
Posted by: pgoosen - Jul-04-2019, 11:08 AM - Forum: General Coding Help - Replies (9)

Hi Guys and Gals,

I'm running Python on Windows 10 with XAMPP and it works fine so far. Now I want to use pie charts and I have to get some modules..... More

Print this item

  NOMAD Solver in Python
Posted by: GaRaGe - Jul-04-2019, 09:54 AM - Forum: Data Science - Replies (1)

I am trying to find a Python equivalent package to "Snomadr" Library in R. I need it to run NOMAD - Non linear optimization algorithm. Can anyone help..... More

Print this item

  ModuleNotFoundError: No module named 'stop_words'
Posted by: knchris2004 - Jul-04-2019, 09:22 AM - Forum: Data Science - Replies (6)

am trying to run this code but am getting this error

from __future__ import division
from sklearn.model_selection import train_test_split
from s..... More

Print this item

  Unexpected Output using classes and inheritance
Posted by: langley - Jul-04-2019, 08:28 AM - Forum: General Coding Help - Replies (2)

I am a beginner at python and in the code below I get an error saying attribute was not defined or saying a list is not callable if I make a few chang..... More

Print this item

  Making a generalised CSV COPY script in Python
Posted by: Sandy7771989 - Jul-04-2019, 08:18 AM - Forum: General Coding Help - Replies (3)

Hi All,

I'm using the below Python script to COPY a CSV file to one of my PostgreSQL database table.[b]The script below is working fine,But i'm thi..... More

Print this item

  How Quantile calculate
Posted by: ift38375 - Jul-04-2019, 01:14 AM - Forum: Data Science - Replies (2)

Given below is source code for Pandas dataframe :
[python]
import pandas as pd
diSales= { 2016:{'qtr1':34500,'qtr2':56000,'qtr3':47000,'qtr4':4900..... More

Print this item

  I'm trying to figure out whether this is a method or function call
Posted by: 357mag - Jul-04-2019, 12:53 AM - Forum: General Coding Help - Replies (2)

I'm doing some simple string formatting examples in Python and I'm using the old style C method for an example in my program. I understand that when y..... More

Print this item

  [XFce]i am again looking for sample menu code
Posted by: Skaperen - Jul-03-2019, 11:08 PM - Forum: GUI - Replies (6)

i am, again, looking for sample menu code. an idea case would be code that reads a config file that describes the menu layout, what to show at each i..... More

Print this item

  Trouble with global variables
Posted by: somerandomguy123 - Jul-03-2019, 09:47 PM - Forum: Game Development - Replies (3)

I am trying to make an experience system for my summer game project but for some reason it does not seems to carry over to the function of experience ..... More

Print this item

  Beginner problem in python script
Posted by: Cedmo - Jul-03-2019, 09:34 PM - Forum: General Coding Help - Replies (3)

Hi there,
I have followed a tutorial, but i don't manage to solve this error :
[error]"cedmo@cedmo-HP-EliteBook-8770w:~$ ./DragonRdm.py
File "./D..... More

Print this item

  Conditional importing inside a function
Posted by: Roger - Jul-03-2019, 07:05 PM - Forum: General Coding Help - Replies (1)

I would like to have a file "functions.py" where I collect functions that might be usefull.
Different functions may require different imports. Instea..... More

Print this item

  Week of 7/5/2019
Posted by: metulburr - Jul-03-2019, 05:57 PM - Forum: Weekly Top Picks - Replies (8)

The purpose of this thread is to compile a list of posts between Fri June 28th - Fri July 5th that has well established posts to be nominated top pick..... More

Print this item

  Dilemma over Learning PowerShell or Python
Posted by: Takeshio - Jul-03-2019, 05:17 PM - Forum: News and Discussions - Replies (3)

Hi Guys,

I have learned the basics of Python 3 on my Mac and Linux machines and the projects I created were pretty handy.

I learning Machine Lea..... More

Print this item

  Extra annoying window
Posted by: mcmxl22 - Jul-03-2019, 05:09 PM - Forum: GUI - Replies (1)

I am starting to mess around with tkinter. I'm doing ok but an extra window labeled C:\WINDOWS\py.exe pops up behind the window I make. Is there a way..... More

Print this item

  PyQT5 : Unable to Create Another Dialog While One is Open
Posted by: iMuny - Jul-03-2019, 04:13 PM - Forum: GUI - Replies (3)

Dear All

Hope you all are doing well. I've just recently ventured into the world of PyQt through online tuts etc. and it's feeling a bit overwhelmi..... More

Print this item

  Weekly top picks
Posted by: metulburr - Jul-03-2019, 04:01 PM - Forum: Board - Replies (4)

You guys remember way back on the old forum we use to do a weekly "top picks". Meaning every week users (mainly those fluently active on the forum) wo..... More

Print this item

  Lottery generator (beginner)
Posted by: Hullari - Jul-03-2019, 02:59 PM - Forum: General Coding Help - Replies (3)

Hello!
I just started to learn python and I'm a bit lost at the moment.
Also new here, so correct me if and when I'm doing something wrong.

I'm t..... More

Print this item

  Python/BeautiifulSoup. list of urls ->parse->extract data to csv. getting ERROR
Posted by: IanTheLMT - Jul-03-2019, 01:51 PM - Forum: Web Scraping & Web Development - Replies (2)

I have a list of urls in a csv file (I can either host said file on my local machine or online). I need to pull biz name, address, and phone # from th..... More

Print this item

  Embedding or adding IDE like "repl" inside Flask app
Posted by: sray - Jul-03-2019, 01:25 PM - Forum: General Coding Help - Replies (1)

Hi,
I want to create a question web application in Flask and app should provide a repl like ide to record the results of question in response.Can an..... More

Print this item

  Error installing numpy
Posted by: srm - Jul-03-2019, 01:09 PM - Forum: Data Science - Replies (3)

I am working on windows server 2012 R2 and trying to install numpy 1.11.2 to work with python 3.7.2 ...some how its not getting installed and asking f..... More

Print this item

  Text files
Posted by: vretenica - Jul-03-2019, 01:02 PM - Forum: Data Science - Replies (5)

Hi, is it OK for my PC when my python code works with 200 000 small text files? My python program opens every second new text file writes there one nu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Cannot update or install ... 6 minutes ago nickystixx45 Williamcaurb General Codin...
  Доставка цветов в Томске 7 minutes ago Williamcaurb Williamcaurb General Codin...
  Fred Economic Data API 57 minutes ago warrior42 Trickety Web Scraping ...
  create ocr to detect lice... 2 hours ago bimosora noisefloor General Codin...
  Parse Markdown / get the ... 2 hours ago SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 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...
Most views
  The best Prog... 577462
  Tutorial Requ... 501186
  Web Scraping ... 441085
  Newbie with P... 385158
  New Users Int... 369793
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 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Williamcaurb Today
Tycho_2025 Today
chikkamagalur Today
Costa Today
bimosora Today

User Panel Messages

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