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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,538

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 227
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
11 hours ago
» Replies: 4
» Views: 655
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 751
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 4,985
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,642
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,685
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 312
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 536
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,981
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,760

 
  Simple password generator using a module I made myself
Posted by: Fr4nkl1n_1k3h - Aug-06-2020, 11:02 PM - Forum: Code Review - Replies (3)

Hello guys this is my first post.
Here's the link to the code: https://github.com/fr4nkl1n-1k3h/Password_Generator

Print this item

  My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize'
Posted by: RuanKishibe - Aug-06-2020, 09:50 PM - Forum: General Coding Help - Replies (1)

First things first, english isn´t my first language, but I will still try my best.

I´m a newbie in Python (started to program in it two weeks ago)..... More

Print this item

  What Does from tkinter import filedialog Mean?
Posted by: JoeDainton123 - Aug-06-2020, 09:30 PM - Forum: General Coding Help - Replies (2)

Hello all

New to python.

I just wanted to ask what does the following mean:-

import tkinter 
Would it be correct to s..... More

Print this item

  tmdbsimple error
Posted by: pythonnewbie138 - Aug-06-2020, 09:16 PM - Forum: General Coding Help - Replies (4)

I'm running into an obstacle in converting my TMDB query script into a function. The only change is having the search query as the only argument in th..... More

Print this item

  Execute full script
Posted by: samuelbachorik - Aug-06-2020, 08:09 PM - Forum: General Coding Help - No Replies

Hi dear users, in this code my function detects mouse click and while loop is refreshing x and y positions of mouse. I need these values together but ..... More

Print this item

  list.index() help
Posted by: qmfoam - Aug-06-2020, 07:53 PM - Forum: General Coding Help - Replies (4)

I have a 2D list called sampleArray. type(sampleArray) shows that it is a list. A small sample of the list is:

