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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
9 hours ago
» Replies: 1
» Views: 53
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
9 hours ago
» Replies: 11
» Views: 260
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
10 hours ago
» Replies: 3
» Views: 101
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Today, 05:07 AM
» Replies: 5
» Views: 231
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 92
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,601
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 187
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 172
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,872
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,408

 
  Py2EXE: terminal window closes after pressing ENTER
Posted by: peanutbutterjelly - May-06-2017, 05:36 PM - Forum: General Coding Help - Replies (1)

I've converted a python script to an exe file, whenever I open the exe the program runs fine and it will ask for user input. But when I do so and pres..... More

Print this item

  Ruby face palm
Posted by: Mekire - May-06-2017, 02:19 PM - Forum: Bar - Replies (9)

Been going through this book for kicks:  
Mazes for programmers[/ur[url=https://python-forum.io/thread-3218.html]..... More

Print this item

  Issues with running regedit command from python
Posted by: gohanzdad - May-06-2017, 06:09 AM - Forum: General Coding Help - Replies (10)

I've been working on a script for someone and they need the Windows registry backed up before the script is run.  I've been using the code below, but ..... More

Print this item

  Help printing any items that contains a keyword from a list
Posted by: Liquid_Ocelot - May-06-2017, 12:00 AM - Forum: Homework - Replies (13)

Hey everybody really appreciate the help lately however I am stuck on something that might be rather simple and I am missing the point.
I need to pri..... More

Print this item

  Special book discount
Posted by: Larz60+ - May-05-2017, 10:06 PM - Forum: News and Discussions - No Replies

For registered users (can do it now) o
Doug Hellman's: The Python 3 Standard Library by Example First edition,

The Python 3 Standard Library by Ex..... More

Print this item

  Pandas merge question
Posted by: smw10c - May-05-2017, 09:37 PM - Forum: Data Science - Replies (2)

I hope you are all having a good day. I want to know why my merge below is returning the key error that is stated below my code. Any help would be app..... More

Print this item

  Import random from a txt file
Posted by: Liquid_Ocelot - May-05-2017, 08:47 PM - Forum: Homework - Replies (4)

Hey guys, I would just like to know how you import a random selection from a list that has been imported into python via a txt file as im trying to ma..... More

Print this item

  Newb: Simple Explicit Formula
Posted by: Duplicitous - May-05-2017, 06:48 PM - Forum: General Coding Help - Replies (1)

I am incredibly new to python (I'm officially on my fourth day of learning) and as a test of what I've learned so far, I wanted to make a simple Expli..... More

Print this item

  Removing handles and links from string
Posted by: kiton - May-05-2017, 04:56 PM - Forum: General Coding Help - Replies (2)

Hello! My "Python quest" continues and I am seeking your help with the following task.

So, I have a data frame of 3199 rows with a string -text- co..... More

Print this item

  PyInstaller, how to create library folder instead of library.zip file ?
Posted by: harun2525 - May-05-2017, 04:14 PM - Forum: General Coding Help - Replies (2)

my question here


my executable pyton program modules, scripts are storing in library.zip file but i want to, create library folder instead of lib..... More

Print this item

  serial out_waiting
Posted by: kevinva - May-05-2017, 03:58 PM - Forum: General Coding Help - Replies (7)

Hi All,

I'm very new to Python and working on a Raspberry Pi project to send data out of the UART.  It all works fine when sending less than 8 char..... More

Print this item

  gui questions
Posted by: abrew132 - May-05-2017, 03:45 PM - Forum: GUI - Replies (1)

can u use just regular python to make a guy? or do i have to download something? and if i can use just the standard python libraries... can u point me..... More

Print this item

  concentration profile
Posted by: pikm57 - May-05-2017, 02:13 PM - Forum: General Coding Help - Replies (2)

I have concentration profile 3D matrix ( c(z,r,t) ). How to plot it? I'm totally new in python also in programming. I was using MatLab and was able to..... More

Print this item

  parallel(offset) lines using python
Posted by: johnfriend - May-05-2017, 05:46 AM - Forum: General Coding Help - Replies (1)

Hi , 
 I have set of points (x1,y1),(x2,y2),(x3,y3)......(xn,yn). I want to find a sets of points in given offset distance. Please help me how to cod..... More

Print this item

  printobject.py
Posted by: Skaperen - May-05-2017, 05:37 AM - Forum: Code sharing - No Replies

this is the print_object() function i have been revising, as mentioned in another thread:

[python]#!/usr/bin/env python
# -*- coding: utf-8 -*-
f..... More

Print this item

  what is this tcl GUI code?
Posted by: Luke_Drillbrain - May-05-2017, 03:11 AM - Forum: GUI - Replies (3)

I've been busy learning tkinter so that I can create GUIs.  I'm making progress via Bucky's tutorials.  In the process, I happened upon a different GU..... More

Print this item

  Memory leaks sometimes don't matter
Posted by: nilamo - May-04-2017, 08:12 PM - Forum: Bar - Replies (9)

https://twitter.com/pomeranian99/status/...4438094848

[quote]

This sparked and interesting memory for me.  I was once working with a
custo..... More


Attached Files

Thumbnail(s)
   
Print this item

  Love Calculator - If and Else
Posted by: AlwaysNew - May-04-2017, 07:41 PM - Forum: Homework - Replies (4)

I am making a love calculator using python. I am going to use a points based system to calculate the 'Love Percentage' So I have a list of criteria;
..... More

Print this item

  All of a sudden Pycharm doesn't run anymore (select valid interpreter)
Posted by: Luke_Drillbrain - May-04-2017, 07:26 PM - Forum: General Coding Help - Replies (1)

I've done a whole bunch of coding in Pycharm.  Now all of a sudden it won't run any of my Python files anymore.  It pulled up this menu:

[img]http..... More

Print this item

  how do I format json data in splunk?
Posted by: fxtyom - May-04-2017, 04:30 PM - Forum: General Coding Help - Replies (14)

I wrote a python script in splunk to make API calls and display output to a menu page for my dashboard. I'm not able to get it to display json output...... More

Print this item

  authentication and os.environ questions
Posted by: jdischler - May-04-2017, 04:25 PM - Forum: Web Scraping & Web Development - No Replies

I inherited a codebase to maintain that had an authentication module added on prior to my starting on project. People submit jobs (model files to be s..... More

Print this item

  10fold cross-validation on time series
Posted by: ulrich48155 - May-04-2017, 04:14 PM - Forum: Homework - Replies (5)

Hello python experts, 
[color=#222222][font=Verdana, arial, sans-serif]I'm relatively ..... More

Print this item

  Connect BigSQL using python
Posted by: Learner_Python - May-04-2017, 03:35 PM - Forum: General Coding Help - Replies (2)

Hello I have to connect & retrieve data from BigSQL using python.I have written a java code for doing that & I'm invoking my java code from python. My..... More

Print this item

  String Slicing
Posted by: jack - May-04-2017, 09:52 AM - Forum: General Coding Help - Replies (9)

explain this to me ?

astring = "Hello world!"
print(astring[3:7])
print(astring[3:7:1])

Print this item

  Select rows based on a criteria
Posted by: klllmmm - May-04-2017, 02:01 AM - Forum: Data Science - Replies (8)

I have a dataset which i need to select specific rows.

1. Select-
   1. If DrAccount or CrAccount contain 9000
        eg-
       -If the line conta..... More


Attached Files

.csv   Dataset1.csv (Size: 442 bytes / Downloads: 69)
Print this item

  Double Quotes will not go away, must be missing something
Posted by: smiths87 - May-03-2017, 08:28 PM - Forum: General Coding Help - Replies (3)

I've tried using the below, and various 'csv import' machinations, and no matter what I do the double quotes are present when I open the file in notep..... More

Print this item

  Help with Try With
Posted by: PickyBiker - May-03-2017, 07:48 PM - Forum: General Coding Help - Replies (2)

The code below is an attempt to catch an error opening and parsing a JSON file. When an error occurs, it does not print the text in the except block. ..... More

Print this item

  Resources for converting Python 2.x code to 3.x
Posted by: Luke_Drillbrain - May-03-2017, 05:45 PM - Forum: General Coding Help - Replies (4)

Resources for converting Python 2.x code to 3.x
[font=Courier New, monospace]I don't intend to use Python 2.x. I'll be writing all my projects in 3.x..... More

Print this item

  Getting Tesseract to work for pytesseract
Posted by: bigmit37 - May-03-2017, 05:20 PM - Forum: General Coding Help - No Replies

I'm trying to use pytesseract but it seems I have to first install Tesseract on my windows OS and get it working properly first on Windows before ..... More

Print this item

  Code issue with time remaining loop. Python3
Posted by: deboerdn2000 - May-03-2017, 03:57 PM - Forum: General Coding Help - Replies (11)

So I have an issue. im running a timer to turn a gpio port on and need to return a time stamp over rs232. I have the rs232 outputting just fine in its..... More

Print this item

  Formatting question regarding tables (Interest loan calculator)
Posted by: Liquid_Ocelot - May-03-2017, 10:13 AM - Forum: Homework - Replies (14)

Hey guys I am pulling my hair out over this program. 

Basically; 

I am instructed to write a program that calculates the total amount of savings..... More

Print this item

  Output on same line
Posted by: takaa - May-03-2017, 10:02 AM - Forum: General Coding Help - Replies (4)

Hi,

I made a little code to extract some stock quotes. 

[python]open('outputyahoo.txt', 'w').close()
from yahoo_finance import Share
symbolfil..... More

Print this item

  Strange logic! :)
Posted by: alsimm - May-03-2017, 09:49 AM - Forum: General Coding Help - Replies (10)

Hi all
python 2.7
can someone explain the logic here I am confused Confused (doesn't take much to confuse me Smile
In the first example ev..... More

Print this item

  sqlite 3 python help
Posted by: yuvalsaias - May-03-2017, 07:16 AM - Forum: General Coding Help - Replies (9)

[align=left]hello everyone i have a problem as you can see in the code and i don't know how to fix it, i need your help please with this situation abo..... More

Print this item

  Requisites for live data extraction and display
Posted by: Denniz - May-03-2017, 12:59 AM - Forum: Web Scraping & Web Development - Replies (1)

Dear all,

im a noob, but would like to create a monitor for certain purposes.
a friend told me python would be a viable option to conceive this in..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 9 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 9 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 10 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... Today, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578799
  Tutorial Requ... 509738
  Web Scraping ... 441906
  Newbie with P... 385896
  New Users Int... 375872
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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