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,801
» Forum posts: 175,919

Full Statistics

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

Latest Threads
Python compiler
Forum: General Coding Help
Last Post: NeoQuant
3 hours ago
» Replies: 0
» Views: 20
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
4 hours ago
» Replies: 5
» Views: 58
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
5 hours ago
» Replies: 0
» Views: 29
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
11 hours ago
» Replies: 8
» Views: 231
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Today, 07:39 AM
» Replies: 3
» Views: 11,107
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 189
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 714
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,832
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 180
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 154

 
  do_somenthing_with(x) for x in my_list if is_valid(x)
Posted by: pystag - Sep-23-2018, 09:58 AM - Forum: General Coding Help - Replies (8)

It would be nice if python supported this kind of "expression comprehension", or do it?

I frecuently encounter situations in which I need to execut..... More

Print this item

  Help with learning threading please.
Posted by: jarrod0987 - Sep-23-2018, 06:41 AM - Forum: General Coding Help - Replies (3)

I wrote a short test program to learn how to make threads. Right now there is only 1 thread. Going to increase that once I get it working.
It is thro..... More

Print this item

  equivalent commands
Posted by: saeed_balk - Sep-23-2018, 05:07 AM - Forum: General Coding Help - Replies (2)

What is the equivalent of the following commands in python?
**huh** **huh**
setvect()
getvect()
inportb()
outportb()
**smile** **smile** ..... More

Print this item

  new to coding
Posted by: abdullahali - Sep-23-2018, 04:40 AM - Forum: Homework - Replies (3)

Hello, I am trying to write a program that reads the user’s fuel used and distance travelled from the console, passes
the entered values to the fuel_..... More

Print this item

  5 threading methods, none sped up the program
Posted by: bobsmith76 - Sep-23-2018, 04:01 AM - Forum: General Coding Help - Replies (7)

I've used the 5 methods for concurrency or threading and none of them performed the task faster than serial. The only method that had moderate success..... More

Print this item

  atm machine problems
Posted by: jy0013 - Sep-23-2018, 02:36 AM - Forum: Homework - Replies (1)

I'm having some problems with the type of the account_balance. I'm not 100% sure what to do to change them to the right types. I also need to make sur..... More

Print this item

  How do you make functions that take a variable that is not defined?
Posted by: magic - Sep-23-2018, 02:34 AM - Forum: General Coding Help - Replies (6)

I don't know exactly what this is called

toolbar.pack(side=TOP, fill=X)
Here above, you can see that TOP, X was passed as a val..... More

Print this item

  So lost
Posted by: mtndewwarrior - Sep-23-2018, 12:22 AM - Forum: GUI - Replies (12)

I have no idea how to install pyqt 4 everything i find online doesnt help because what it tells me to do doesnt work. i dont know where im supposed to..... More

Print this item

  Python exercise
Posted by: janaraguz - Sep-22-2018, 08:30 PM - Forum: Homework - Replies (2)

Hello,

