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 65 online users.
» 3 Member(s) | 58 Guest(s)
Bing, Google, AOL, AOL, buran, Xuitar, snippsat

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 3
» Views: 254
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 674
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 766
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,005
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,655
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,699
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 321
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 551
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 30,007
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,777

 
  question on PRINT
Posted by: PEIXI - Oct-13-2018, 06:11 PM - Forum: General Coding Help - Replies (4)

Why print('Number of donuts: 9')==repr('Number of donuts: 9') is false? How to fix it to true?

Print this item

  Classes: How to Print Specific Attributes
Posted by: emerger - Oct-13-2018, 05:59 PM - Forum: General Coding Help - Replies (3)

Hello.
I'm having trouble printing specific attributes from my object-array. My code is below, and it contains my class Student, class Array, along ..... More

Print this item

  python 3 BLUETOOTH for WINDOWS
Posted by: kavindu - Oct-13-2018, 03:38 PM - Forum: Data Science - Replies (8)

Is there any bluetooth library for python 3 on windows platform.
I tried to install pybluez, but it shows an error. Itri..... More

Print this item

  ImportError: DLL load failed: %1 is not a valid Win32 application.
Posted by: LiTing - Oct-13-2018, 03:07 PM - Forum: Data Science - Replies (1)

[python]
import tensorflow as tf
import numpy as np
import pickle, os, cv2

