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 45 online users.
» 0 Member(s) | 40 Guest(s)
Google, Bing, Applebot, AOL

Latest Threads
Python compiler
Forum: General Coding Help
Last Post: NeoQuant
40 minutes ago
» Replies: 0
» Views: 10
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
1 hour ago
» Replies: 5
» Views: 44
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
2 hours ago
» Replies: 0
» Views: 22
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
8 hours ago
» Replies: 8
» Views: 219
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Today, 07:39 AM
» Replies: 3
» Views: 11,104
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: 713
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,828
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 178
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 152

 
  Python lists help
Posted by: abdullahali - Oct-08-2018, 11:12 PM - Forum: Homework - Replies (2)

So I am supposed to Use a single list comprehension to create a list of lists where each sublist consists of a pirate’s name,
and the value of his/he..... More

Print this item

  Create a List for Boolean Mask.
Posted by: leoahum - Oct-08-2018, 09:34 PM - Forum: General Coding Help - Replies (4)

Hi all,

I am trying to find a better way to create a Boolean Mask based on certain conditions. Here is the question and my way to answer it.

[b]..... More

Print this item

  pyinstaller Os diversion problem
Posted by: nadjibSoft - Oct-08-2018, 09:12 PM - Forum: General Coding Help - Replies (5)

I finished my python Program and i convert it to exe standalone app using pyinstaller. the OS i run the pyinstaller under is windows 32 bit

now, my..... More

Print this item

  .remove() method in for-loop
Posted by: nzcan - Oct-08-2018, 07:39 PM - Forum: Homework - Replies (7)

