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,935
» Latest member: Baran12332
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 44 Guest(s)
Bing, AOL, Google, AOL, Facebook

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
11 hours ago
» Replies: 2
» Views: 295
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,750
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,360
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 674
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,131
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,017
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,251
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,252
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,366
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 930

 
  My boiler plate for pygame
Posted by: Windspar - Dec-12-2017, 03:47 PM - Forum: Code sharing - Replies (2)

My boiler plate for pygame is a small project.
It contains scene flipping , tick timer builtin to scenes, and has widgets.
Only tested in python 3.6..... More

Print this item

  recursive procedure(total beginner)
Posted by: boris602 - Dec-12-2017, 02:29 PM - Forum: Homework - Replies (5)

Hello guys , for my homeworks i need to create a recursive procedure for x_(k+1)=p(x_k)-x_k. x_k is some number and p(x_k) is defined as the sum of al..... More

Print this item

  recursive with memoization.. please help
Posted by: khen95184 - Dec-12-2017, 09:22 AM - Forum: Homework - Replies (6)

im trying to find the number of combinations to find a sum with several coins.
my original function works,but i dont know how to put the memoization ..... More

Print this item

  a future project: hardlink identical files
Posted by: Skaperen - Dec-12-2017, 09:19 AM - Forum: Bar - Replies (4)

a project i am looking at doing in Python in the near future is a command script the recurses through a set of file trees it is pointed to, looks for ..... More

Print this item

  builing a long variable-length command-pipeline
Posted by: Skaperen - Dec-12-2017, 04:03 AM - Forum: General Coding Help - Replies (6)

there are many tools that allow executing system commands and some can provide input and/or capture output.  but suppose you have a series of commands..... More

Print this item

  Port scanner needs review.
Posted by: RickyWilson - Dec-12-2017, 02:43 AM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How can I generate a variable in GUI
Posted by: lampas - Dec-12-2017, 12:48 AM - Forum: General Coding Help - No Replies

I made a Twitter crawling code and also made GUI. The Code that generates the entered value as a keyword variable.
But I couldn't generate a variable..... More

Print this item

  Can I Add A Second SQL Database to this code and use both?
Posted by: Rapier - Dec-11-2017, 11:18 PM - Forum: General Coding Help - Replies (9)

I basically created a table like so:
[python]import sqlite3

def create_table(db_name,sql):
with sqlite3.connect(db_name) as db:
curs..... More

Print this item

  Newbie question to find the seconds between now and midnight
Posted by: zydjohn - Dec-11-2017, 10:15 PM - Forum: General Coding Help - Replies (2)

Hello:

I need a function to tell me at now, if a specific market is open, if open return True, if not, return False.
There are 3 different markets..... More

Print this item

  Line by line execution
Posted by: Filthy_McNasty - Dec-11-2017, 10:01 PM - Forum: General Coding Help - Replies (1)