tf.logging.set_verbosity(tf.logging.INFO)
os.environ['TF_CPP_MIN_LOG..... More

Print this item

  Dusk till dawn
Posted by: lo75 - Oct-13-2018, 01:01 PM - Forum: General Coding Help - Replies (3)

Hello.

I bought a four channel relay card for rpi's gpio, my idea is to use it for light in a quail-box.
I'd like to fake dusk and dawn by switchi..... More

Print this item

  clean script by code
Posted by: fen1c5 - Oct-13-2018, 07:59 AM - Forum: General Coding Help - Replies (8)

SO guys. I made this program(I think nice... :D):

[code]
bottas=[77,"28/08/1989","Finlandia","Australia 2013",98,3,4,0]
hamilton=[44,"07/01/1985"..... More

Print this item

  General Coding help:Reinforcement learning
Posted by: kala - Oct-13-2018, 07:13 AM - Forum: Data Science - Replies (1)

To implement Q-learning to solve the Taxi problem with optimal policy.The taxi problem source code is in https://github.com/openai/gym/blob/master/gym..... More

Print this item

  fString Nested forLoop
Posted by: pcsailor - Oct-13-2018, 05:57 AM - Forum: Data Science - Replies (7)

Hi all,
I'm learning about f-strings and I know in theory nested for loops can be turned into a simpler f-string, but I'm not sure how.
[python]
..... More

Print this item

  Need help on analyzing Tweets for a cause
Posted by: karthikv080 - Oct-13-2018, 05:31 AM - Forum: General Coding Help - No Replies

Hi, I am new to python and have very basic knowledge of the tools and packages about the same. I am working with an NGO in analyzing the tweets that h..... More

Print this item

  Python Pillow
Posted by: I_Am_Groot - Oct-13-2018, 02:46 AM - Forum: General Coding Help - Replies (1)

Hi,
For one of the tasks in my assignment, I have to highlighting a single colour in a black and white image. It says: In your program, any pixels wh..... More

Print this item

  sorting a strange file
Posted by: Skaperen - Oct-13-2018, 02:15 AM - Forum: Bar - Replies (15)

i have a big file i need to sort. it has 2 or more whitespace separated tokens on each line. the last token has 2 or more slash separated nam..... More

Print this item

  python-forum.io on way back machine
Posted by: metulburr - Oct-12-2018, 11:19 PM - Forum: Web Scraping & Web Development - Replies (1)

I wanted to write a script to automatically archive the forum's latest activities from time to time. I dont see a method via their API so i just wrote..... More

Print this item

  Weird rounding
Posted by: PythonZenon - Oct-12-2018, 06:37 PM - Forum: General Coding Help - Replies (8)

Hi everyone.

The post seems long but it won't take much of your time, I promise :)
This is the code:

[python]def frange(start, stop, step):

..... More

Print this item

  Problem with font
Posted by: sittinghalflotus - Oct-12-2018, 06:19 PM - Forum: GUI - Replies (3)

On each computer the font is completely different(While i have not used any modifiers) Is that something with my pcs?
fi[url=https://python-forum.io/thread-13392.html]..... More

Print this item

  Newbie query regarding lists
Posted by: jazmad - Oct-12-2018, 06:18 PM - Forum: General Coding Help - Replies (5)

I am just working through some intros to Python. Basically I read about a concept and then have a play around to make sure I understand it. Right now,..... More

Print this item

  Looped
Posted by: test - Oct-12-2018, 05:31 PM - Forum: General Coding Help - Replies (2)

Hello, i am trying to get the user to enter from a given set of options. For that i am using different functions like this:
[python]
def decide_inpu..... More

Print this item

  Statistical analysis of two dataframes
Posted by: zhl - Oct-12-2018, 04:45 PM - Forum: Data Science - Replies (1)

I have two pandas data frames, one empirical-derived daily data (rows are dates, columns are meteo stations), the other DF is model output of same inf..... More

Print this item

  Installing Homebrew on my mac; non computer-savvy person
Posted by: hohen036 - Oct-12-2018, 04:39 PM - Forum: General Coding Help - Replies (3)

I am working through a book to learn python on version 2.7. I need to download homebrew as part of a project in the book. As required, from homebrew's..... More

Print this item

  colored input()
Posted by: Trianne - Oct-12-2018, 03:44 PM - Forum: General Coding Help - Replies (6)

Hello,

How would I colored input prompt? I know how to when printing but not input.

I got this so far.

[python]from colorama import init
fro..... More

Print this item

  data from excel
Posted by: mida1 - Oct-12-2018, 02:02 PM - Forum: General Coding Help - No Replies

Hi,
can you help with reading data from excel to python3? Excel is connected with other data source by DDE and data are changed online. I need actua..... More

Print this item

  How to get first and last row index of each unique names in pandas dataframe
Posted by: SriRajesh - Oct-12-2018, 12:10 PM - Forum: Data Science - Replies (1)

I am very new to python, I want to get the first and last row index of each unique elements based on the 2nd column.
[python]MUY09KT00 TW00.00
MUY0..... More

Print this item

  Corrupt JPEG data: premature end of data segment
Posted by: MeenakshiChowdhary - Oct-12-2018, 11:55 AM - Forum: Data Science - No Replies

I am trying to convert my python code in to parallel computing using multiprocessing.

This is the code
[python]import numpy as np
import os
import c..... More

Print this item

  Bringing two files together
Posted by: tjnichols - Oct-12-2018, 11:49 AM - Forum: Homework - Replies (8)

I have 2 files that I'm trying to join. I've tried this with the files below. I've also tried this with the files provided by the instructor - still n..... More

Print this item

  How can I make this Python script add a limit to trades made with API?
Posted by: streetlaw - Oct-12-2018, 11:41 AM - Forum: General Coding Help - No Replies

I'm putting together a python script to make trades on poloniex with the API, and so far I've got it to make trades when certain conditions are met, b..... More

Print this item

  Algorithms, A*, Greedy not for pathfinding
Posted by: DuaneJack - Oct-12-2018, 11:23 AM - Forum: Bar - Replies (1)

Hello all, do not want to clutter up the normal forum area, was wanting to know some typical uses other than Pathfinding for A* and Greedy that is not..... More

Print this item

  Python - Scrapy Login form
Posted by: Baggelhsk95 - Oct-12-2018, 09:25 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello guyes....i was messing with my script to login in this website but seems doesnt work....i'll like to login first to loggin_url and then request ..... More

Print this item

  matplotlib pyplot ginput issue
Posted by: MLiljeroth - Oct-12-2018, 07:12 AM - Forum: Data Science - No Replies

Hi. I am running PyCharm and I have an issue which I don't understand.

[python]
import numpy as np
import matplotlib.pyplot as plt

def ROIsel..... More

Print this item

  Openpyxl_adding a thick border around outside of page
Posted by: pcsailor - Oct-12-2018, 06:14 AM - Forum: General Coding Help - Replies (1)

Hi,
Does anyone have any clues on how to add a thick border around only the outside of a page coded with openpyxl?
Thanks,
phil

Print this item

  With 18.04.1LTS now problem with wifi pilot
Posted by: sylas - Oct-12-2018, 06:00 AM - Forum: Bar - Replies (1)

Hi all ! New OS installed. But behind the OS comes the problem of the wifi pilot. As I had not wire connexion to internet(I am not at home) I installe..... More

Print this item

  Writing to a text file?
Posted by: Bigjay45 - Oct-11-2018, 11:11 PM - Forum: General Coding Help - Replies (4)

[python]
import csv

with open('animals3.csv') as csvfile:
readCSV = csv.reader(csvfile, delimiter=',')
for row in readCSV:
..... More

Print this item

  Sr.Python developer -Foster City,CA
Posted by: Fatima - Oct-11-2018, 05:38 PM - Forum: Jobs - Replies (1)

Looking for a Sr.Python Developer in Foster City,CA.
Please forward your updated Resume to sakina.fatima@abottsaconsulting.com

Print this item

  Not sure what to call what I want to do
Posted by: SpencerH - Oct-11-2018, 05:26 PM - Forum: General Coding Help - Replies (12)

Wall Wall

I have almost completed my program, but I am not sure what to do next. Please stick with me as I try to explain.

Currently, ..... More

Print this item

  Bootstrapping a population data
Posted by: tomiwaiilori - Oct-11-2018, 05:26 PM - Forum: General Coding Help - No Replies

I have this data,

[python]
def single_bootstrap():

bootstrap = np.zeros([101, 2])
bootstrap[:, 0] = range (0, 101)
n = int(5e5)
..... More

Print this item

  Problem with a basic if challenge
Posted by: erfanakbari1 - Oct-11-2018, 05:22 PM - Forum: Homework - Replies (2)

Hey guys , I have been programming to complete this basic challenge and I'm facing an error . i don't know what i have to do in this . I'm thankful if..... More

Print this item

  Python and bash command confusion
Posted by: MuntyScruntfundle - Oct-11-2018, 04:52 PM - Forum: General Coding Help - No Replies

If from my bash cursor I do:
#pgrep myproces
nothing is returned as the process isn't running.

If from another server I do the following:
ssh us..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 3 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 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... 577079
  Tutorial Requ... 499895
  Web Scraping ... 440820
  Newbie with P... 384812
  New Users Int... 368959
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