I was trying to solve an exercise where I needed to calculate the area of the box where I should input the coordinates of the specific box (B..... More

Print this item

  writing bytes error
Posted by: qrani - Sep-22-2018, 06:16 PM - Forum: General Coding Help - Replies (4)

When I am writing bytes to a file using this:

string1 = "abc123test"
f = open(filewrite, "wb")
f.write(string1)
f.close()
it giv..... More

Print this item

  Using joystick module from PyGame
Posted by: archieab - Sep-22-2018, 05:02 PM - Forum: Game Development - Replies (6)

Exact code with commenting can be found here, or here[/url[url=https://python-forum.io/thread-12990.html]..... More

Print this item

  How to create a graph for direction visualization
Posted by: Visiting - Sep-22-2018, 01:29 PM - Forum: General Coding Help - Replies (2)

Found a sample code for visualization of direction here:
https://habr.com/post/129344/

but the dataset is not available, and language is not Engl..... More

Print this item

  mac os and twisted?
Posted by: MuntyScruntfundle - Sep-22-2018, 12:20 PM - Forum: General Coding Help - No Replies

Hi folks.

While lying in my hospital bed I thought I'd have a look at twisted on my mac, I could vpn to my home network and work on my raspberry,..... More

Print this item

  Syntax meaning
Posted by: SUHIN - Sep-22-2018, 07:10 AM - Forum: Homework - Replies (1)

zip(*np.where(myarray == 0))

what does the * in front of np denote in a syntax

Print this item

  programming external 93C66 EEPROM with Arduino UNO
Posted by: Mantix - Sep-22-2018, 06:52 AM - Forum: General Coding Help - No Replies

Hi everyone,
I am very new to all this and still figuring it all out.

so far I have programmed my Arduino with a sketch for reading/writing of M93Cx..... More

Print this item

  I got a problem with python schedule
Posted by: darktitan - Sep-22-2018, 03:51 AM - Forum: General Coding Help - Replies (2)

Hi im trying to make an time triggered event with schedule where i can inpute a time and then activate the clock after a couple of seconds something w..... More

Print this item

  question 1 on the midterm exam
Posted by: Skaperen - Sep-22-2018, 03:29 AM - Forum: News and Discussions - Replies (2)

question 1 on the midterm exam:

>>> bool('False')
True
>>>
why?

who would make an exam like that?

would anyone answer this corr..... More

Print this item

  idk what to do
Posted by: mtndewwarrior - Sep-22-2018, 02:23 AM - Forum: General Coding Help - Replies (2)

lrsow5 = (tbo + w2 + 2)
tbsow5 = (o5 + l1 + 0.5)
Hi i was wondering if anyone could help me with a big problem i am having. I t..... More

Print this item

  pyrtlsdr and matplotlib's psd
Posted by: kiyoshi7 - Sep-22-2018, 01:27 AM - Forum: General Coding Help - No Replies

Hi, I'm trying to read data and integrate the results for a given bandwidth, something that I thought was going to be easy. the problem is that I cann..... More

Print this item

  Is there a datepicker which can be used in combination with the python library urwid?
Posted by: AFoeee - Sep-21-2018, 08:20 PM - Forum: General Coding Help - Replies (5)

Hello,
the module 'npyscreen' has two widgets to pick dates (..... More

Print this item

  Newbie seeking help with DNS query
Posted by: DaytonJones - Sep-21-2018, 06:29 PM - Forum: General Coding Help - No Replies

I'm fairly new to python, so I'm currently at a loss as to how to proceed...

I need to write a script that will perform a DNS query (simple, not th..... More

Print this item

  Signature verification
Posted by: saisankalpj - Sep-21-2018, 05:55 PM - Forum: General Coding Help - Replies (8)

I have a signature, data and public key is
Public Key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsFWkb/eSl6I3DRVhaonW3DFy8EnL0yaPiDzCcOLuYfBjN9zZIR..... More

Print this item

  Web App That Request Data from Another Web Site every 12-hours
Posted by: jomonetta - Sep-21-2018, 04:58 PM - Forum: Web Scraping & Web Development - Replies (15)

Hi, I am working on a web app with flask framework. I want to get a data from another web site every 12 hour, save it and display it through my web ap..... More

Print this item

  Adding Tables and Extracting Values from Tables
Posted by: jamescox11480 - Sep-21-2018, 02:11 PM - Forum: Data Science - Replies (5)

Hi there

I would like to know how to write Python code to add tables and extract values from tables which have more than two columns?
An example ..... More

Print this item

  Flask: Error output to the browser instead of error_log
Posted by: nikos - Sep-21-2018, 01:48 PM - Forum: Web Scraping & Web Development - Replies (1)

Can someone explain to me now that i moves from flask's development server to Apache production server how i'am supposed to enable error output to the..... More

Print this item

  Installing and running a python web scraping app from github to a windows 8.1 system
Posted by: eugenioca - Sep-21-2018, 11:20 AM - Forum: General Coding Help - Replies (17)

Hi to all forumers Smile
My name is Eugenio and I'm a python and R student. At this moment I'm trying to learn how to install and run python p..... More

Print this item

  Rarity: CLI personal accounting tool in Python3
Posted by: soleighlfred - Sep-21-2018, 07:38 AM - Forum: Code sharing - Replies (2)

Hi, fellow Pythoners!

I'm an amateur programmer who needed a good, lightweight and configurable personal accounting program for myself, but I didn'..... More

Print this item

  Print Function
Posted by: Prasanna - Sep-21-2018, 05:42 AM - Forum: General Coding Help - Replies (4)

HI Friends,

I want to know how "PRINT()" function is working in back end.

Print this item

  Chrome Extensions
Posted by: austinr - Sep-21-2018, 05:22 AM - Forum: General Coding Help - No Replies

Hi everyone, I'm fairly new to Python but am curious to know if I can use python to automate clicking an extension in my chrome browser and click a bu..... More

Print this item

  Hi All, how to hide/mask user input in PySimpleGUI
Posted by: nmrt - Sep-21-2018, 01:57 AM - Forum: GUI - Replies (1)

Hi All, how to hide/mask user input in PySimpleGUI

I am reading password via simplegui and i want to mask it, how to acheieve it?

Print this item

  intercepting I/O
Posted by: Skaperen - Sep-21-2018, 01:19 AM - Forum: General Coding Help - No Replies

a module (tarfile) will be doing lots of I/O including things like opening file, creating directories,symlinks, block devices, character devices, and ..... More

Print this item

  Extract data from rasters to plot time-series
Posted by: zhl - Sep-20-2018, 09:45 PM - Forum: General Coding Help - No Replies

Hi! Start off by stating I'm VERY new to python, so please excuse my utter confusion.

Here's the deal. I have a model that simulates snowpack, whic..... More

Print this item

  Which interpreter on my computer should I use?
Posted by: magic - Sep-20-2018, 08:35 PM - Forum: General Coding Help - Replies (1)

I am using visual studio code and there is a menu where I can pick interpreter like below.
[img]<a href="https://imgur.com/Uk79SG3"><img src="https:/..... More

Print this item

  What's the use case of collections.counter?
Posted by: magic - Sep-20-2018, 08:21 PM - Forum: General Coding Help - Replies (2)

I came across this module and I wonder why I would use it.
You can just use list.count to count elements in iterables.

[python]
c = Counter(['egg', '..... More

Print this item

  nested for loops glob
Posted by: devenuro - Sep-20-2018, 07:46 PM - Forum: General Coding Help - Replies (3)

I'm trying to use a for loop and a nested for loop
So what I have is:

[python]for f in glob("/Users/Desktop/network5"):
for x in g..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python compiler 3 hours ago NeoQuant NeoQuant General Codin...
  Trading Risk management s... 4 hours ago NeoQuant NeoQuant Code sharing
  Standard template Data En... 5 hours ago Hosthubac Hosthubac Code Review
  No new line from print in... 11 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...
Most views
  The best Prog... 579494
  Tutorial Requ... 512819
  Web Scraping ... 442365
  Newbie with P... 386395
  New Users Int... 381712
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