I have a script that does the job but only for one file. Just to explain what`s going on here:

 
[code]import sy..... More

Print this item

  Banners
Posted by: metulburr - Dec-11-2017, 09:45 PM - Forum: Board - Replies (5)

I added a banner plugin that allows you to plugin CSS easily and be able to flip with a switch them on or off.

Some are my maintenance banners
[at..... More


Attached Files

Thumbnail(s)
       
Print this item

  Maintenance Banner
Posted by: metulburr - Dec-11-2017, 09:43 PM - Forum: Board - No Replies

   

Quote:Reboot scheduled
This type of banner means there was a server update and the server needs to be rebooted. We are infor..... More


Attached Files

Thumbnail(s)
   
Print this item

  Cannot figure out what is wrong
Posted by: Korbrent - Dec-11-2017, 09:13 PM - Forum: Homework - Replies (12)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Django shop
Posted by: Larz60+ - Dec-11-2017, 08:27 PM - Forum: News and Discussions - Replies (2)

I was wondering if anyone has implemented a django shop, and if so, if they have some pointers on the best approach for doing this.

Print this item

  Newbie question for sorting named tuple list
Posted by: zydjohn - Dec-11-2017, 07:45 PM - Forum: General Coding Help - Replies (3)

Hello:
I have a simple question, the following is my code:
[python]
import collections
Person = collections.namedtuple('Person', ['Name', 'Age', '..... More

Print this item

  Python - Treasure Generator on 5x5 Board
Posted by: PhillySports124 - Dec-11-2017, 07:29 PM - Forum: Homework - Replies (2)

I was wondering exactly what would be the optimal format to setup a GenerateTreasure function. I already have a move player function in place around t..... More

Print this item

  discord bot (detect when someone types certain words)
Posted by: kikoko_2 - Dec-11-2017, 06:21 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Snake controls not working
Posted by: jakegold98 - Dec-11-2017, 06:00 PM - Forum: Game Development - Replies (5)

I have been following a class on udemy for pygame and were starting with this snake game. I get no errors but there has to be something I am missing i..... More

Print this item

  How do I convert my data so it works with Pandas?
Posted by: Oliver - Dec-11-2017, 04:09 PM - Forum: Data Science - No Replies

I was thinking of looking at linear regression for a set of error data. Then, be able to make a prediction what the error count might be in some futur..... More

Print this item

  Using SQLite - can't match my input password to the stored one
Posted by: KeziaKar - Dec-11-2017, 12:26 PM - Forum: Homework - Replies (2)

[python]
import sys
import sqlite3
#Program #1 - Main Page : Login or Register
#existingUser codes for a user that already has an account
def ex..... More

Print this item

  Learning python specific syntax after using other scripting languages for years
Posted by: Arcs - Dec-11-2017, 11:02 AM - Forum: Data Science - Replies (12)

Hello, I'm learning AI and if you're doing AI you need python it seems. I've long time used PHP, Javascript and occasionally bash for my job as a ful..... More

Print this item

  Custom text drawing.
Posted by: fableach - Dec-11-2017, 10:48 AM - Forum: General Coding Help - No Replies

Hellow there everyone!!
I'm new for here, I think this forum is very useful!!

well, I'm from Brazil and started to learn python a few months ago, ..... More

Print this item

  Volleyball game
Posted by: DrewD - Dec-11-2017, 05:34 AM - Forum: Homework - Replies (17)

I need to have user input scores for 5 volleyball games. The winner must score 25 points and win by 2. If the scores don't meet theses conditions, the..... More

Print this item

  PYSFTP - Password Change
Posted by: torz - Dec-11-2017, 02:32 AM - Forum: General Coding Help - No Replies

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  server reset loss data ~2 hours
Posted by: metulburr - Dec-10-2017, 11:22 PM - Forum: Board - Replies (8)

Reset server to ~2 hours ago due to messing up the server trying to get the mail server to work.

This means that new users who created an account ..... More

Print this item

  Homework-excercise
Posted by: gmit01 - Dec-10-2017, 08:13 PM - Forum: Homework - Replies (2)

Hi,
I'm a student to 1st semester and I have a problem to solve:
"Create a 5x5 random number table and calculate the sum of items per line, per column..... More

Print this item

  Why do floats get turned to scientific notation when used to populate an array?
Posted by: JoeB - Dec-10-2017, 05:47 PM - Forum: Data Science - Replies (2)

I am trying to populate an array with a data set of numbers that are imported as strings. I start by converting them to floats, and then put the float..... More

Print this item

Lightbulb Peewee returning objects and not strings..
Posted by: JerryMotov - Dec-10-2017, 04:36 PM - Forum: General Coding Help - Replies (2)

I want to get the data from my sqlite database using peewee
Currently I am trying to do this on this way:
[python]data_list = []
for email in C..... More

Print this item

  Screen printing on different threads
Posted by: MuntyScruntfundle - Dec-10-2017, 02:35 PM - Forum: General Coding Help - Replies (1)

Hi folks.

In a multi threaded app, how can I assure one 'print' command completes with a carriage return before another thread butts in and prints ..... More

Print this item

  Defining a Function
Posted by: mattt1998 - Dec-10-2017, 01:45 PM - Forum: General Coding Help - Replies (4)

I have this code that sorts a document according to the words it contains. There is a pythonic way of counting the files classified as "_fruit" and "_..... More

Print this item

  attempted multithread doesn't multithread
Posted by: meems - Dec-10-2017, 12:55 PM - Forum: General Coding Help - Replies (4)

[python]import threading,time

def simple_task(s):
      for j in range(5):
          print(s)
          time.sleep(0.5)

n=5
thread_list=[]
..... More

Print this item

  peewee.OperationalError: no such table:
Posted by: JerryMotov - Dec-10-2017, 10:27 AM - Forum: General Coding Help - Replies (3)

Python version: Python 3.6.3
I am using flask, peewee and sqlite

Hi, I am trying to connect my Python Flask application with a sqlite database.
..... More

Print this item

  Newbie question: how to generate dataframe and use multiple regression
Posted by: zydjohn - Dec-10-2017, 09:49 AM - Forum: Data Science - No Replies

Hello:
I have some code, which is not finished yet:
[python]
from scipy.stats import linregress

x0 = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
y = ..... More

Print this item

  Stack problem, repeating results that i dont want
Posted by: YapYL - Dec-10-2017, 08:24 AM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Transposing in Excel and converting to txt
Posted by: muhsin - Dec-10-2017, 07:52 AM - Forum: General Coding Help - Replies (2)

Hello;
I am a new user. I would like to automate a process that will save me a lot of time. In attached excel file I have some calculations of stress..... More


Attached Files

.xlsx   mean stress.xlsx (Size: 18.21 KB / Downloads: 588)
.txt   final output.txt (Size: 1.25 KB / Downloads: 617)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 11 hours ago arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576268
  Tutorial Requ... 497948
  Web Scraping ... 440192
  Newbie with P... 384046
  New Users Int... 366782
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 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday
marineoman Yesterday
marineservice Yesterday

User Panel Messages

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