it is clear what this code do:
[python]>>> sw = ['go', 'bo']
>>> for cm in sw:
... if cm == 'bo':
... sw.remove(cm)
...
>>> sw
['go'] [/py..... More

Print this item

  Gtk.EntryCompletion, get all suggestions, not only beginning with entered string.
Posted by: TimeMen - Oct-08-2018, 06:44 PM - Forum: GUI - No Replies

Hey there,

Have a Gtk.EntryCompletion connected to a textbox like this:
[python]
liststore = Gtk.ListStore(str)
f = open("vogelarten_dt.info", '..... More

Print this item

  Absolute Beginner to Python
Posted by: dthomp54 - Oct-08-2018, 06:26 PM - Forum: General Coding Help - Replies (5)

I am an absolute beginner to python. I am learning through CodeHS. I cannot figure what I'm doing wrong with a particular assignment. It's the Guess t..... More

Print this item

  Python Oracle query
Posted by: onenessboy - Oct-08-2018, 04:41 PM - Forum: Data Science - Replies (5)

Hi Friends,

Trying to connect to oracle database and query a table based on value passed to it via runtime parameter and place result set in panda..... More

Print this item

  Python package installation issue.
Posted by: msomasun - Oct-08-2018, 03:57 PM - Forum: News and Discussions - Replies (3)

Hi

I have installed python3.6 in a custom path and set the python home ($PYTHON_HOME) and python path ($PATH).

when I tried to install any pa..... More

Print this item

  Beginner Help - Geany and Cmder
Posted by: Pogosaur - Oct-08-2018, 02:13 PM - Forum: General Coding Help - Replies (2)

Hello, I've recently decided to finally start learning a programming language and I chose Python. I bought the book "Python Crash Course: A Hands-On, ..... More

Print this item

  Combining several py files
Posted by: ebolisa - Oct-08-2018, 12:36 PM - Forum: General Coding Help - Replies (5)

Hi,

I’m building an alarm clock based on the Raspberry Zero board, a LED display (https://learn.adafruit.com/adafruit-led-...ch-7-segme..... More

Print this item

  Python Music Quiz
Posted by: lynden - Oct-08-2018, 12:12 PM - Forum: General Coding Help - Replies (6)

I need a music quiz for python, where a random song is stored in an external file. The artist and the first letter of each word in displayed
The user..... More

Print this item

  HeatMap plot with arduino serial data
Posted by: tshivam - Oct-08-2018, 10:57 AM - Forum: Data Science - No Replies

Hi,
I am porting arduino serial data in form of comma separated values in python shell.
When i am receiving these values in the python shell. I am..... More

Print this item

  Beutifulsoup: how to pick text that's not in HTML tags?
Posted by: pitonas - Oct-08-2018, 10:33 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello guys,

I'm building a web scraper and everything went smooth so far until I came across such situation:

There is a <p> tag that contains th..... More

Print this item

  df string manipulation before / after / when single digit pad zero
Posted by: metalray - Oct-08-2018, 09:58 AM - Forum: Data Science - Replies (3)

Dear Python Experts,

I have some dates that I need to clearn up.

[python]
d = {'col1': ['1/25/84', '2/8/86'],}
dfdates = pd.DataFrame(data=d)..... More

Print this item

  Python - Scrapy Javascript Pagination (next_page)
Posted by: Baggelhsk95 - Oct-08-2018, 09:13 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello guys...i made this script for this website....but my pagination doesn't work because its just javascript...and when you click nextpage the conta..... More

Print this item

  Implement Python Class
Posted by: jill1978 - Oct-08-2018, 06:11 AM - Forum: Homework - Replies (1)

Implement the class Whatsit as defined below.

A Whatsit object should have 3 attributes:

Print this item

  Python Objects and functions
Posted by: jill1978 - Oct-08-2018, 05:42 AM - Forum: Homework - Replies (1)

I am given the following data-file:

stars.csv

[python]
Peter Piper,23,89.4,1.82
Polly Perkins,47,148.8,1.67
Griselda Gribble,92,48,1.45
Ivan Ng,..... More

Print this item

  Noob question on Mac python3, pydoc3
Posted by: JamesNJ - Oct-08-2018, 04:26 AM - Forum: General Coding Help - No Replies

Probably a very simple question. I'm using MacOS and installed the latest python3 binary from python.org. Trying to follow along with tutorials to lea..... More

Print this item

  easy to install python meterpreter windows
Posted by: juanb007 - Oct-08-2018, 04:06 AM - Forum: General Coding Help - Replies (1)

Hi
In order to learn python i want to install a an easy to install python meterpreter in windows so i can practice my scripts. which one you recommen..... More

Print this item

  looking for a GUI digital clock
Posted by: Skaperen - Oct-08-2018, 01:55 AM - Forum: Bar - Replies (4)

i am looking for a GUI LED-style digital clock program. the digits need to automatically fill the window i need to have a setting to set hour..... More

Print this item

  Need help
Posted by: abdullahali - Oct-08-2018, 01:19 AM - Forum: Homework - Replies (1)

praire_pirates = [['Tractor Jack', 1000, True], ['Plowshare Pete', 950, False], ['Praire Lily', 245, True], ['Red River Rosie', 350, True], ['Mad At..... More

Print this item

  python how to
Posted by: mmmmm - Oct-08-2018, 01:11 AM - Forum: General Coding Help - Replies (5)

A dictionary with 6 elements: keys are integers 1 to 6, values are corresponding number of 
occurrence Description: 
You roll the dice 10,000 times. E..... More

Print this item

  global namespace of an imported function (2 Qs)
Posted by: Skaperen - Oct-08-2018, 01:09 AM - Forum: General Coding Help - Replies (4)

the global namespace of an imported function seems to be separate/distinct from the global namespace of the caller. [b]so when is the function's glob..... More

Print this item

  Changing Directory; Syntax Error
Posted by: DavidRobinsons - Oct-08-2018, 01:03 AM - Forum: General Coding Help - Replies (1)

I am studying now about importing modules. Of course I started with the basics. I am running the latest version of Python on Windows 8.1.
Here is my ..... More

Print this item

  what does this expression yield?
Posted by: Skaperen - Oct-07-2018, 07:49 PM - Forum: Bar - Replies (4)

what does this expression yield? 3-(len(repr(9223372036854775808))-19)

Print this item

  Object database
Posted by: eduardoforo - Oct-07-2018, 07:47 PM - Forum: News and Discussions - Replies (1)

I have always used SQL relational databases.
In an application where you work with many objects, lists and dictionaries, is it worth using a object d..... More

Print this item

  times greater number than the previous
Posted by: rhai - Oct-07-2018, 06:11 PM - Forum: Homework - Replies (4)

I am trying to know how many elements are greater than the previous number. im trying to input 1,5,2,4,3,0 but when it comes to the 4 and 3, the "time..... More

Print this item

  attempting to run gimp-console from python in windows 10
Posted by: matteusbeus - Oct-07-2018, 05:52 PM - Forum: General Coding Help - Replies (3)

Hi all,
I'm trying to run gimp-console 2.8 via the subprocess.check_output command but it doesn't seem to work. I get "error [WinError 2] The system c..... More

Print this item

  not defined error
Posted by: rtbr17 - Oct-07-2018, 03:11 PM - Forum: General Coding Help - Replies (2)

[python]
class Restaurant():
"""Restaurant example"""

def __init__(self, restaurant_name, cuisine_type):
"""Initialize resta..... More

Print this item

  Trouble with Pyserial and Arduino
Posted by: LiTing - Oct-07-2018, 09:39 AM - Forum: General Coding Help - Replies (3)

My Python Programme is sending the wrong data to my arduino. Do anyone have any ideas?
The code is as follows:
s.write(str.encode('S'))

I want ..... More

Print this item

  find any item in the list
Posted by: evilcode1 - Oct-07-2018, 08:11 AM - Forum: General Coding Help - Replies (5)

hello all ...

im coding a program to get the internet browsers names and dir's from the windows if he found the process ...
this is my code :
..... More

Print this item

  Adding Bluetooth Help
Posted by: Tylersuard - Oct-07-2018, 06:33 AM - Forum: General Coding Help - No Replies

Hello. I've heard this forum is full of helpful, nice people.

I have the Google AIY Vision kit. I am using the Joy Detector Demo (https://github...... More

Print this item

  How to handle "History" in ptpython
Posted by: sylas - Oct-07-2018, 05:30 AM - Forum: General Coding Help - Replies (4)

Hi all ! First of all I don't know how to highlight 'History'. Then I should like to set history to a reasonable value of 10. Thanks in advance.

Print this item

  Challenge with my string
Posted by: SpencerH - Oct-06-2018, 11:11 PM - Forum: General Coding Help - Replies (3)

I am working on a script and I get an attachment emailed then check for the mail and open the attachment. So far I open it as a text string object fro..... More

Print this item

  Download email attachments and then format the data
Posted by: SpencerH - Oct-06-2018, 04:56 PM - Forum: Networking - Replies (2)

I have been working on a script for work that downloads email via IMAP, so I use IMAPClient to do that and I can get the emails and see the content. N..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python compiler 40 minutes ago NeoQuant NeoQuant General Codin...
  Trading Risk management s... 1 hour ago NeoQuant NeoQuant Code sharing
  Standard template Data En... 2 hours ago Hosthubac Hosthubac Code Review
  No new line from print in... 8 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... 512793
  Web Scraping ... 442362
  Newbie with P... 386395
  New Users Int... 381709
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