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,969
» Latest member: samuelshlzeo7159
» Forum threads: 38,730
» Forum posts: 175,552

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 37 Guest(s)
Apple, Google Image, Bing, AOL, Facebook Dev, snippsat

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
7 minutes ago
» Replies: 8
» Views: 396
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,802
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 665
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,200
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,765
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 656
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,153
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,132
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,424
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,976

 
  Prediction of Coal Fire Power Plant Pollutants Emission
Posted by: Dalpi - May-01-2020, 11:25 PM - Forum: Data Science - Replies (2)

Dear all,
My master thesis is about the prediction of gas emissions from a coal-fired thermal plant using neural network.
With the data from the coa..... More

Print this item

  how to add the user input from file into list
Posted by: wilson20 - May-01-2020, 05:33 PM - Forum: Homework - Replies (8)

May i know what code can i use to save user's input in my current list and save it permanently? For example,
letters=['A', 'B', 'C' ]
add_letter = i..... More

Print this item

  how to create dynamic arguments to be passed in jinja template in url_for function?
Posted by: experimental - May-01-2020, 05:21 PM - Forum: Web Scraping & Web Development - Replies (1)

I am creating an online player and here I have a search box which returns songs from a databases that matches the search string searched https://prnt...... More

Print this item

  Security finding
Posted by: sec_researcher - May-01-2020, 04:53 PM - Forum: Board - Replies (8)

Hi admins, please contact me as I found a security issue on this forum that i'd like to report.

Print this item

  How to apply post request in python for establishment search for EPFO?
Posted by: rajeev1729 - May-01-2020, 04:45 PM - Forum: Web Scraping & Web Development - No Replies

I want to scrap payment details from EPFO site but unable to apply post request for same. Any help will be appreciated.
[python]import os
from bs4 i..... More

Print this item

  Getting FileNotFoundError: [Errno 2] ,if tries to acees same file from sub-directory
Posted by: pmpinaki - May-01-2020, 03:53 PM - Forum: General Coding Help - Replies (2)

Hi,

I created a text file within the directory where I write my script file.
So when I tries to run the below code, it runs perfectly fine:

[py..... More

Print this item

  Comparing dates
Posted by: tpolim008 - May-01-2020, 02:26 PM - Forum: Data Science - Replies (5)

Hello, I am not sure that this is being placed into the right area of the forum so for that if I am wrong sorry. For starters Im new to getting into p..... More

Print this item

  .png data as matrix ?
Posted by: Hambonius - May-01-2020, 02:25 PM - Forum: General Coding Help - Replies (2)

Hi,

What is the best python3 strategy for extracting the data chunk from a small monochrome .png file, representing a QR code? Ultimately, I want t..... More

Print this item

  Where is mod_wsgi for Apache on Windows?
Posted by: jfha73 - May-01-2020, 02:21 PM - Forum: Web Scraping & Web Development - No Replies

Hey guys,

I can't find it, so I downloaded the sources from GIT, ran

python setup.py install
to compile it, it finished successful..... More

Print this item

  Rock Paper Scissors with dictionaries
Posted by: ewgreht - May-01-2020, 02:15 PM - Forum: General Coding Help - Replies (2)

I am making a more advanced version of Rock Paper Scissors and I am using dictionaries to define my rules but I most of the time when I run the code I..... More

Print this item

  How to use "create_degree_sequence"
Posted by: asallili22 - May-01-2020, 02:11 PM - Forum: General Coding Help - Replies (2)

Hi,

I am rather new to Python and I have a difficulty to use "networkx.Utils". I want to create a graph by creating a degree sequence. However, I d..... More

Print this item

  Python Password Saver Assignment
Posted by: sshellzr21 - May-01-2020, 01:54 PM - Forum: Homework - Replies (2)

Hello all,

I have figured out the main parts of the assignment and am just trying to add the extra credit piece (add a 'delete password' function)..... More

Print this item

  Executing a command which fails
Posted by: ebolisa - May-01-2020, 12:46 PM - Forum: General Coding Help - No Replies

Hi,

Running the command

gphoto2 --force-overwrite --get-all-files
using 2 options works. However, when I run it via script it fails ..... More

Print this item

  Python for everybody Course 3
Posted by: bhawish_kumar9 - May-01-2020, 10:35 AM - Forum: Homework - Replies (1)

This is the following question . I am stuck on it from days and I have searched everywhere but I don't understand other people's solution on Github . ..... More

Print this item

  count each element in a list
Posted by: glennford49 - May-01-2020, 09:37 AM - Forum: General Coding Help - Replies (9)

hi guys , i want to print same element in each item in a list,
my code returns nothing except if i print list2,
it should return 3 elements in firs..... More

Print this item

  IndexError: index out of range: 0
Posted by: tomX - May-01-2020, 07:19 AM - Forum: General Coding Help - Replies (1)

Hi!
Im getting this error:
[quote]
processing.app.SketchException: IndexError: index out of range: 0
at jycessing.mode.run.SketchRunner.convertPytho..... More

Print this item

  Tic-Tac game (Beginner's coding)
Posted by: Shahmadhur13 - May-01-2020, 06:48 AM - Forum: General Coding Help - Replies (6)

I have tried to code Tic-Tac game.
I think my code needs lots of optimization but can't figure that out.
FYI: I haven't studied maths/matrix after s..... More

Print this item

  Python timer script stops before should
Posted by: ozstar - May-01-2020, 06:19 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a script that starts and is supposed to run for a pre determined time set out in a txt file, like this.. first one 2.55 pm and run for 5..... More

Print this item

  Python Request's Proxies not working.
Posted by: Fudster - May-01-2020, 06:15 AM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to use requests with proxies, but it only shows my local IP

Here's my test code.

[code]#!/usr/bin/python3

import requests
impor..... More

Print this item

  Breaking a loop in Multiple Random Walks
Posted by: PythonGainz - May-01-2020, 06:11 AM - Forum: Data Science - Replies (10)

Happy Labor Day everyone!

Currently using Spyder(Python3.7)
I'm following an example from a textbook here:

[python]import matplotlib.pyplot as..... More

Print this item

  color names
Posted by: jimrinaldo - May-01-2020, 05:41 AM - Forum: General Coding Help - Replies (9)

I want a list of all the color names usable for the turtle.color call. where or how do I find it?

Print this item

  Help me input the Rawdata file so that it can output DataErrorFile and ValidData.txt
Posted by: Halozeus - May-01-2020, 05:04 AM - Forum: General Coding Help - Replies (6)

[python]datainput=open('DataInput.txt', 'r')
Validateddata=open('ValidData.txt', 'w')
Incorrectdata=open('DataErrorFile.txt', 'w')

print("This pr..... More

Print this item

  Sqlite3 DELETE question
Posted by: DT2000 - May-01-2020, 12:29 AM - Forum: General Coding Help - Replies (7)

I have been reading a number of threads on how to accomplish this but for some reason it is not working.
I need to delete a specific row from a datab..... More

Print this item

  Enigma Program not working properly
Posted by: npd29 - May-01-2020, 12:27 AM - Forum: Homework - Replies (3)

Hi Everyone,
I made a program for my computer programming final that acts like the German machine "enigma" however I cannot get it to encode things p..... More

Print this item

  Merging multiple pdf's
Posted by: jonathan2582 - Apr-30-2020, 11:52 PM - Forum: General Coding Help - Replies (7)

Hi, is there a way to merge multiple pdf's according to the name(i.e. if the first seven characters of the name are equal.) I have thousands of pdf's ..... More

Print this item

  Unable to import my own module
Posted by: ThePhantom - Apr-30-2020, 11:19 PM - Forum: General Coding Help - Replies (3)

Hi everyone,

I am relatively new to python but I am trying to use it more extensively for post-processing of fluid mechanics data.
I am currently ..... More

Print this item

  help to add user agents
Posted by: MRT97 - Apr-30-2020, 09:42 PM - Forum: General Coding Help - Replies (3)

[python]import os
try:
from torrequest import TorRequest
except:
os.system("pip install torrequest && clear")
from torrequest import TorReques..... More

Print this item

  best way to add item to list only once
Posted by: Phaze90 - Apr-30-2020, 09:27 PM - Forum: General Coding Help - Replies (1)

Hi,

what is the more effective way of the both below?
Or is there a third variant?

[python]
def add_only_once_to_list(in_obj, in_list,):
..... More

Print this item

  SQlite question
Posted by: scratchmyhead - Apr-30-2020, 09:18 PM - Forum: GUI - Replies (2)

When I run this piece of code, I get a syntax error. Could someone please pinpoint the error.


[python]
conn = sqlite3.connect('roominventory.db'..... More

Print this item

  Conditional Cumsum in pandas data-frame
Posted by: klllmmm - Apr-30-2020, 07:36 PM - Forum: General Coding Help - Replies (1)

I'm trying to get a cumulative total if the code is equal to 100.

[python]
df = pd.DataFrame(data = {'Code':[100,100,200,300,100],
..... More

Print this item

  Buildozer fails building Kivy app for android
Posted by: Kolterdyx - Apr-30-2020, 06:30 PM - Forum: General Coding Help - No Replies

I am trying to build an APK using the Kivy framework. When I try to build the app, I get an error with this output:

[output]Exception in thread "ma..... More

Print this item

  program error
Posted by: Dalpi - Apr-30-2020, 06:19 PM - Forum: General Coding Help - Replies (4)

Dear all, I tried to run a program that I found on the internet but it was not possible because it presented an error. Here you can see the program li..... More

Print this item

  Flask cannot see my modules
Posted by: anna_naden - Apr-30-2020, 05:49 PM - Forum: General Coding Help - Replies (4)

I have a Flask application and each python module has a doctest which runs successfully. However, when I run the modules under flask, I get "module no..... More

Print this item

  Python Tkinter (sqlite)
Posted by: scratchmyhead - Apr-30-2020, 05:44 PM - Forum: GUI - Replies (1)

I am using Python Tkinter and i'm using sqlite in the program. In part of the program, when accessing a database with sqlite, how do I get the oid num..... More

Print this item

  Assigning Data from one column to another with different associated timing interval
Posted by: alexafshari - Apr-30-2020, 03:47 PM - Forum: General Coding Help - Replies (1)

Hi Everyone,

I`m struggling to find a solution to resolve my issue regarding assign some data from one series of a dataset to a specific column. Y..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 7 minutes ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 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...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577289
  Tutorial Requ... 500456
  Web Scraping ... 440966
  Newbie with P... 384997
  New Users Int... 369405
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 7370
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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