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,308
» Latest member: NeoQuant
» Forum threads: 38,800
» Forum posts: 175,918

Full Statistics

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

Latest Threads
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
13 minutes ago
» Replies: 5
» Views: 37
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
1 hour ago
» Replies: 0
» Views: 21
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
7 hours ago
» Replies: 8
» Views: 216
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Today, 07:39 AM
» Replies: 3
» Views: 11,103
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 187
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 709
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,827
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 177
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 152
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 249

 
  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

  Data visualization tools. Help!
Posted by: suslorrs - Oct-11-2018, 04:28 PM - Forum: Bar - Replies (2)

I understand that my question doesn't quite match the theme of the forum. But urgently need help. Please tell me in which tool of library for data vis..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Trading Risk management s... 13 minutes ago NeoQuant NeoQuant Code sharing
  Standard template Data En... 1 hour ago Hosthubac Hosthubac Code Review
  No new line from print in... 7 hours ago Lou snippsat General Codin...
  Python Online Compiler Today, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
Most views
  The best Prog... 579493
  Tutorial Requ... 512781
  Web Scraping ... 442360
  Newbie with P... 386395
  New Users Int... 381707
Most reputation
buran 581
snippsat 511
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+ 12113
buran 8196
snippsat 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
NeoQuant Today
Hosthubac Today
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today

User Panel Messages

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