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,537

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: deanhystad
38 minutes ago
» Replies: 2
» Views: 43
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
1 hour ago
» Replies: 4
» Views: 508
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 1
» Views: 625
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 6
» Views: 4,850
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
8 hours ago
» Replies: 1
» Views: 1,518
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Today, 03:53 AM
» Replies: 1
» Views: 2,574
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 221
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 421
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,811
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,651

 
  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
  Unable to resolve FileNot... 38 minutes ago llarkin6 deanhystad General Codin...
  [Tkinter] how to export a... 1 hour ago RonR noisefloor GUI
  Is the interpreter that c... 5 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 5 hours ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 8 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... Today, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 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... 576997
  Tutorial Requ... 499726
  Web Scraping ... 440751
  Newbie with P... 384736
  New Users Int... 368802
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 Today
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday

User Panel Messages

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