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,313
» Latest member: wesley300
» Forum threads: 38,824
» Forum posts: 175,947

Full Statistics

Online Users
There are currently 38 online users.
» 2 Member(s) | 31 Guest(s)
Google, Bing, Applebot, AOL, wesley300, Pedroski55

Latest Threads
DUBAI ꧅)(+971527895845(#@...
Forum: Board
Last Post: wesley300
Less than 1 minute ago
» Replies: 0
» Views: 1
Qatar 🗾+27636605847🏞 Buy ...
Forum: Board
Last Post: wesley300
Less than 1 minute ago
» Replies: 0
» Views: 0
+971527895845♞) Abortion ...
Forum: Board
Last Post: wesley300
Less than 1 minute ago
» Replies: 0
» Views: 1
Lyrica in Qatar ✓✓ +27636...
Forum: Board
Last Post: wesley300
1 minute ago
» Replies: 0
» Views: 1
← #IN DUBAI & DEIRA♛(+971...
Forum: Board
Last Post: wesley300
1 minute ago
» Replies: 0
» Views: 1
Dubai¯ +27636605847 ¯ cry...
Forum: Board
Last Post: wesley300
1 minute ago
» Replies: 0
» Views: 1
+971527895845✨abortion in...
Forum: Board
Last Post: wesley300
2 minutes ago
» Replies: 0
» Views: 1
DUBAI¢[?+27636605847?]¢XA...
Forum: Board
Last Post: wesley300
2 minutes ago
» Replies: 0
» Views: 1
Dubai(( +971527895845 )) ...
Forum: Board
Last Post: wesley300
2 minutes ago
» Replies: 0
» Views: 1
#SAUDI ARABIA”(( +2763660...
Forum: Board
Last Post: wesley300
3 minutes ago
» Replies: 0
» Views: 1

 
  Recommended way to store users,db credentials in a Python project?
Posted by: PrateekG - May-31-2018, 08:46 AM - Forum: General Coding Help - Replies (2)

I am working on a project where I am storing DB and users's credentials inside python code.
For example I have a script db.py which do crud operation..... More

Print this item

  Adding values to list and pickling
Posted by: mefiak - May-31-2018, 08:35 AM - Forum: Homework - Replies (2)

Hey everyone!
I have (for me) a big problem! I'm trying to repair it for few days and I have just run out of power and ideas what to do with it. My p..... More

Print this item

  django herf not loading right
Posted by: LK1097 - May-31-2018, 06:59 AM - Forum: Web Scraping & Web Development - No Replies

So i am trying to create a directory with a Home,Blog,and Contact selection. But every time i click on one of them they all go back to the home page. ..... More

Print this item

  LED control menu
Posted by: trippyt - May-31-2018, 06:43 AM - Forum: General Coding Help - Replies (22)

hi all,
im trying to creat a menu on a display-o-tronHAT from pimoroni
and would like to create a menu to control a led on and off to start with,
..... More

Print this item

  Flask.socketio and client side html tables / JS
Posted by: georgelza - May-31-2018, 05:42 AM - Forum: Networking - Replies (1)

Hi all

I have a very server side long polling application atm that I'm trying to modify to be more client/server using flask_socketio with client s..... More

Print this item

  Why does this alternative solution work?
Posted by: wlsa - May-31-2018, 04:18 AM - Forum: Homework - Replies (2)

The problem:
We have a loud talking parrot. The "hour" parameter is the current hour time in the range 0..23. We are in trouble if the parrot is tal..... More

Print this item

  the fun of debugging
Posted by: Skaperen - May-31-2018, 04:16 AM - Forum: News and Discussions - Replies (2)

in a big script i cannot post, i am running into the infamous UnboundLocalError. to make this more complicated, that is the [i]2nd t..... More

Print this item

  cheating at running a pipeline
Posted by: Skaperen - May-31-2018, 02:22 AM - Forum: News and Discussions - No Replies

i wanted to run a pipeline of programs. this time i cheated and let the bash command do it. but there are problems passing command names and ..... More

Print this item

  how to start a seperate thread for every item in a list
Posted by: lravikumarvsp - May-31-2018, 12:33 AM - Forum: General Coding Help - Replies (1)

Hi,

I want to create a separate thread for every item in a list.
But with my script, each thread is taking all the items in a list.
Please help...... More

Print this item

  Python functions in C
Posted by: Skaperen - May-31-2018, 12:06 AM - Forum: Bar - Replies (9)

how many of you have ever written a Python function in C, even if just for Python2? i am wanting to get some idea how hard this is to decide i..... More

Print this item

  Saving to Json file
Posted by: Shambob1874 - May-30-2018, 08:13 PM - Forum: Homework - Replies (1)

Hi all , I've saved the results from my menu to json. when i click on the saved file it looks like it is only saving 1 dictionary and then overwriting..... More

Print this item

  isocalendar value converted back to start of week.
Posted by: cspower - May-30-2018, 04:34 PM - Forum: General Coding Help - Replies (1)

Is it even possible to convert the isocalendar value for the week back to the first day of the week?
E.G. week 1 of 2018 converts back to Jan 1 2018.

Print this item

  Need some inputs on IDE comparison on Windows 7: PyCharm (CE) vs Code
Posted by: python300 - May-30-2018, 03:40 PM - Forum: News and Discussions - Replies (7)

Hi all,

I want to decide on which IDE to use on my Windows 7 machine for Python 3.6
I know until recently, PyCharm would have been the best option..... More

Print this item

  Can someone help me understand this?
Posted by: BrandonScott - May-30-2018, 03:26 PM - Forum: General Coding Help - No Replies

Hello Everyone
i am new to this forum however im making a quiz on python but im not sure how to store the login details and personal info and scores ..... More

Print this item

  Text variables won't add
Posted by: st3m0n - May-30-2018, 02:58 PM - Forum: General Coding Help - Replies (5)

In the book I'm learning python programming from, there is an exercise where I have to gain user input on their two favourite foods to create a name f..... More

Print this item

  re.findall help searching for string in xml response
Posted by: mugster - May-30-2018, 02:37 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi everyone, I am very new to coding let alone python...!!! Any help is appreciated.

I have managed to piece together the code below to test the r..... More

Print this item

  UK Based Remote Developers Needed - PERMANENT up to £85,000
Posted by: DarrenCloudwise - May-30-2018, 02:30 PM - Forum: Jobs - Replies (1)

Role: Python Developers (WE NEED 2)
Salary: £60,000 - £85,000
Type: Permanent
Location: REMOTE (HOME BASED IN UK) with fortnight/monthly travel to ..... More

Print this item

  Error when creating child process on Windows 10
Posted by: Charles - May-30-2018, 01:24 PM - Forum: General Coding Help - No Replies

Hi,

I've come across an example code below and using PyCharm.

[python]
import multiprocessing

def myProcess():
print("{} Just performed X..... More

Print this item

  Statsmodels
Posted by: garikhgh0 - May-30-2018, 01:21 PM - Forum: General Coding Help - No Replies

hi, I have q question on how to define p,q and q values for Arima Models.

[python]
fig = plt.figure(figsize=(16,6))
model = ARIMA(ts_log, order=(17, ..... More


Attached Files

Thumbnail(s)
           
Print this item

  regular expression for a transformation
Posted by: bluefrog - May-30-2018, 11:29 AM - Forum: General Coding Help - Replies (1)

Hi

I cannot work out why the following works:

[python]import re
text = "Follow up on the new sales *order*. Do not consider the cancelled *orde..... More

Print this item

  type command does not work appropriately
Posted by: atharva - May-30-2018, 11:10 AM - Forum: General Coding Help - Replies (2)

when I assign a variable as given below type command works
for example :-

a = 2
type(a)
but when I assign a variable as given ..... More

Print this item

  Input error
Posted by: vijays3 - May-30-2018, 08:18 AM - Forum: General Coding Help - Replies (1)

Hi

I am taking input from user and when I run this code I get the error. Please help what I am doing wrong here.

[python]
print('Please enter ..... More

Print this item

  a script i might need to write
Posted by: Skaperen - May-30-2018, 05:54 AM - Forum: Bar - Replies (3)

a script i might need to write is to run another command is to capture both the stdout and stderr streams from that command, separately, with the orde..... More

Print this item

  [SOLVED] Create per button popup menu py2.7
Posted by: AceScottie - May-30-2018, 12:41 AM - Forum: GUI - Replies (5)

Simplified code:
[python]
from Tkinter import *
root = Tk()
def hello():
print("this is a hello:")
def test():
print("this is a test:")
def ..... More

Print this item

  need help using a returned value to import module
Posted by: Brave774 - May-29-2018, 10:47 PM - Forum: GUI - Replies (16)

Im a bit stuck!

Im new to python coding, this is my second project and Ive hit a wall.

Im trying to make a drinks dispenser for a big party

..... More

Print this item

  Any Google Voice users looking for a coding project?
Posted by: pydiot - May-29-2018, 10:22 PM - Forum: General Coding Help - Replies (3)

This is my first post on this board so I don't imagine I will be allowed to post links, sorry about that. But if anyone uses Google Voice and/or unde..... More

Print this item

  Pelco D protocol
Posted by: D_frucht - May-29-2018, 08:40 PM - Forum: General Coding Help - Replies (4)

Hello

i have a project that includes pelco d ptz camera tracking.

i have the pelco d protocol, for example:

FF 01 00 04 3F 00 44 - will pan ..... More

Print this item

  [PyGame] Block Game
Posted by: Zman350x - May-29-2018, 08:26 PM - Forum: Code sharing - Replies (3)

A simple game that lets you draw with blocks. Made in a few hours to test/first use pickle (actually cPickle). I know the code is messy, don't worry a..... More

Print this item

  How to correct, save, run with ptpython
Posted by: sylas - May-29-2018, 04:28 PM - Forum: General Coding Help - Replies (17)

Hi all. I am Administrator. With Notepad: I go to correct the error, then I click on "save" icon, then I go to Command Prompt and run with "python Fil..... More

Print this item

  Dictionary is empty
Posted by: ki4jgt - May-29-2018, 03:31 PM - Forum: General Coding Help - Replies (1)

I'm writing my own CRUD (more like URD) database -- for fun and possible production environment as I've needed a database which fits the requirements ..... More

Print this item

  using subpocess for both reading and writing simultaneously
Posted by: dauriac - May-29-2018, 02:13 PM - Forum: General Coding Help - Replies (11)

Hello
I have a very simple python code cpt.py:
[python]
for i in xrange(2):
print i # line 2
ans = raw_input() # line..... More

Print this item

  Improve this code (Receipt alike)
Posted by: Leonzxd - May-29-2018, 01:55 PM - Forum: Homework - Replies (10)

This is another question I got.

It given a lists of items and price tags of them.
It wanted to print out a receipt.
However, I couldn't one shot prin..... More

Print this item

  tale interactive fiction - looking for tutorial
Posted by: aryell8linx - May-29-2018, 11:21 AM - Forum: General Coding Help - Replies (1)

Hello Smile
I have installed tale - python3 in Linux, and I searched Youtube and google for a tutorial but am looking for help in finding a ste..... More

Print this item

  Pushing mysql db data from one schema to another schema?
Posted by: PrateekG - May-29-2018, 10:49 AM - Forum: Data Science - Replies (2)

Hi Experts!

I have created a python script for extracting,transforming the product related data from different merchants and after this I am loadin..... More

Print this item

  How to run different processes in a pool of 5
Posted by: lravikumarvsp - May-29-2018, 09:43 AM - Forum: General Coding Help - No Replies

Hi,

I had a python script which executes different processes in parallel.
How can I modify this script so that it can run the parallel processes i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  DUBAI ꧅)(+971527895845(#@... Less than 1 minute ago wesley300 wesley300 Board
  Qatar 🗾+27636605847🏞 Buy ... Less than 1 minute ago wesley300 wesley300 Board
  +971527895845♞) Abortion ... Less than 1 minute ago wesley300 wesley300 Board
  Lyrica in Qatar ✓✓ +27636... 1 minute ago wesley300 wesley300 Board
  ← #IN DUBAI & DEIRA♛(+971... 1 minute ago wesley300 wesley300 Board
  Dubai¯ +27636605847 ¯ cry... 1 minute ago wesley300 wesley300 Board
  +971527895845✨abortion in... 2 minutes ago wesley300 wesley300 Board
  DUBAI¢[?+27636605847?]¢XA... 2 minutes ago wesley300 wesley300 Board
  Dubai(( +971527895845 )) ... 2 minutes ago wesley300 wesley300 Board
  #SAUDI ARABIA”(( +2763660... 3 minutes ago wesley300 wesley300 Board
  Dubai¯ +971527895845 ¯ cy... 3 minutes ago wesley300 wesley300 Board
Most views
  The best Prog... 579514
  Tutorial Requ... 513005
  Web Scraping ... 442379
  Newbie with P... 386405
  New Users Int... 381794
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 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
wesley300 Today
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today

User Panel Messages

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