[python]
sampleArray = [['2020-07..... More

Print this item

  Trying to get a "simple" code to work, re: 3.5 vs 3.8 vs Not using Linux
Posted by: Evalias - Aug-06-2020, 07:31 PM - Forum: Data Science - Replies (3)

So, I have this code as an example test to check out moving averages from a .csv file, using Jupyter notebook (although I uninstalled version 3.8 abou..... More

Print this item

  Assigning multiple values using tuple
Posted by: sivacg - Aug-06-2020, 07:07 PM - Forum: General Coding Help - Replies (2)

As a newbie, I am trying to understand the assigning multiple values using tuples. May I request one of you to help me here?

[python]
>>> a=('x','..... More

Print this item

  How to define a function to create a resorted list?
Posted by: sparkt - Aug-06-2020, 06:33 PM - Forum: General Coding Help - Replies (6)

After day-long trial-and-error and research I found the code from web which does what I tried to do, i.e. resorting a list according to absolute diffe..... More

Print this item

  Extracting rows based on condition on one column
Posted by: Robotguy - Aug-06-2020, 04:22 PM - Forum: Data Science - Replies (2)

Hi Everyone,

Here is an interesting problem I am trying to solve.

I have a (Nx4) array and want to extract those rows which have their third co..... More

Print this item

  HELP!!!
Posted by: munirh070 - Aug-06-2020, 04:13 PM - Forum: General Coding Help - Replies (6)

#######################################
[python]number = [1,1,1,1,1,1,1,1,1,1]

for i in car:
if(i == 1):
number.remove(i)

print(c..... More

Print this item

  Bullet firing
Posted by: skillamac - Aug-06-2020, 04:00 PM - Forum: Game Development - Replies (3)

I'm working on a python game for uni and Im having an issue. I cant seem to get the bullets to fire from my spaceship and I dont know why? Ive checked..... More

Print this item

  IndexError in Project Euler attempt
Posted by: CRISPRmetoopls - Aug-06-2020, 03:33 PM - Forum: General Coding Help - Replies (3)

Hi everyone!
I'm trying to familiarise myself with maths and CS, so I started doing these little Project Euler challenges.
This is the one I tried t..... More

Print this item

  WinError 87 while running .exe file
Posted by: Timych - Aug-06-2020, 02:36 PM - Forum: General Coding Help - No Replies

Hello everyone! Maybe it is an offtop but I am a bit puzzled.. Just generated exe file for my GUI python program for working with some geospatial data..... More

Print this item

  Excel password recovery tool for work
Posted by: OTH - Aug-06-2020, 02:29 PM - Forum: General Coding Help - Replies (6)

Hi,

I am new to this forum and have only posted one other post but i am working on a few codes at once, I am still not sure whether I am completing..... More

Print this item

  need to define date range of files to copy over
Posted by: OTH - Aug-06-2020, 02:06 PM - Forum: General Coding Help - Replies (4)

Hi,

This is my first post so really sorry if I have done this incorrectly.

I have added raw_input that lets the user choose file extension.
Th..... More

Print this item

  Extracting year from a string using strptime and datetime builtin
Posted by: Drone4four - Aug-06-2020, 02:04 PM - Forum: General Coding Help - Replies (3)

I’m trying to extract the year from a date of a string. One way of doing it would be to use string slicing which is easy and obvious. But I am trying..... More

Print this item

  Updating dictionary with tuple
Posted by: Mark17 - Aug-06-2020, 02:02 PM - Forum: General Coding Help - Replies (2)

I'm trying to understand the update method by adding a tuple to a dictionary. Can someone please the Traceback here? I was able to add a list of two..... More

Print this item

  how to retain time format in df.to_csv
Posted by: Mekala - Aug-06-2020, 01:50 PM - Forum: General Coding Help - Replies (2)

Hi,
I have below data in csv file, and I read the file and rewrite. When write to csv using df.to_csv, it lossing time format, I want to show full ti..... More

Print this item

  Windows 10 Python Version
Posted by: DevSrc8 - Aug-06-2020, 01:45 PM - Forum: General Coding Help - Replies (6)

I have a new 64 bit windows 10 machine and downloaded python 3.8.5 along with anaconda's spider IDE and was unable to get PyPDF2 or Camelot to work fo..... More

Print this item

  Need help with a code
Posted by: saratha - Aug-06-2020, 10:57 AM - Forum: Homework - Replies (5)

Hey everyone,
I have a problem solving this code, so can you help?

The problem is: to do a repetition count and give the result as a dictionary. ..... More

Print this item

  Preference based sorting
Posted by: hrefamid - Aug-06-2020, 07:31 AM - Forum: General Coding Help - Replies (3)

Given a text file as input with each line representing an element (a, b, c, d... for the sake of this example), how would you write a python script th..... More

Print this item

  Flask, Display a picture outisde the static
Posted by: SpongeB0B - Aug-06-2020, 05:40 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi everyone,

I have a html page under template\about\index.html

Is it possible to display an image who is located in the same path -> template\a..... More

Print this item

  how to install pyramid.arima in jupyter notebook
Posted by: bntayfur - Aug-06-2020, 04:29 AM - Forum: General Coding Help - Replies (1)

!pip install pyramid.arima
from pyramid.arima import auto_arima
[error]
....

error: Microsoft Visual C++ 14.0 is required..... More

Print this item

  How to run diskpart from python script
Posted by: obgocs - Aug-06-2020, 04:26 AM - Forum: General Coding Help - Replies (1)

Hello Everyone,

I'm looking to wipe several laptop drives using a bootable usb and a python script that will run diskpart and the list disk, select..... More

Print this item

  New to this! Looking for tips and critique please!
Posted by: juanhunnit - Aug-05-2020, 11:38 PM - Forum: Code Review - Replies (1)

HEY, THE CODE BELOW IS AN EXPERIMENT WITH A SIMPLE PREDICTION MODEL. IT IS MY FIRST CODING, SO I'M LOOKING FOR OPINIONS ON THE QUALITY AND ANY ADVICE ..... More

Print this item

  Help with getting a led to flash.
Posted by: corsasri - Aug-05-2020, 07:21 PM - Forum: General Coding Help - Replies (10)

I’m looking for a bit of help trying to get a led to blink on and off. I have tried adding a bit of code to different locations in the script but just..... More

Print this item

  Adding an image to a tkinter window
Posted by: djwilson0495 - Aug-05-2020, 04:54 PM - Forum: GUI - Replies (2)

Hi I'm trying to add an image to a tkinter window using the following code
[python]
from tkinter import * # gives access to tkinter GUI library

d..... More

Print this item

  RuntimeError: Optimal parameters not found: Number of calls to function has reached m
Posted by: bntayfur - Aug-05-2020, 04:38 PM - Forum: General Coding Help - No Replies

[python]
population = float(46750238)
country_df = pd.DataFrame()
country_df['ConfirmedCases'] = train.loc[train['Country_Region']=='Spain'].Confir..... More

Print this item

  Delete line of file
Posted by: dionatandiego11 - Aug-05-2020, 02:27 PM - Forum: Homework - Replies (2)

Hi,

I would like to create a function that when triggered deletes line from a txt file

ex:
[python]a = input ("which movie would you like to ..... More

Print this item

  Quotes vs. no quotes around numbers
Posted by: Mark17 - Aug-05-2020, 01:40 PM - Forum: General Coding Help - Replies (6)

This code works:
[Python]
if '2011' in baby_names:
print('Found 2011')

if 1 in baby_names[2012]:
print('Found Rank 1 in 2012')
el..... More

Print this item

  Extract data from a table
Posted by: Bob_M - Aug-05-2020, 12:49 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi everyone, I am a novice with Python and learning BeautifulSoup. I understand (at least I think) the basics and have done some succesfull scraping (..... More

Print this item

  absolute imports between folders
Posted by: mikisDW - Aug-05-2020, 12:26 PM - Forum: General Coding Help - No Replies

Hello,

I'm working on a tkinter gui, and I keep having issues with imports.
I've spent quite some time reading about imports, but I guess it still..... More

Print this item

  problem with libspatialindex using tkinter
Posted by: Timych - Aug-05-2020, 11:35 AM - Forum: General Coding Help - Replies (1)

I am trying to generate .exe with the help of pyinstaller. However, when I try to run my executable file it generates an error :

[python]in exec_mo..... More

Print this item

  _tkinter.TclError: bitmap "Icon.gif" not defined
Posted by: djwilson0495 - Aug-05-2020, 09:47 AM - Forum: GUI - Replies (2)

I'm trying to change the icon of the tkinter window for the following code:
[python]
from tkinter import * # gives access to tkinter GUI library

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 1 hour ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 11 hours ago RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 577069
  Tutorial Requ... 499876
  Web Scraping ... 440814
  Newbie with P... 384802
  New Users Int... 368925
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Yesterday
Xuitar Yesterday
SprunkiRetake Yesterday
GnomeSweetGnome 09-25
alxpetrovo2272 09-25

User Panel Messages

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